Changes between Version 46 and Version 47 of Encode/AV1
- Timestamp:
- Sep 4, 2023, 12:57:09 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Encode/AV1
v46 v47 211 211 By using these presets, users can easily and efficiently select the appropriate encoding settings for their specific usage scenario without the need for in-depth knowledge of the encoder's parameters and their impact on video quality and performance. 212 212 The usage scenario for transcoding 213 214 {{{ 213 215 ffmpeg -s 1920x1080 -pix_fmt yuv420p -i input.yuv -c:v h264_amf -usage transcoding output.mp4 216 }}} 214 217 The usage scenario for lowlatency 218 {{{ 215 219 ffmpeg -s 1920x1080 -pix_fmt yuv420p -i input.yuv -c:v av1_amf -usage lowlatency output.mp4 216 220 }}} 217 221 == Quality == 218 222 This parameter is used to select between video quality and speed. This parameter has a significant impact on encoding speed. … … 221 225 • balanced: This preset balances the trade-off between quality and speed, making it suitable for a variety of applications that require a balance between the two, such as video conferencing and online gaming. 222 226 • speed: This preset prioritizes speed over quality, making it suitable for applications that require real-time video encoding with low latency, such as online gaming and remote desktop applications. 227 {{{ 223 228 ffmpeg -i input.mp4 -c:v av1_amf -quality balanced output.mp4 224 229 ffmpeg -i input.mp4 -c:v av1_amf -quality quality output.mp4 225 230 ffmpeg -i input.mp4 -c:v av1_amf -quality speed output.mp4 226 231 }}} 227 232 == Enforce_hrd == 228 233 The Hypothetical Reference Decoder (HRD) helps to prevent buffer overflow and underflow, which can cause issues such as stuttering or freezing in the video playback. HRD may sacrifice a certain level of image quality. "enforce_hrd" parameter is not always necessary or appropriate for all types of scenario. It should be used selectively and with careful consideration of the specific characteristics of the video content being encoded. 234 {{{ 229 235 ffmpeg -i input.mp4 -c:v av1_amf -enforce_hrd true output.mp4 230 236 }}} 231 237 == Vbaq == 232 238 VBAQ is a technique used to improve the visual quality of the encoded video. It achieves this by adapting the quantization parameters for blocks based on the visual complexity of the content. It is particularly effective for encoding video with complex visual content, such as high-motion or high-detail scenes. … … 240 246 • 1080p: Input videos whose resolution is aligned to 64x16, as well as 1920x1080 video, will be coded; All other resolution videos will not be supported. Note that for resolution of 1920x1080, the output video would have a resolution of 1920x1082. Two extra lines are padded at the bottom of the frame, filled with black pixels. 241 247 • None: Videos with any resolution can be coded. However, for those videos whose resolution is not 64x16 aligned, their output resolution will be extrapolated to be 64x16 aligned and padded with black pixels. The exception is for resolution of 1080p, which will be padded to 1082p, as in the case of value “1080p”. 242 248 {{{ 243 249 ffmpeg -i input.mp4 -c:v av1_amf -align 1080p output.mp4 244 250 }}} 245 251 == Keyframe placement == 246 252 By default, AMF AV1's keyframe interval is 250 frames, which is a balanced value for most use cases.
