views:

12

answers:

0

Hi, I'm trying to convert WMV files to FLV via FFMPEG for windows. FFMPEG is currently being run on a windows server 2003 system. The command line I'm trying to execute to convert the wmv file is as follows...

C:\Documents and Settings\userx>"C:\ffmpeg\ffmpeg.exe" -i "D:\Inetpub\upload
\demo_f_aedemo\video\5EF96920214D4372AB1DDEAE34FCD08D.wmv" -f "flv" -b "307200"
-ar "22050" -ab "65536" -s "320x240" -y "D:\Inetpub\upload\demo_f_aedemo\encoded
_video\5EF96920214D4372AB1DDEAE34FCD08D.flv"

The result of executing that command is as follows...

FFmpeg version SVN-r24103, Copyright (c) 2000-2010 the FFmpeg

developers built on Jul 8 2010 04:29:31 with gcc 4.4.2 configuration: --enable-gpl --enable-version3 --enable-libgsm --enable-pthread s --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libmp3lame -- enable-libopenjpeg --enable-libschroedinger --enable-libopencore_amrwb --enable- libopencore_amrnb --enable-libvpx --arch=x86 --enable-runtime-cpudetect --enable -libxvid --enable-libx264 --extra-libs='-lx264 -lpthread' --enable-librtmp --ext ra-libs='-lrtmp -lpolarssl -lws2_32 -lwinmm' --target-os=mingw32 --enable-avisyn th --cross-prefix=i686-mingw32- --cc='ccache i686-mingw32-gcc' --enable-memalign -hack libavutil 50.20. 0 / 50.20. 0 libavcodec 52.80. 0 / 52.80. 0 libavformat 52.73. 0 / 52.73. 0 libavdevice 52. 2. 0 / 52. 2. 0 libavfilter 1.22. 0 / 1.22. 0 libswscale 0.11. 0 / 0.11. 0 [asf @ 003dd480] max_analyze_duration reached

Seems stream 1 codec frame rate differs from container frame rate:

1000.00 (1000 /1) -> 8.00 (8/1) Input #0, asf, from 'D:\Inetpub\upload\demo_f_aedemo\video\B90BF4070B3248A290800 6F3EE76CED7.wmv': Metadata: WMFSDKVersion : 11.0.5721.5251 WMFSDKNeeded : 0.0.0.0000 IsVBR : 0 Duration: 00:03:00.50, start: 5.000000, bitrate: 218 kb/s Stream #0.0(eng): Audio: wmavoice, 16000 Hz, 1 channels, flt, 16 kb/s Stream #0.1(eng): Video: MSS2 / 0x3253534D, 642x499, 1636 kb/s, 8 tbr, 1k tb n, 1k tbc swScaler: Unknown format is not supported as input pixel format Cannot get resampling context

After doing a bit of reading it seems that ffmpeg doesn't have support for videos that are encoded with the MSS2 format. Is there a way I can add this codec to ffmpeg so that I can convert MSS2 encoded videos to FLV videos?

Thanks!