[FFmpeg-trac] #7083(avcodec:new): Decoder playing out frames at double speed

FFmpeg trac at avcodec.org
Wed Mar 14 22:02:32 EET 2018

#7083: Decoder playing out frames at double speed
             Reporter:  baudouin0   |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  avcodec
              Version:  git-master  |               Resolution:
             Keywords:  h264        |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |

Comment (by cehoyos):

 Replying to [comment:5 baudouin0]:
 > What I am saying is if you rebuild the ffmpeg code with the line
 > printf("h264_slice_header_init() build=%d time_scale=%d
 ticks_per_frame=%d num_units_in_tick=%d\n", h->x264_build,
 sps->time_scale, h->avctx->ticks_per_frame, sps->num_units_in_tick);
 > and run it on the bitstream I sent.
 > You will see that the variable x264_build becomes zero.

 Yes, I saw this and I wrote above that I read this analysis that you sent.

 > This is a bug as it affects the way your decoder operates including the
 way in which the ticks and time scale are interpreted.

 My question is: How does it affect the way the decoder operates? How can I
 see a difference (be it in playback speed or something else) if I fix the
 issue with the poc you posted?

Ticket URL: <https://trac.ffmpeg.org/ticket/7083#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list