Wednesday, May 12, 2010

FFMPEG WMV3 Encoding

FFMPEG


ffmpeg is a open source project used to convert one video format to other video. it supports many formats
but not all formats. the input and output formats supported by the ffmpeg is available at

http://en.wikipedia.org/wiki/FFmpeg

The compleate document about the ffmpeg is available at

http://ffmpeg.org/ffmpeg-doc.html
The recent version of ffmpeg is revision 19159. The source code is available at http://sourceforge.net/projects/mplayer-win32/files/


FFMPEG WMV3 Encoding Support

ffmpeg accepts WMV3 or wmv9 encoding files as input. as per the ffmpeg documentation ffmpeg has wmv3/wmv9 docoder but it does not have wmv3/wmv9 encoder.

so it cann't convert video to wmv3 format. but it accepts wmv3 as input and convert this into any other formats supported by ffmpeg.
Denis Fortin provide a wmv3 encoder patch for ffmpeg. but it was writtern two years back. i.e the version it is writtern for revision 9426. which is available in

http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2007-June/031695.html.

The patch file available at http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070625/bbadb401/attachment.bin

The above patch does support for the current version available in the svn. I tried to apply pacth manualy but i am not able to find few lines of code in

mpegvideo.c , allcodecs.h etc..

As my form search in web mostly of them said that Microsoft did not give wmv3/wmv9 specification to any others. So FFMPEG supports wmv3/wmv9 decoding but not encode.

Twitter Delicious Facebook Digg Stumbleupon Favorites More