[FFmpeg-user] Upscaling: easy to decode & high quality

Lou lou at lrcd.com
Sat Feb 15 22:21:07 CET 2014


On Sat, Feb 15, 2014, at 07:19 AM, Grant wrote:
> My video driver (omapfb on ARM) doesn't support scaling so I'm
> pre-upscaling with ffmpeg for fullscreen playback.  My goals are high
> quality and ease of decoding.
> 
> ffmpeg -i input.mp4 -filter:v scale=1360:-1 -sws_flags spline -c:a
> copy output.mkv

You should always include the complete ffmpeg console output.

> I'm told I should encode as H.264 CAVLC with inloop filter disabled
> and CABAC disabled with a crf-value for constant-quality.  Is there an
> "easy to decode" preset including these?

Just use "-tune fastdecode".

> Any other high quality video settings I should use?

Default -crf value is 23. You can reduce the value until you can not
tell the difference between the input and output. ~18 is often
considered to be visually lossless depending on the input and your eyes.


More information about the ffmpeg-user mailing list