ffmpeg:conversions:convert_h264_to_av1:libaom:constrained_quality
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
ffmpeg:conversions:convert_h264_to_av1:libaom:constrained_quality [2023/06/14 16:56] – created peter | ffmpeg:conversions:convert_h264_to_av1:libaom:constrained_quality [2023/06/14 16:59] (current) – peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== ffmpeg - Conversions - Convert H264 to AV1 - libaom - Constrained Quality ====== | ====== ffmpeg - Conversions - Convert H264 to AV1 - libaom - Constrained Quality ====== | ||
+ | |||
+ | **libaom-av1** has a constrained quality (CQ) mode that will ensure that a constant (perceptual) quality is reached while keeping the bitrate below a specified upper bound or within a certain bound. | ||
+ | |||
+ | * This method is useful for bulk encoding videos in a generally consistent fashion. | ||
+ | |||
+ | ---- | ||
+ | |||
+ | <code bash> | ||
+ | time ffmpeg -i a.mp4 -c:v libaom-av1 -crf 30 -b:v 2000k -f mp4 out.mp4 | ||
+ | </ | ||
+ | |||
+ | returns: | ||
+ | |||
+ | <code bash> | ||
+ | ... | ||
+ | real 104m57.062s | ||
+ | user 599m4.884s | ||
+ | sys 0m32.345s | ||
+ | </ | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | |||
+ | * Input test size: 75.5M | ||
+ | * Output test size: 4.8M | ||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | |||
+ | * **crf**: | ||
+ | * Lower values mean better quality and greater file size. | ||
+ | * 0 means lossless. | ||
+ | * A CRF value of 23 yields a quality level corresponding to CRF 19 for x264 (source), | ||
+ | |||
+ | </ | ||
ffmpeg/conversions/convert_h264_to_av1/libaom/constrained_quality.1686761782.txt.gz · Last modified: 2023/06/14 16:56 by peter