Log in

View Full Version : ffmpeg- mpeg2 video options (bitrate, frame rate, etc)


nighthawk2018
17th October 2009, 20:08
Hi,

I am trying to create a mpeg file, but I do not exactly which options to use when dealing with mpeg2. I succeeded with producing a mpeg2 movie,. but I do not know which are the best options to use or how to calculate them for my needs.

How do I define the needs (for example I do not care for the output size of the file that is one issue)?
What is a bitrate, and how do I define it?
the frame rate is calculated as numinator/denuminator... for example 25/1 for 25 frame rate, or 3000/1001 for 29.74 and so on. Do I need to use, for example something else except the 25/1 if I would like to create a 25 frame rate movie?
what else do I need to know about all these issues?

Thanks in advance.

foxyshadis
18th October 2009, 03:08
There's no best options unless you define two things: What your destination is (DVD? DVB broadcast? Portable player? etc) and how long you're willing to wait. Both will impose limitations. If you're making a DVD, don't use ffmpeg, use quenc or HC.

Bitrate is just like framerate: Bits per second, and it's specified with "-b 1000", for example. There are numerous bitrate calculators out there, and you generally get a better looking movie if you encode it in two passes. Look in the doom9 guides for basic definitions, although they're pretty out of date.