Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to convert .wmv video files to .flv format, .flv will be played in JW Player

I use the following command

-of lavf -oac pcm -lameopts abr:br=48 -ovc lavc -lavcopts vcodec=flv:vbitrate=480 -srate 22050 

The file got transcoded but still the video runs fast in such a way that the 1minute video runs in 3 seconds

I tried with various commands and i was not able to succeed?

What parameter should be passed to resolve this issue?

share|improve this question
up vote 1 down vote accepted

As explained on mencoder mailing list:

Mencoder can't read fps from a wmv container.

You could force an fps value or ease your troubles and use ffmpeg:

ffmpeg -i input_video.wmv output_video.flv

If you want to use the encoding parameters you were asking for in your mencoder command (I might be wrong about mencoder default bit rate units):

ffmpeg -i input_video.wmv -b 480m -acodec pcm_s8  -ab 48k -ar 22050  output_video.flv
share|improve this answer
When i tried with the above command i got this error "Unsupported codec (id=86056) for input stream #0.0". Any up gradation of ffmpeg has to be done? – Tech Jerk Oct 23 '09 at 13:47
what is input stream #0.0? this msg shows same error (…) ... his problem is the audio codec, TwoCC 0x0162 Windows Media Audio Professional V9, which wasn't supported as of Jan 2009 and may still be unsupported. – quack quixote Oct 23 '09 at 15:03
ffmpeg 0.5 (released in march 2009) supports wmv9 ( - @Sri Kumar: indicate your ffmpeg version and platform if you want someone to be able to help you. – avelldiroll Oct 23 '09 at 17:58
SVN-r16573 is ffmpeg version and Xp (SP2) OS – Tech Jerk Oct 24 '09 at 6:28
@Sri Kumar - you should update your ffmpeg install, that one is a bit old – avelldiroll Oct 24 '09 at 8:16

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.