Opened 10 years ago
Closed 10 years ago
#4274 closed defect (fixed)
regression since avcodec/h264: also show frames with missing fields when CODEC_FLAG2_SHOW_ALL is set
Reported by: | Andy Furniss | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | avcodec |
Version: | git-master | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | yes | |
Analyzed by developer: | no |
Description
Summary of the bug:
Affected - interlaced UK HD 264 transport frames
bisecting ffmpeg came up with -
fe439c20698fc4992b9373cb068efb438fe1a098 is the first bad commit
commit fe439c20698fc4992b9373cb068efb438fe1a098
Author: Michael Niedermayer <michaelni@gmx.at>
Date: Mon Dec 22 21:17:49 2014 +0100
avcodec/h264: also show frames with missing fields when CODEC_FLAG2_SHOW_ALL is set
This allows viewing more of ticket2254
First noticed with mplayer - varies with different streams and usage (number of decode threads, demuxer, deinterlacer, symptoms = wrong framerate and sometimes out of order frames.
Will attach sample.ts which shows some out of order frames and variable frame count depending on decode threads.
How to reproduce:
ffplay -fs -threads 1 -flags2 showall sample.ts
With ffmpeg I can get a different frame count just by limiting threads as below.
there is a lot of output - so snipped.
ffmpeg -threads 1 -flags2 showall -i sample.ts -f null -
snip lots of
[null @ 0x1c80520] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 552 >= 552
frame= 748 fps= 56 q=0.0 Lsize=N/A time=00:00:25.08 bitrate=N/A
ffmpeg -flags2 showall -i sample.ts -f null -
snip same non mon errors
frame= 1068 fps=168 q=0.0 Lsize=N/A time=00:00:25.08 bitrate=N/A
Change History (2)
comment:1 by , 10 years ago
comment:2 by , 10 years ago
Reproduced by developer: | set |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Sample too big to attach -
https://docs.google.com/file/d/0BxP5-S1t9VEEY3RqUmg3NHk3aEE/edit?usp=drive_web