[FFmpeg-trac] #502(undetermined:reopened): Jumping frames when copying video of an h264 file

FFmpeg trac at avcodec.org
Fri Oct 19 18:46:22 CEST 2012

#502: Jumping frames when copying video of an h264 file
             Reporter:  Alex__       |                    Owner:
                 Type:  defect       |                   Status:  reopened
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0

Comment (by RyanS):

 I am seeing this when using ffmpeg to mux to mp4 with: ffmpeg -i x.264
 -vcodec copy x.mp4
 I am using the windows (zeranoe) build of ffmpeg:
     ffmpeg version N-45279-g1a104bf Copyright (c) 2000-2012 the FFmpeg
        built on Oct 10 2012 19:21:13 with gcc 4.7.2 (GCC)
 After this ffmpeg mux, Quicktime plays the frames back out of order. It is
 presenting frames in decode order rather than presentation order. It does
 this for two different h.264 encoders I am working with, so does not
 appear to be an h.264 encoder issue. This only happens around B frames,
 since those cause the difference between decode and presentation order.

 It does seem like pts's are wrong. Perhaps pts is simply ascending despite
 frames being in decode order.

Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/502#comment:9>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list