Opened 12 years ago
Closed 12 years ago
#1521 closed defect (fixed)
Seek does not work on a asf file.
Reported by: | Dongwon Kang | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | avformat |
Version: | git-master | Keywords: | asf seek |
Cc: | myungchul.kim@lge.com | Blocked By: | |
Blocking: | Reproduced by developer: | yes | |
Analyzed by developer: | no |
Description
Summary of the bug:
Seek does not work on a asf file.
Every seek request makes the playback start from 0.
How to reproduce:
% ffplay seek_does_not_work.asf and try to seek. playback will start from 0. Tested with ffmpeg master and 0.10.2
Change History (5)
follow-up: 3 comment:1 by , 12 years ago
comment:2 by , 12 years ago
Keywords: | asf,seek → asf seek |
---|---|
Reproduced by developer: | set |
Status: | new → open |
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
comment:3 by , 12 years ago
Replying to dongwon:
sample file size is ~23mB. To download it, please visit:
https://docs.google.com/file/d/0B7U8GzVYuHkBaFRENFN6aWhrUlE/edit
I tried but google asks me to login and provide a password to download this. Please upload this video to a unrestricted place, there are some examples in our bugreporting docs.
comment:5 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | open → closed |
sample file size is ~23mB. To download it, please visit:
https://docs.google.com/file/d/0B7U8GzVYuHkBaFRENFN6aWhrUlE/edit