Files
jlengrand.github.io/_posts/2011-10-18-converting-a-flv-file-to-avi.markdown
julien lengrand-lambert 553d103141 Fixes post with bash code
2014-02-09 17:43:14 +01:00

1.6 KiB

layout, status, published, title, author, author_login, author_email, author_url, wordpress_id, wordpress_url, date, categories, tags, comments
layout status published title author author_login author_email author_url wordpress_id wordpress_url date categories tags comments
post publish true Converting a flv file to avi Julien Lengrand-Lambert jlengrand julien@lengrand.fr http://www.lengrand.fr 31 http://www.lengrandlambert.fr/wordpress/?p=31 2011-10-18 13:16:00.000000000 +02:00
tips
flv
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.

{% highlight bash %} $ sudo apt-get install ffmpeg {% endhighlight %}

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

{% highlight bash %} $ ffmpeg -o /your/flv/file.flv -vcodec mpeg1-video
-acodec copy -ar 44100 -s 320x240 -y /your/avi/file.avi {% endhighlight %}

For more information, check at ffmpeg man page ;)

 

C U ;)

Julien