[FFmpeg-trac] #1521(avformat:open): Seek does not work on a asf file.
FFmpeg
trac at avcodec.org
Tue Jul 10 09:45:52 CEST 2012
#1521: Seek does not work on a asf file.
------------------------------------+------------------------------------
Reporter: dongwon | Owner:
Type: defect | Status: open
Priority: normal | Component: avformat
Version: git-master | Resolution:
Keywords: asf seek | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 0 |
------------------------------------+------------------------------------
Changes (by cehoyos):
* keywords: asf,seek => asf seek
* status: new => open
* reproduced: 0 => 1
Comment:
For future bug reports: Please always add a command line together with
complete, uncut console output
Seeking works, but not as expected:
With ffplay and mplayer -demuxer lavf, the only reachable times are (0:00
and) 0:15 and 3:22 (except if the first forward seek is later than 16
seconds into the stream).
mplayer -demuxer asf seeks fine, there are enough I-frames in the stream.
{{{
$ ffplay seek_does_not_work.asf
ffplay version N-42404-gb4d0c3d Copyright (c) 2003-2012 the FFmpeg
developers
built on Jul 10 2012 09:31:25 with gcc 4.3.2
configuration: --cc=/usr/local/gcc-4.3.2/bin/gcc --enable-gpl --enable-
libopenjpeg --enable-libvorbis --enable-libspeex --enable-libmp3lame
--enable-libtheora --extra-ldflags=-lm --enable-libvpx --enable-libxavs
libavutil 51. 64.100 / 51. 64.100
libavcodec 54. 33.100 / 54. 33.100
libavformat 54. 15.104 / 54. 15.104
libavdevice 54. 1.100 / 54. 1.100
libavfilter 3. 2.100 / 3. 2.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
[wmv3 @ 0x90725c0] Extra data: 8 bits left, value: 0
Input #0, asf, from 'seek_does_not_work.asf':
Metadata:
WMFSDKVersion : 11.0.5721.5251
WMFSDKNeeded : 0.0.0.0000
IsVBR : 0
Duration: 00:03:27.16, start: 0.000000, bitrate: 935 kb/s
Stream #0:0: Audio: wmav2 (a[1][0][0] / 0x0161), 44100 Hz, 2 channels,
s16, 128 kb/s
Stream #0:1: Video: wmv3 (Main) (WMV3 / 0x33564D57), yuv420p, 512x384,
800 kb/s, SAR 1:1 DAR 4:3, 29.97 tbr, 1k tbn, 1k tbc
[wmv3 @ 0x90725c0] Extra data: 8 bits left, value: 0
Frame changed from size:0x0 to size:512x384B vq= 183KB sq= 0B f=0/0
[ffplay_buffer @ 0x90c8c60] w:512 h:384 pixfmt:yuv420p tb:1/1000 fr:0/1
sar:0/1 sws_param:
[asf @ 0x906afe0] asf_read_pts failedB vq= 284KB sq= 0B f=0/0 f=0/0
Last message repeated 3 times
[asf @ 0x906afe0] freeing incomplete packet size 1479, new 6289
[asf @ 0x906afe0] asf_read_pts failed
[asf @ 0x906afe0] ignoring invalid packet_obj_size (821 2734 2734 5031)
[asf @ 0x906afe0] freeing incomplete packet size 5031, new 4747
[asf @ 0x906afe0] asf_read_pts failed
[asf @ 0x906afe0] ignoring invalid packet_obj_size (2608 850 850 3897)
[asf @ 0x906afe0] freeing incomplete packet size 3897, new 7871
[asf @ 0x906afe0] asf_read_pts failed
[asf @ 0x906afe0] freeing incomplete packet size 2951, new 3758
[asf @ 0x906afe0] asf_read_pts failed
[asf @ 0x906afe0] ignoring invalid packet_obj_size (13124 2191 2191 18427)
[asf @ 0x906afe0] ignoring invalid packet_obj_size (15315 574 3357 18427)
[asf @ 0x906afe0] freeing incomplete packet size 18427, new 3357
[asf @ 0x906afe0] freeing incomplete packet size 3357, new 7060
[asf @ 0x906afe0] asf_read_pts failed
[asf @ 0x906afe0] freeing incomplete packet size 3297, new 3039
[asf @ 0x906afe0] ignoring invalid packet_obj_size (13124 2191 2191 18427)
[asf @ 0x906afe0] ignoring invalid packet_obj_size (15315 574 3357 18427)
[asf @ 0x906afe0] freeing incomplete packet size 18427, new 3357
[asf @ 0x906afe0] freeing incomplete packet size 3357, new 7060
[asf @ 0x906afe0] asf_read_pts failed
[asf @ 0x906afe0] freeing incomplete packet size 5726, new 1927
[asf @ 0x906afe0] freeing incomplete packet size 3429, new 3296
[asf @ 0x906afe0] ignoring invalid packet_obj_size (10657 3031 3031 17027)
[asf @ 0x906afe0] ignoring invalid packet_obj_size (13688 2201 2870 17027)
[asf @ 0x906afe0] ignoring invalid packet_obj_size (15889 669 2870 17027)
[asf @ 0x906afe0] freeing incomplete packet size 17027, new 1111
[asf @ 0x906afe0] freeing incomplete packet size 2843, new 1068
[asf @ 0x906afe0] ignoring invalid packet_obj_size (565 2055 2055 3239)
[asf @ 0x906afe0] freeing incomplete packet size 3239, new 18427
203.75 A-V: -0.018 fd= 1 aq= 35KB vq= 228KB sq= 0B f=0/0
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1521#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list