[FFmpeg-trac] #2010(undetermined:open): ffplay can't seek in file that vlc and mplayer -demuxer mov can seek
FFmpeg
trac at avcodec.org
Sat Feb 2 11:57:56 CET 2013
#2010: ffplay can't seek in file that vlc and mplayer -demuxer mov can seek
-------------------------------------+-------------------------------------
Reporter: gjdfgh | Owner:
Type: defect | Status: open
Priority: normal | Component:
Version: git-master | undetermined
Keywords: seek mov | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 1
-------------------------------------+-------------------------------------
Changes (by cehoyos):
* status: reopened => open
* reproduced: 0 => 1
Comment:
The following command lines produce output files that are horribly out-of-
sync (video starts correctly at ~0:60, audio starts from 0:00)
{{{
$ ffmpeg -ss 60 -i quicktime.mov -map 0:1 -map 0:2 -qscale 2 -t 30 out.avi
ffmpeg version N-49527-g985e93a Copyright (c) 2000-2013 the FFmpeg
developers
built on Feb 2 2013 00:17:41 with gcc 4.7 (SUSE Linux)
configuration: --enable-gpl --disable-indev=jack
libavutil 52. 17.100 / 52. 17.100
libavcodec 54. 91.100 / 54. 91.100
libavformat 54. 61.104 / 54. 61.104
libavdevice 54. 3.103 / 54. 3.103
libavfilter 3. 35.100 / 3. 35.100
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'quicktime.mov':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2012-10-23 08:59:57
Duration: 01:07:41.43, start: 0.039000, bitrate: 599 kb/s
Stream #0:0(eng): Video: png (png / 0x20676E70), rgb24, 1020x553 [SAR
72:72 DAR 1020:553], 4149 kb/s, 15 fps, 15 tbr, 600 tbn, 600 tbc
Metadata:
creation_time : 2012-10-23 08:59:57
handler_name : Apple Alias Data Handler
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo,
fltp, 125 kb/s
Metadata:
creation_time : 2012-10-23 08:59:57
handler_name : Apple Alias Data Handler
Stream #0:2(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p,
318x240, 381 kb/s, 25 fps, 25 tbr, 1k tbn, 2k tbc
Metadata:
creation_time : 2012-10-23 08:59:57
handler_name : Apple Alias Data Handler
Stream #0:3(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p,
1024x768, 86 kb/s, 12 fps, 12 tbr, 600 tbn, 1200 tbc
Metadata:
creation_time : 2012-10-23 08:59:57
handler_name : Apple Alias Data Handler
Please use -q:a or -q:v, -qscale is ambiguous
Output #0, avi, to 'out.avi':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
ISFT : Lavf54.61.104
Stream #0:0(eng): Audio: ac3 ([0] [0][0] / 0x2000), 44100 Hz, stereo,
fltp, 192 kb/s
Metadata:
creation_time : 2012-10-23 08:59:57
handler_name : Apple Alias Data Handler
Stream #0:1(eng): Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 318x240,
q=2-31, 200 kb/s, 25 tbn, 25 tbc
Metadata:
creation_time : 2012-10-23 08:59:57
handler_name : Apple Alias Data Handler
Stream mapping:
Stream #0:1 -> #0:0 (aac -> ac3)
Stream #0:2 -> #0:1 (h264 -> mpeg4)
Press [q] to stop, [?] for help
frame= 750 fps=0.0 q=2.0 Lsize= 4443kB time=00:00:30.02
bitrate=1212.2kbits/s dup=0 drop=1496
video:2245kB audio:2109kB subtitle:0 global headers:0kB muxing overhead
2.025536%
}}}
{{{
$ ffmpeg -ss 60 -i quicktime.mov -map 0:1 -map 0:3 -qscale 2 -t 30 out.avi
ffmpeg version N-49527-g985e93a Copyright (c) 2000-2013 the FFmpeg
developers
built on Feb 2 2013 00:17:41 with gcc 4.7 (SUSE Linux)
configuration: --enable-gpl --disable-indev=jack
libavutil 52. 17.100 / 52. 17.100
libavcodec 54. 91.100 / 54. 91.100
libavformat 54. 61.104 / 54. 61.104
libavdevice 54. 3.103 / 54. 3.103
libavfilter 3. 35.100 / 3. 35.100
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'quicktime.mov':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2012-10-23 08:59:57
Duration: 01:07:41.43, start: 0.039000, bitrate: 599 kb/s
Stream #0:0(eng): Video: png (png / 0x20676E70), rgb24, 1020x553 [SAR
72:72 DAR 1020:553], 4149 kb/s, 15 fps, 15 tbr, 600 tbn, 600 tbc
Metadata:
creation_time : 2012-10-23 08:59:57
handler_name : Apple Alias Data Handler
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo,
fltp, 125 kb/s
Metadata:
creation_time : 2012-10-23 08:59:57
handler_name : Apple Alias Data Handler
Stream #0:2(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p,
318x240, 381 kb/s, 25 fps, 25 tbr, 1k tbn, 2k tbc
Metadata:
creation_time : 2012-10-23 08:59:57
handler_name : Apple Alias Data Handler
Stream #0:3(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p,
1024x768, 86 kb/s, 12 fps, 12 tbr, 600 tbn, 1200 tbc
Metadata:
creation_time : 2012-10-23 08:59:57
handler_name : Apple Alias Data Handler
Please use -q:a or -q:v, -qscale is ambiguous
Output #0, avi, to 'out.avi':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
ISFT : Lavf54.61.104
Stream #0:0(eng): Audio: ac3 ([0] [0][0] / 0x2000), 44100 Hz, stereo,
fltp, 192 kb/s
Metadata:
creation_time : 2012-10-23 08:59:57
handler_name : Apple Alias Data Handler
Stream #0:1(eng): Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 1024x768,
q=2-31, 200 kb/s, 12 tbn, 12 tbc
Metadata:
creation_time : 2012-10-23 08:59:57
handler_name : Apple Alias Data Handler
Stream mapping:
Stream #0:1 -> #0:0 (aac -> ac3)
Stream #0:3 -> #0:1 (h264 -> mpeg4)
Press [q] to stop, [?] for help
frame= 360 fps=0.0 q=2.0 Lsize= 3093kB time=00:00:30.02 bitrate=
844.0kbits/s dup=0 drop=719
video:905kB audio:2109kB subtitle:0 global headers:0kB muxing overhead
2.618949%
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2010#comment:8>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list