Opened 2 months ago

Closed 2 months ago

#7475 closed defect (fixed)

h264: Wrong framerate when frame threading enabled

Reported by: kierank 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 cehoyos 2 months ago.

Download all attachments as: .zip

Change History (2)

comment:1 Changed 2 months ago by cehoyos

  • Component changed from undetermined to avcodec
  • Keywords h264 added
  • Resolution set to fixed
  • Status changed from new to closed
  • Version changed from unspecified to git-master

Changed 2 months ago by cehoyos

Note: See TracTickets for help on using tickets.