ffmpeg:conversions:convert_avi_to_h264
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
ffmpeg:conversions:convert_avi_to_h264 [2023/06/13 10:45] – created peter | ffmpeg:conversions:convert_avi_to_h264 [2023/06/13 11:20] (current) – created peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== ffmpeg - Conversions - Convert AVI to H264 ====== | ====== ffmpeg - Conversions - Convert AVI to H264 ====== | ||
+ | |||
+ | ===== Software Encoding ===== | ||
+ | |||
+ | <code bash> | ||
+ | ffmpeg -i input.avi -c:v libx264 output.mp4 | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== AMD GPU Encoding - Linux ===== | ||
+ | |||
+ | <code bash> | ||
+ | ffmpeg -i input.avi -c:v h264_vaapi output.mp4 | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== AMD GPU Encoding - Windows ===== | ||
+ | |||
+ | <code bash> | ||
+ | ffmpeg -i input.avi -c:v h264_amf output.mp4 | ||
+ | </ | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== NVIDIA GPU Encoding ===== | ||
+ | |||
+ | <code bash> | ||
+ | ffmpeg -i input.avi -c:v h264_nvenc output.mp4 | ||
+ | </ | ||
ffmpeg/conversions/convert_avi_to_h264.1686653119.txt.gz · Last modified: 2023/06/13 10:45 by peter