[FFmpeg-trac] #1616(undetermined:new): bad seek in WMV2 file
FFmpeg
trac at avcodec.org
Tue Aug 7 10:46:54 CEST 2012
#1616: bad seek in WMV2 file
-------------------------------------+-------------------------------------
Reporter: DonMoir | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Sample file:
http://sms.pangolin.com/temp/bad_seek_wmv2.wmv (3 mb)
If you do ffplay -ss 7 bad_seek_wmv2.wmv it works correctly.
But ffplay -ss 8 bad_seek_wmv2.wmv will fail with gray frame.
For my app, I see corruption and not gray.
VLC has a bit of a problem with it but not as bad.
WMP gets it perfect.
With the following you will get a gray frame and a warning about first
frame is not keyframe. The first frame is a keyframe but maybe not the one
it seeked to.
ffplay -ss 8 CreaToon3.wmv
ffplay version N-43206-gf857465 Copyright (c) 2003-2012 the FFmpeg
developers
built on Aug 4 2012 16:12:33 with gcc 4.7.1 (GCC)
configuration: --disable-static --enable-shared --enable-gpl --enable-
version3
--disable-w32threads --enable-runtime-cpudetect --enable-avisynth
--enable-bzlib
--enable-frei0r --enable-libass --enable-libcelt --enable-libopencore-
amrnb
--enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-
libmp3lame
--enable-libnut --enable-libopenjpeg --enable-librtmp --enable-
libschroedinger
--enable-libspeex --enable-libtheora --enable-libutvideo --enable-libvo-
aacenc
--enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-
libx264
--enable-libxavs --enable-libxvid --enable-zlib
libavutil 51. 66.100 / 51. 66.100
libavcodec 54. 49.100 / 54. 49.100
libavformat 54. 22.100 / 54. 22.100
libavdevice 54. 2.100 / 54. 2.100
libavfilter 3. 5.102 / 3. 5.102
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, asf, from 'CreaToon3.wmv':
Metadata:
title : CreaToon 3
artist : ANIMANTE BALEARES S.L.
copyright : ANIMANTE BALEARES S.L. 2004
WMFSDKVersion : 9.00.00.2980
WMFSDKNeeded : 0.0.0.0000
IsVBR : 0
Duration: 00:00:42.23, start: 0.000000, bitrate: 664 kb/s
Stream #0:0(spa): Audio: wmav2 (a[1][0][0] / 0x0161), 44100 Hz, 1
channels,
s16, 20 kb/s
Stream #0:1(spa): Video: wmv2 (WMV2 / 0x32564D57), yuv420p, 640x480,
671 kb/
s, 25 tbr, 1k tbn, 1k tbc
[asf @ 012a04a0] ignoring invalid packet_obj_size (15 116 116 310)
[asf @ 012a04a0] freeing incomplete packet size 310, new 1580
1344327525.2[wmv2 @ 012a7060] 2 warning: '''first frame is no keyframe'''
Frame changed from size:0x0 to size:640x480q= 0B f=0/0
29.51 A-V: 0.186 fd= 163 aq= 5KB vq= 83KB sq= 0B f=0/0
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1616>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list