Opened 6 years ago

Closed 6 years ago

#7475 closed defect (fixed)

h264: Wrong framerate when frame threading enabled

Reported by: Kieran Kunhya Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords: h264
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

When developing on FFmpeg git master, the framerate in AVCodecContext is wrong. Apply the following patch:

https://pastebin.com/2aiUgckb

Sample:
obe.tv/Downloads/crew_cif_timecode-2.h264

Command:
./ffmpeg -i crew_cif_timecode-2.h264 -f null -

With threads=1:
"framerate num 30 den 1" output

With threads > 1:
"framerate num 60 den 1" output

Attachments (1)

crew_cif_timecode-2.h264 (1005.0 KB ) - added by Carl Eugen Hoyos 6 years ago.

Download all attachments as: .zip

Change History (2)

comment:1 by Carl Eugen Hoyos, 6 years ago

Component: undeterminedavcodec
Keywords: h264 added
Resolution: fixed
Status: newclosed
Version: unspecifiedgit-master

by Carl Eugen Hoyos, 6 years ago

Attachment: crew_cif_timecode-2.h264 added
Note: See TracTickets for help on using tickets.