Take the 2-minute tour ×

Please guide me how to solve this issue. Below is what I got when try to convert wmv format file to .flv.

ffmpeg -i full.wmv -ar 48000 -ab 192000 -b 293000 -r 15 -s 640x480 full.flv
  libavutil version: 49.7.0
  libavcodec version: 51.58.0
  libavformat version: 52.16.0
  libavdevice version: 52.0.0
  libavfilter version: 0.0.0
  built on May  3 2009 12:07:18, gcc: 4.3.2
[wmv3 @ 0x6db7d13f76c0]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 'full.wmv':
  Duration: 00:35:31.91, start: 3.000000, bitrate: 1801 kb/s
    Stream #0.0: Audio: wmav2, 48000 Hz, stereo, 192 kb/s
    Stream #0.1: Video: wmv3, yuv420p, 448x352, 1600 kb/s, 25.00 tb(r)
File 'full.flv' already exists. Overwrite ? [y/N] y
Output #0, flv, to 'full.flv':
    Stream #0.0: Video: flv, yuv420p, 640x480, q=2-31, 293 kb/s, 15.00 tb(c)
    Stream #0.1: Audio: libmp3lame, 48000 Hz, stereo, 192 kb/s
Stream mapping:
  Stream #0.1 -> #0.0
  Stream #0.0 -> #0.1
[wmv3 @ 0x6db7d13f76c0]Reserved RES_SM=2 is forbidden
Error while opening codec for input stream #0.1

It would be helpful if anyone could give the correct command instead of what I used

share|improve this question
add comment

2 Answers

From what I see from a relevant FFmpeg-devel mail, it's a WMV mode still unsupported by FFmpeg; with a little search, it turns out that, instead, mplayer seems to support it (if compiled with the relevant flag).

Anyhow, I don't see how is this related with PHP or programming in general, I voted to move it to SuperUser.

share|improve this answer
My question is related to php programming, and if any one could get an answer for this I prefer they would explain in relation with php & ffmpeg, thats why I posted here –  Rahul TS Sep 30 '10 at 6:51
Well, it's much more related with ffmpeg than with PHP, since the problem lies all in its WMV decoder stage. :) Anyhow, I already told you where's the problem, if @Bob Fanger says that they fixed it, you should update ffmpeg, otherwise you should try with mplayer as I said. –  Matteo Italia Sep 30 '10 at 8:21
add comment

Upgrade your ffmpeg to 0.6 (2010) and try again.

share|improve this answer
is it sure that if its ffmpeg 6 then the .wmv file will convert to .flv or any other formats –  Rahul TS Sep 30 '10 at 6:48
add comment

Your Answer


