id	summary	reporter	owner	description	type	status	priority	component	version	resolution	keywords	cc	blockedby	blocking	reproduced	analyzed
502	Jumping frames (wrong presentation order) when copying video (muxing) of an h264 file (to m4v/mp4) in Quicktime	Alex__		"Description: Jumping frames when copying video of an h264 file
Version: latest trunk
URL: see below

Steps that will reproduce the problem?
ffmpeg -i sample.avi -vcodec copy sample-copy.m4v

What is the expected result?
Converted file w/o any issues.

What happens instead?
The frames ""jump"" in the converted file when playing it with QuickTimePlayer X 10.1 (more) or VLC (less). 

Possible workaround:
ffmpeg -i sample.avi sample-copy.m4v

Any additional information:
* Example: see below
* Command:
{{{
$ ffmpeg -y -i sample.avi -vcodec copy sample-copy.m4v
ffmpeg version N-30168-g6d789f5, Copyright (c) 2000-2011 the FFmpeg developers
  built on Sep 23 2011 09:20:16 with clang 2.1 (tags/Apple/clang-163.7.1)
  configuration: --enable-zlib --disable-debug --enable-libfaac --enable-libx264 --enable-gpl --enable-nonfree --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libxvid --cc=clang
  libavutil    51. 17. 0 / 51. 17. 0
  libavcodec   53. 17. 0 / 53. 17. 0
  libavformat  53. 13. 0 / 53. 13. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 43. 3 /  2. 43. 3
  libswscale    2.  1. 0 /  2.  1. 0
  libpostproc  51.  2. 0 / 51.  2. 0
Input #0, avi, from 'sample.avi':
  Metadata:
    encoder         : transcode-1.0.7rc1
  Duration: 02:02:15.00, start: 0.000000, bitrate: 0 kb/s
    Stream #0.0: Video: h264 (Main) (H264 / 0x34363248), yuv420p, 720x576 [SAR 16:15 DAR 4:3], 25 fps, 25 tbr, 25 tbn, 50 tbc
    Stream #0.1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16, 192 kb/s
Output #0, ipod, to 'sample-copy.m4v':
  Metadata:
    encoder         : Lavf53.13.0
    Stream #0.0: Video: h264 (avc1 / 0x31637661), yuv420p, 720x576 [SAR 16:15 DAR 4:3], q=2-31, 25 tbn, 25 tbc
    Stream #0.1: Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 128 kb/s
Stream mapping:
  Stream #0.0 -> #0.0 (copy)
  Stream #0.1 -> #0.1 (mp3 -> libfaac)
Press [q] to stop, [?] for help
[ipod @ 0x7ff8f32d1c00] pts has no value
    Last message repeated 64 times
frame=   65 fps=  0 q=-1.0 Lsize=     479kB time=00:00:02.60 bitrate=1509.5kbits/s    
video:436kB audio:40kB global headers:0kB muxing overhead 0.564932%
}}}"	defect	reopened	normal	undetermined	git-master		mux h.264 mp4 m4v quicktime	ryanseghers@…			0	0
