[FFmpeg-trac] #1887(undetermined:new): wmv3: Reserved RES_SM=2 is forbidden

FFmpeg trac at avcodec.org
Mon Nov 5 08:25:55 CET 2012


#1887: wmv3: Reserved RES_SM=2 is forbidden
-------------------------------------+-------------------------------------
             Reporter:  henry        |                     Type:  defect
               Status:  new          |                 Priority:  critical
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
  wmv3,ffmpeg,forbidden              |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 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

 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1887>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list