Opened 12 years ago
Closed 11 years ago
#1708 closed defect (fixed)
mss2: error while decoding stream
Reported by: | ami_stuff | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | avformat |
Version: | git-master | Keywords: | asf |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | yes | |
Analyzed by developer: | no |
Description
play ok in wmp
http://samples.mplayerhq.hu/V-codecs/MSS2/mss2_speech.wmv
C:\>ffmpeg -i mss2_speech.wmv -vcodec msmpeg4v2 -an out.avi ffmpeg version N-44080-gdfb4757 Copyright (c) 2000-2012 the FFmpeg developers built on Sep 1 2012 02:36:59 with gcc 4.5.0 (GCC) 20100414 (Fedora MinGW 4.5. 0-1.fc14) configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch= x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-cpudetect --enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 - lwinmm -lpthread' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snap shots/build/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/s napshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3 --enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora --enable- libvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable- libopencore-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx libavutil 51. 70.100 / 51. 70.100 libavcodec 54. 55.100 / 54. 55.100 libavformat 54. 25.104 / 54. 25.104 libavdevice 54. 2.100 / 54. 2.100 libavfilter 3. 15.101 / 3. 15.101 libswscale 2. 1.101 / 2. 1.101 libswresample 0. 15.100 / 0. 15.100 libpostproc 52. 0.100 / 52. 0.100 Guessed Channel Layout for Input Stream #0.0 : mono Input #0, asf, from 'mss2_speech.wmv': Metadata: WMFSDKVersion : 9.00.00.2926 WMFSDKNeeded : 0.0.0.0000 IsVBR : 0 title : ScreenCap Demo #3 artist : Joe Powell copyright : Microsoft Corporation 2002 comment : Demo of the Windows Media Screen 9 Series codec. Duration: 00:01:00.64, start: 0.000000, bitrate: 66 kb/s Stream #0:0(eng): Audio: wmavoice ([10][0][0][0] / 0x000A), 22050 Hz, mono, flt, 20 kb/s Stream #0:1(eng): Video: mss2 (MSS2 / 0x3253534D), rgb24, 800x600, 90 kb/s, 42.17 tbr, 1k tbn, 1k tbc Output #0, avi, to 'out.avi': Metadata: WMFSDKVersion : 9.00.00.2926 WMFSDKNeeded : 0.0.0.0000 IsVBR : 0 INAM : ScreenCap Demo #3 IART : Joe Powell ICOP : Microsoft Corporation 2002 ICMT : Demo of the Windows Media Screen 9 Series codec. ISFT : Lavf54.25.104 Stream #0:0(eng): Video: msmpeg4v2 (MP42 / 0x3234504D), yuv420p, 800x600, q= 2-31, 200 kb/s, 42.17 tbn, 42.17 tbc Stream mapping: Stream #0:1 -> #0:0 (mss2 -> msmpeg4v2) Press [q] to stop, [?] for help Error while decoding stream #0:1: Invalid data found when processing input Last message repeated 18 times frame= 10 fps=0.0 q=12.1 size= 399kB time=00:00:15.79 bitrate= 206.9kbits/ Error while decoding stream #0:1: Invalid data found when processing input Last message repeated 16 times frame= 23 fps= 23 q=27.5 size= 540kB time=00:00:22.76 bitrate= 194.3kbits/ Error while decoding stream #0:1: Invalid data found when processing input Last message repeated 21 times frame= 31 fps= 20 q=31.0 size= 700kB time=00:00:33.05 bitrate= 173.4kbits/ buffer not fully consumed Error while decoding stream #0:1: Invalid data found when processing input Last message repeated 22 times frame= 39 fps= 19 q=31.0 size= 850kB time=00:00:44.67 bitrate= 155.9kbits/ Error while decoding stream #0:1: Invalid data found when processing input Last message repeated 9 times frame= 53 fps= 21 q=26.7 size= 908kB time=00:00:53.31 bitrate= 139.5kbits/ Error while decoding stream #0:1: Invalid data found when processing input Last message repeated 18 times frame= 53 fps= 20 q=26.7 Lsize= 943kB time=00:00:53.31 bitrate= 144.9kbits /s video:885kB audio:0kB subtitle:0 global headers:0kB muxing overhead 6.600691%
Change History (7)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Component: | undetermined → avformat |
---|---|
Keywords: | asf added |
Reproduced by developer: | set |
Status: | new → open |
Version: | unspecified → git-master |
Reproducible with mplayer -nosound -demuxer lavf, not reproducible with mplayer -nosound -demuxer asf
comment:3 by , 12 years ago
And mplayer in that case use ffmpeg codec and not binary one?
In my experiments both mplayer and ffmpeg demuxer looks equally broken, it just that binary codec is smart enough to handle it.
So it would be best if there are more samples that prove that bug is really in asf end not in something else.
comment:4 by , 12 years ago
The following command line shows no visual deficiencies afaict:
$ mplayer -nosound -demuxer asf -vc ffmss2 mss2_speech.wmv
The following command line shows broken output, compare especially seconds 9-11 on the OSD:
$ mplayer -nosound -demuxer lavf -vc ffmss2 mss2_speech.wmv
comment:5 by , 12 years ago
I forgot to add that the broken output matches the output of ffplay and that the decoder returns error values for mplayer -demuxer lavf (but not for mplayer -demuxer asf).
comment:6 by , 12 years ago
This patch improves demuxing of "GipsyGuitar.wmv":
http://article.gmane.org/gmane.comp.video.libav.devel/33525
probably related to ticket #1477