[Libav-user] Where to see the avi to wmv conversion part of code in FFmpeg

Matthew Einhorn moiein2000 at gmail.com
Wed Jun 22 08:28:08 CEST 2011


On Wed, Jun 22, 2011 at 2:15 AM, Roshan Vishwakarma
<vishwakarma.roshan at gmail.com> wrote:
> Hello
>
> Where I need to fine the specific code(i.e Functions/Methods) used for
> converting the avi files to wmv
> and what codec is used for it.
> Is anyone verified it earlier ?
> Please help me out.....
>
> Thanks & Regards,
> Roshan Vishwakarma
>
>
>
>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
>

Avi is a container which houses videos compressed with different
codecs. WMV on the other hand is a codec. For example, you could store
a WMV compressed video in a avi file. Converting from one codec to
another would require you to decode and then encode the video.

ffmpeg has some example code:
http://www.ffmpeg.org/doxygen/trunk/encoding-example_8c.html, you
could also find some starting examples here:
http://www.ffmpeg.org/documentation.html at the tutorials section of
the page. However, you'd have to dig through the code yourself since
it's not exactly straightforward. The ffmpeg executable however
already provide the above functionality.

Matt


More information about the Libav-user mailing list