Changes between Version 17 and Version 18 of Encode/AV1


Ignore:
Timestamp:
Dec 21, 2018, 11:40:10 AM (8 months ago)
Author:
slhck
Comment:

remove chroma subsampling info, as it is not exclusive to libaom. created new page at https://trac.ffmpeg.org/wiki/Chroma%20Subsampling

Legend:

Unmodified
Added
Removed
Modified
  • Encode/AV1

    v17 v18  
    5858'''Note:''' When muxing into MP4, you may want to add `-movflags +faststart` to the output parameters if the intended use for the resulting file is streaming.
    5959}}}
     60
    6061= Two-Pass =
    6162
     
    9394`-row-mt 1` enables row-based multi-threading which maximizes CPU usage. To enable fast decoding performance, also add tiles (i.e. `-tiles 4x1` or `-tiles 2x2` for 4 tiles). Enabling `row-mt` is only faster when the CPU has more threads than the number of encoded tiles.
    9495
    95 = Chroma subsampling / HDR =
    96 If you want to use different chroma subsampling formats such as 4:2:2 or 4:4:4 you can use `-vf format=`.
    97 
    98 For example if you want to encode in 8-bit 4:4:4:
    99 {{{
    100 ffmpeg -i input.mp4 -c:v libaom-av1 -strict experimental -vf format=yuv444p output.mkv
    101 }}}
    102 Combined with a scaling option you can use it to downscale a 2160p 4:2:0 video to 1080p 4:4:4 for example:
    103 {{{
    104 ffmpeg -i input.mp4 -c:v libaom-av1 -strict experimental -vf "format=yuv444p,scale=iw/2:ih/2" output.mkv
    105 }}}
    106 Most used formats: 8-bit 4:0:0 `gray`, 8-bit 4:2:0 `yuv420p`, 8-bit 4:2:2 `yuv422p`, 8-bit 4:4:4 `yuv444p`, 10-bit 4:0:0 `gray10le`, 10-bit 4:2:0 `yuv420p10le`, 10-bit 4:2:2 `yuv422p10le`, 10-bit 4:4:4 `yuv444p10le`. View all the different subsampling formats with `ffmpeg -pix_fmts`
     96= HDR =
    10797
    10898When encoding in HDR it's necessary to pass through color information; `-colorspace`, `-color_trc` and `-color_primaries`. For example, Youtube HDR uses
     99
    109100{{{
    110101-colorspace bt2020nc -color_trc smpte2084 -color_primaries bt2020