Categories:


- System -

- Internet -

- Video -

- Audio -

- Pictures -

- Other -


HOW TO install Ubuntu - complete guide

List of everyday used applications (in process)








HOW TO shrink movies from your digital camera (or general all *.avi movies)



I think you have already noticed that the size of the movies recorded with your camera is a bit to large. So a normal thing to think is how to reduce the size of these movies with as little loss in quality as possible.

First,
you need to install the ffmpg. You do this as simple as this. Open terminal and type:

sudo apt-get install ffmpeg

Now navigate in terminal to the folder where your movie is located (let's say its called movie.avi) and type:

ffmpeg -i movie.avi -ab 56 -ar 22050 -b 500 -r 20 -s 640x480 movie1.avi

This will give you a movie named movie1.avi with one tenth of original movie size and no noticable loss in

Let me explain the command for you so you can modify it yourself.

ffmpeg - starts the program
-i movie.avi - this is the input file
-ab 56 - sets audio bitrate of the output file, in kbit/s
-ar 22050 - sets audio sampling rate of the output file, in Hz
-r 20 - sets frame rate of the output file, in Hz (this value will effect the final size the most, so play with it to get the best result for yourself)
-s 640x480 - sets resolution of the output file
movie1.avi - name of the output file

That's it. If you have some problems you're free to post it in comments.




You can leave a comment at the homepage.



SEARCH



  • Ubuntu official

  • Ubuntuguide, helps you start using Ubuntu

  • Order latest Ubuntu cd at your doorstep, for FREE


  • If you have problems installing programs with 'apt-get' or 'aptitude' be sure you have enabled universe repositories.
    Click here to see how to enable them.