ubuntu:video:ffmpeg:hardware_acceleration_using_gpu:nvidia_gpu
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
ubuntu:video:ffmpeg:hardware_acceleration_using_gpu:nvidia_gpu [2023/06/13 09:28] – ↷ Page moved from ubuntu:video:ffmpeg:hardware_transcoding_using_gpus:nvidia_gpu to ubuntu:video:ffmpeg:hardware_acceleration_using_gpu:nvidia_gpu peter | ubuntu:video:ffmpeg:hardware_acceleration_using_gpu:nvidia_gpu [2023/06/13 10:24] (current) – removed peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Ubuntu - Video - ffmpeg - Hardware transcoding using GPUs - Nvidia GPU ====== | ||
- | |||
- | ===== Nvidia GPUs ===== | ||
- | |||
- | < | ||
- | nvenc_h264 | ||
- | nvenc_h265 | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | ===== Decoding ===== | ||
- | |||
- | <code bash> | ||
- | -hwaccel cuda | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | ===== Encoding ===== | ||
- | |||
- | ==== For video resolution <= 4K ==== | ||
- | |||
- | <code bash> | ||
- | -c:v h264_nvenc | ||
- | </ | ||
- | |||
- | ==== For video resolution > 4K ==== | ||
- | |||
- | <code bash> | ||
- | -c:v hevc_nvenc | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | ===== Examples ===== | ||
- | |||
- | #1 - A corrupt 1920x1080 video: | ||
- | |||
- | <code bash> | ||
- | ffmpeg -y -vsync 0 -hwaccel cuda -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 -hwaccel cuda -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/nvidia_gpu.1686648506.txt.gz · Last modified: 2023/06/13 09:28 by peter