converting movies with ffmpeg

Hi.

I’m doing a little bit of research on converting movies with ffmpeg on linux (ubuntu).

first install ffmpeg and mplayer :
[code]
sudo apt-get ffmpeg mplayer
[/code]

then you can convert videos simply with this command..

[code]
ffmpeg -i teaser_hi.mov -b 400 teaser_hi.flv
[/code]

the -i is the input file
the -b is the bitrate.. in kpbs

now to generate thumbnails of a movie

[code]
ffmpeg -i teaser_hi.mov -y -s 320x240 -r 0.05 %d.jpg
[/code]

I still have to understand these options..

Leave a Reply

Your email address will not be published. Required fields are marked *

*

* Copy this password:

* Type or paste password here:

5,281 Spam Comments Blocked so far by Spam Free Wordpress

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">