Lately i've posted a lot of questions about how to use ffmpeg. It's pretty clear to me that I am missing some sort background in video encoding and was wondering if any of my fellow superusers had any good resources for studying up on video encoding. What do I need to understand before I can use ffmpeg effectively?
closed as off-topic by Moses, Kevin Panko, Shakehar, m4573r, tapped-out Jan 6 at 16:20
This question appears to be off-topic. The users who voted to close gave this specific reason:
Video formats and general guidelines
First of all, you need to understand which different codecs and formats exist, and what they are typically used for:
You should also look into what makes up video quality in a more general fashion, e.g. how does bit rate, frame rate, or picture size affect the quality?
Let's use FFmpeg…
You should know how to install the latest version of FFmpeg. The latest versions always include up-to-date bugfixes and new functions. People often make the mistake to use the old versions bundled with their distributions or that they have on some server – these often just do not work.
Read the FFmpeg documentation, at least the general options, and learn the basic command line switches.
Also check out our Super User blog entry: FFmpeg: The ultimate Video and Audio Manipulation Tool for an always up-to-date guide on transcoding with FFmpeg and a few examples as well as a large link collection at the end.
Encoding with x264
The best free video encoder out there today is x264, and using
For encoding, you will then be able to use the presets x264 offers. They are accessible through the FFmpeg options too. There are some main options which come in handy. Read the x264 encoding guide on the FFmpeg wiki. In short, this is what you can use:
You can install a video encoder like Handbrake and see which options it uses. Learn by doing, and try to read up on what all the parameters do.