Julien Lengrand-Lambert bio photo

Julien Lengrand-Lambert

French guy living in the Netherlands. IT Chapter Lead @ING during the day, CoFounder @Skyai at night.

Twitter LinkedIn Github

Converting a flv file to avi

This article was originally written on 1st July, 2010 in my previous blog.

When working on slide presentations, it might be useful to insert one or two small videso that illustrates your words.

Most of my videso come from media websites, such as youtube, dailymotion, . . ..

Problem is, some of the compression formats are not quite usual and it might be difficult to read them easily.

Here is a small tip to convert a flv file to avi, which is mainly supported on all OSes.

This tip is useful for Linux users only ;)

First of all, install the ffmpeg package. All debian based distros can do the following. For the others, look at your package manager possibilities, or check for sources.

$ sudo apt-get install ffmpeg

Now, convert the video, replacing the argument to fit with your flv file.

$ ffmpeg -o /your/flv/file.flv -vcodec mpeg1-video \
 -acodec copy -ar 44100 -s 320x240 -y /your/avi/file.avi

For more information, check at ffmpeg man page ;)


C U ;)