Changes between Version 22 and Version 23 of Encode/YouTube


Ignore:
Timestamp:
Jan 24, 2021, 6:27:41 PM (6 years ago)
Author:
veikk0
Comment:

Add section on video upscaling

Legend:

Unmodified
Added
Removed
Modified
  • Encode/YouTube

    v22 v23  
    5151'''Note:''' For other formats, such as Matroska (MKV), `-movflags +faststart` is not necessary and will be ignored.
    5252}}}
     53
     54= Upscaling video for higher peak quality =
     55
     56Due to the encoding ladders that Youtube and other streaming sites utilise to re-encode uploaded videos in different qualities, higher resolution videos receive a higher bitrate. It's possible to use upscaling to exploit this for higher peak viewing quality.
     57
     58The following will use nearest neighbor scaling to upscale a video by 2x in each direction for 4 times the total resolution and minimal scaling artifacts:
     59
     60{{{
     61ffmpeg -i input.mkv -vf scale=iw2:ih2:flags=neighbor -c:v libx264 -preset slow -crf 18 output.mkv
     62}}}
     63
     64To upscale by 4x or 8x, use `scale=iw4:ih4:flags=neighbor` and `scale=iw8:ih8:flags=neighbor` respectively. This can be useful for low-resolution material such as VHS captures, DVD video, and gameplay capture of old video games that would otherwise suffer from excessive loss of detail if uploaded in 480p or lower resolution.
    5365
    5466= Utilizing the included album cover/art =