[FFmpeg-trac] #4274(avcodec:new): regression since avcodec/h264: also show frames with missing fields when CODEC_FLAG2_SHOW_ALL is set

FFmpeg trac at avcodec.org
Mon Jan 19 15:19:41 CET 2015


#4274: regression since avcodec/h264: also show frames with missing fields when
CODEC_FLAG2_SHOW_ALL is set
---------------------------------+--------------------------------------
             Reporter:  AndyF    |                     Type:  defect
               Status:  new      |                 Priority:  normal
            Component:  avcodec  |                  Version:  git-master
             Keywords:           |               Blocked By:
             Blocking:           |  Reproduced by developer:  0
Analyzed by developer:  0        |
---------------------------------+--------------------------------------
 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 at 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

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4274>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list