ubuntu:video:ffmpeg:hardware_acceleration_using_gpu:amd_gpu
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ubuntu:video:ffmpeg:hardware_acceleration_using_gpu:amd_gpu [2023/06/13 09:27] – ↷ Page moved from ubuntu:video:ffmpeg:hardware_transcoding_using_gpus:amd_gpu to ubuntu:video:ffmpeg:hardware_acceleration_using_gpu:amd_gpu peter | ubuntu:video:ffmpeg:hardware_acceleration_using_gpu:amd_gpu [2023/06/13 10:22] (current) – removed peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Ubuntu - Video - ffmpeg - Hardware transcoding using GPUs - AMD GPU ====== | ||
- | |||
- | ===== AMD GPUs ===== | ||
- | |||
- | < | ||
- | h264_amf | ||
- | hevc_amf | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | ===== Decoding ===== | ||
- | |||
- | <code bash> | ||
- | -hwaccel d3d11va | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | ===== Encoding ===== | ||
- | |||
- | ==== For video resolution <= 4K ==== | ||
- | |||
- | <code bash> | ||
- | -c:v libx264 | ||
- | |||
- | or | ||
- | |||
- | -c:v h264_amf | ||
- | </ | ||
- | |||
- | ==== For video resolution > 4K ==== | ||
- | |||
- | <code bash> | ||
- | -c:v libx265 | ||
- | |||
- | or | ||
- | |||
- | -c:v hevc_amf | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | ===== Examples ===== | ||
- | |||
- | #1 - A corrupt 1920x1080 video: | ||
- | |||
- | <code bash> | ||
- | ffmpeg -y -vsync 0 -i " | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | #2 | ||
- | - a 7680x3840 H.265 video with incompatible profile for VHT | ||
- | - a stutter playback 7260x3630 60fps 10bit video | ||
- | |||
- | <code bash> | ||
- | ffmpeg -y -vsync 0 -i " | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | #3 | ||
- | - a 7680x7680 video not hardware decoded because is H.264 encoded | ||
- | |||
- | <code bash> | ||
- | ffmpeg -y -vsync 0 -i " | ||
- | </ | ||
ubuntu/video/ffmpeg/hardware_acceleration_using_gpu/amd_gpu.1686648467.txt.gz · Last modified: 2023/06/13 09:27 by peter