Discussion:
[issue2590] stream copy xvid avi to mp4 causes stuttering playback on quicktime
(too old to reply)
mt
2011-02-08 08:57:56 UTC
Permalink
New submission from mt <***@nef.wh.uni-dortmund.de>:

Stream copy of xvid avis to mp4 causes stuttering playback on Quicktime.
Plays ok with VLC, but that doesn't really help in the Apple Universe.

ffmpeg -i input.avi -vcodec copy -acodec copy output.mp4

FFmpeg version git-a1c1d3c, Copyright (c) 2000-2011 the FFmpeg
developers
built on Feb 8 2011 08:51:57 with gcc 4.2.1 (Apple Inc. build 5664)
configuration:
libavutil 50. 37. 0 / 50. 37. 0
libavcore 0. 16. 1 / 0. 16. 1
libavcodec 52.110. 0 / 52.110. 0
libavformat 52. 97. 0 / 52. 97. 0
libavdevice 52. 2. 3 / 52. 2. 3
libavfilter 1. 74. 0 / 1. 74. 0
libswscale 0. 12. 0 / 0. 12. 0

Seems stream 0 codec frame rate differs from container frame rate: 23.98
(65535/2733) -> 23.98 (2997003/125000)
Input #0, avi, from 'input.avi':
Metadata:
encoder : transcode-1.0.6
Duration: 00:21:11.81, start: 0.000000, bitrate: 1150 kb/s
Stream #0.0: Video: mpeg4, yuv420p, 624x352 [PAR 1:1 DAR 39:22],
23.98 tbr, 23.98 tbn, 23.98 tbc
Stream #0.1: Audio: mp3, 48000 Hz, stereo, s16, 128 kb/s
Output #0, mp4, to 'output.mp4':
Metadata:
encoder : Lavf52.97.0
Stream #0.0: Video: mpeg4, yuv420p, 624x352 [PAR 1:1 DAR 39:22],
q=2-31, 2997003.00 tbn, 23.98 tbc
Stream #0.1: Audio: i[0][0][0] / 0x0069, 48000 Hz, stereo, 128 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop encoding
[mp4 @ 0x101b000] pts has no value
Last message repeated 11395 times6132kB time=1161.86
bitrate=1171.4kbits/s
frame=30493 fps=3623 q=-1.0 Lsize= 177255kB time=1271.81
bitrate=1141.7kbits/s
video:150771kB audio:25844kB global headers:0kB muxing overhead
0.362147%

----------
messages: 13635
priority: normal
status: new
substatus: new
title: stream copy xvid avi to mp4 causes stuttering playback on quicktime
type: bug

________________________________________________
FFmpeg issue tracker <***@roundup.ffmpeg.org>
<https://roundup.ffmpeg.org/issue2590>
________________________________________________
William Bajzek
2011-03-31 17:05:25 UTC
Permalink
William Bajzek <***@gmail.com> added the comment:

I'm seeing the same problem on my 2006 MacBook Pro w/ OSX 10.6.6 so I'm adding
myself to the nosy list. (I hope, I've never used this bug tracker before).
Additionally, I'll mention that this seems to be a problem with short clips (<60
seconds, approximately) and less so with longer ones. I'm not 100% sure of that.

FWIW my video is a 1080p .avi created with an Ativa Mini HD D33F camera.

$ ffmpeg -y -i IMAG0001.AVI -vcodec copy -acodec copy IMAG0001.mov
FFmpeg version SVN-r26402, Copyright (c) 2000-2011 the FFmpeg developers
built on Mar 30 2011 23:55:04 with gcc 4.2.1 (Apple Inc. build 5666) (dot 3)
configuration: --enable-libmp3lame --enable-shared --disable-mmx --arch=x86_64
libavutil 50.36. 0 / 50.36. 0
libavcore 0.16. 1 / 0.16. 1
libavcodec 52.108. 0 / 52.108. 0
libavformat 52.93. 0 / 52.93. 0
libavdevice 52. 2. 3 / 52. 2. 3
libavfilter 1.74. 0 / 1.74. 0
libswscale 0.12. 0 / 0.12. 0
[avi @ 0x10100b000] max_analyze_duration reached
Input #0, avi, from 'IMAG0001.AVI':
Metadata:
date : 2011-03-31
ICRT : 09:43:58
comment :
Duration: 00:00:05.55, start: 0.000000, bitrate: 5904 kb/s
Stream #0.0: Video: h264, yuv420p, 848x480 [PAR 1:1 DAR 53:30], PAR 160:159
DAR 16:9, 59.94 fps, 59.94 tbr, 59.94 tbn, 119.88 tbc
Stream #0.1: Audio: adpcm_ima_wav, 48000 Hz, 2 channels, s16, 384 kb/s
[mov @ 0x10101cc00] Warning, using MS style audio codec tag, the file may be
unplayable!
Output #0, mov, to 'IMAG0001.mov':
Metadata:
date : 2011-03-31
ICRT : 09:43:58
comment :
encoder : Lavf52.93.0
Stream #0.0: Video: avc1 / 0x31637661, yuv420p, 848x480 [PAR 160:159 DAR
16:9], q=2-31, 60k tbn, 59.94 tbc
Stream #0.1: Audio: adpcm_ima_wav, 48000 Hz, 2 channels, 384 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop encoding
[mov @ 0x10101cc00] pts has no value
Last message repeated 326 times
pts has no value
[mov @ 0x10101cc00] pts has no value
frame= 333 fps= 0 q=-1.0 Lsize= 3973kB time=5.49 bitrate=5932.9kbits/s
video:3710kB audio:258kB global headers:0kB muxing overhead 0.108451%
Last message repeated 4 times

----------
nosy: +wbajzek

______________________________________________
Libav issue tracker <***@roundup.libav.org>
<https://roundup.libav.org/issue2590>
______________________________________________

Loading...