View Full Version : [ubuntu] ffmpeg avi to mpg conversion min size

July 1st, 2009, 02:20 PM
i installed the latest version of ffmpeg and x264
i want to convert my 700mb avi file(s) into 700mb mpg files
so that i can play them in my dvd player

the catch is that the size must remain 700mb(or something less than 1 gb)
so that i can write multiple movies to dvd

i know that there will be loss in quality
and that is perfectly acceptable as long as the movie can be watched without drastic problems

so i want to know how, i can convert those avi files keeping the size to a minimum.

July 6th, 2009, 05:43 PM
its been 5 days
no reply
come on you can do better than that

July 7th, 2009, 12:01 AM
Perhaps this simple command will work:

ffmpeg -i input.avi -target pal-dvd output.mpg

July 11th, 2009, 08:36 PM
thanks for replying
but the trouble with that command is that it increases the size of the 700 mb avi to about 3gb
and i want to keep the size to less than 1 gb
a loss of quality is acceptable
hopefully you'll be able to help me with it

July 13th, 2009, 08:03 PM
You must come up with a bitrate to reflect the final size you want. Try some bitrate calculators on the web to help you out.

July 15th, 2009, 07:05 PM
FakeOutdoorsman (http://ubuntuforums.org/member.php?u=162846) you are the guy who writes those great tutorials
thanks for thaking the time to help me out

see what i want is mediocre quality 320x240 or something like that looks decent on a 21" tv no widescreen stuff and decent audio quality

so what would the command be to convert the avi to mpg

also you mention these online bitrate calculators
could you please suggest some to me

once again thanks for taking the time to help me.

July 15th, 2009, 08:56 PM
I'm glad you liked the tutorials. I was coming up with a simple command for your video and found a small bug in SVN FFmpeg which I then submitted a patch for, so you indirectly helped improve FFmpeg. How long is your movie that you want to convert?

July 16th, 2009, 03:01 PM
its a documentary
the death of yugoslavia
six parts nearly 50 minutes each
wanted to convert them and create a dvd with menu