Opened 14 years ago
Last modified 14 years ago
#1887 open enhancement
wmv3: Old interlaced mode is not supported / Reserved RES_SM=2 is forbidden
| Reported by: | henry | Owned by: | |
|---|---|---|---|
| Priority: | wish | Component: | avcodec |
| Version: | git-master | Keywords: | vc1 wmv3 |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | yes | |
| Analyzed by developer: | no |
Description
Summary of the bug:
check ffmpeg supported codecs , it already support wmv3/wmav2 , but for some files , we can play it but can't decode it.
How to reproduce:
for SVN-r22888:
ffmpeg -i huasi.asf -y huasi.avi
FFmpeg version SVN-r22888, Copyright (c) 2000-2010 the FFmpeg developers
built on Apr 23 2010 15:09:04 with gcc 4.1.2 20070925 (Red Hat 4.1.2-33)
configuration: --prefix=/usr/local/enctools --enable-postproc --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-libmp3lame --disable-shared --enable-libx264 --enable-pthreads --enable-libfaac --enable-libfaad --enable-nonfree --enable-gpl --enable-libgsm --enable-libnut --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libopenjpeg --enable-libxvid --enable-bzlib --enable-libschroedinger --enable-zlib --enable-small --extra-cflags=-I/usr/local/enctools/include --extra-ldflags=-L/usr/local/enctools/lib
libavutil 50.14. 0 / 50.14. 0
libavcodec 52.66. 0 / 52.66. 0
libavformat 52.61. 0 / 52.61. 0
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0.10. 0 / 0.10. 0
libpostproc 51. 2. 0 / 51. 2. 0
[wmv3 @ 0x9136a40]Reserved RES_SM=2 is forbidden
Seems stream 1 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 25.00 (25/1)
Input #0, asf, from 'huasi.asf':
Metadata:
WM/ToolName : TMPGEnc 4.0 XPress Version. 4.2.3.193
WMFSDKVersion : 9.00.00.2980
WMFSDKNeeded : 0.0.0.0000
IsVBR : 0
Duration: 00:00:57.07, start: 3.000000, bitrate: 574 kb/s
Stream #0.0(chi): Audio: wmav2, 48000 Hz, 2 channels, s16, 64 kb/s
Stream #0.1(chi): Video: wmv3, yuv420p, 720x576, 500 kb/s, 25 tbr, 1k tbn, 1k tbc
[wmv3 @ 0x9136a40]Reserved RES_SM=2 is forbidden
Output #0, avi, to 'huasi.avi':
Stream #0.0(chi): Video: mpeg4, yuv420p, 720x576, q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream #0.1(chi): Audio: mp2, 48000 Hz, 2 channels, s16, 64 kb/s
Stream mapping:
Stream #0.1 -> #0.0
Stream #0.0 -> #0.1
Error while opening decoder for input stream #0.1
also failed on latest ffmpeg-1.0:
ffmpeg version 1.0 Copyright (c) 2000-2012 the FFmpeg developers
built on Oct 15 2012 12:12:07 with gcc 4.4.6 (GCC) 20120305 (Red Hat 4.4.6-4)
configuration: --prefix=/usr/local/ffmpeg-1.0-new --enable-postproc --enable-avfilter --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-libmp3lame --disable-shared --enable-libx264 --enable-pthreads --enable-libfaac --enable-nonfree --enable-gpl --enable-libgsm --enable-libnut --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libopenjpeg --enable-libxvid --enable-bzlib --enable-libschroedinger --enable-zlib --enable-small --enable-libcdio --enable-libvo-aacenc --enable-libfdk-aac --enable-libvo-amrwbenc --enable-libvpx --enable-libxavs --extra-cflags=-I/usr/local/enctools/include --extra-ldflags=-L/usr/local/enctools/lib
libavutil 51. 73.101 / 51. 73.101
libavcodec 54. 59.100 / 54. 59.100
libavformat 54. 29.104 / 54. 29.104
libavdevice 54. 2.101 / 54. 2.101
libavfilter 3. 17.100 / 3. 17.100
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
[wmv3 @ 0x1b2f7e0] Old interlaced mode is not supported
Last message repeated 1 times
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, asf, from 'huasi.asf':
Metadata:
WM/ToolName : TMPGEnc 4.0 XPress Version. 4.2.3.193
WMFSDKVersion : 9.00.00.2980
WMFSDKNeeded : 0.0.0.0000
IsVBR : 0
Duration: 00:00:57.07, start: 0.000000, bitrate: 574 kb/s
Stream #0:0(chi): Audio: wmav2 (a[1][0][0] / 0x0161), 48000 Hz, stereo, s16, 64 kb/s
Stream #0:1(chi): Video: wmv3 (WMV3 / 0x33564D57), yuv420p, 720x576, 500 kb/s, 25 tbr, 1k tbn, 1k tbc
[wmv3 @ 0x1b2f7e0] Old interlaced mode is not supported
Output #0, avi, to 'test.avi':
Metadata:
WM/ToolName : TMPGEnc 4.0 XPress Version. 4.2.3.193
WMFSDKVersion : 9.00.00.2980
WMFSDKNeeded : 0.0.0.0000
IsVBR : 0
Stream #0:0(chi): Video: mpeg4, yuv420p, 720x576, q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream #0:1(chi): Audio: mp3, 48000 Hz, stereo, s16
Stream mapping:
Stream #0:1 -> #0:0 (wmv3 -> mpeg4)
Stream #0:0 -> #0:1 (wmav2 -> libmp3lame)
Error while opening decoder for input stream #0:1
Change History (6)
comment:1 by , 14 years ago
comment:2 by , 14 years ago
research on google but no help , also here is a same issue:
http://www.mail-archive.com/ffmpeg-issues@lscube.org/msg04128.html
comment:3 by , 14 years ago
RES_SM=2 is an indicator for the old undocumented YUV411 interlaced mode in WMV3, which is simply not implemented, and its doubtful it ever will be (being undocumented, and being officialy deprecated and replaced by VC-1 interlaced)
comment:4 by , 14 years ago
| Component: | undetermined → avcodec |
|---|---|
| Keywords: | vc1 added; wmv3 ffmpeg forbidden removed |
| Priority: | critical → wish |
| Type: | defect → enhancement |
| Version: | unspecified → git-master |
comment:5 by , 14 years ago
| Keywords: | wmv3 added |
|---|---|
| Reproduced by developer: | set |
| Status: | new → open |
comment:6 by , 14 years ago
| Summary: | wmv3: Reserved RES_SM=2 is forbidden → wmv3: Old interlaced mode is not supported / Reserved RES_SM=2 is forbidden |
|---|
Note:
See TracTickets
for help on using tickets.



sample file can be downloaded from here :
http://edu.cnxianzai.com/uploads/soft/101209/397_1604253131.rar