Encoding for fastest decoding with ffmpeg

nbubis picture nbubis · Jan 7, 2014 · Viewed 15.5k times · Source

Encoding with ffmpeg and libx264, are there presets or flags that will optimize decoding speed?

Right now it seems that videos transcoded with similar file sizes are decoded at very different speeds using Qtkit, and I was wondering whether there are options for encoding such that the decoding speed will be maximal.

Answer

nobody555 picture nobody555 · Jan 7, 2014

There is --tune fastdecode in x264 (or -tune fastdecode if using ffmpeg) if you want optimize for decoding speed at the cost of quality/compression efficiency. In libx264 tune setting is available as one of the params for x264_param_default_preset.