User Tools

Site Tools


ubuntu:video:ffmpeg:hardware_acceleration_using_gpu:nvidia_gpu

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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 peterubuntu: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 ===== 
- 
-<code> 
-nvenc_h264 
-nvenc_h265 
-</code> 
- 
----- 
- 
-===== Decoding ===== 
- 
-<code bash> 
--hwaccel cuda 
-</code> 
- 
----- 
- 
-===== Encoding ===== 
- 
-==== For video resolution <= 4K ==== 
- 
-<code bash> 
--c:v h264_nvenc 
-</code> 
- 
-==== For video resolution > 4K ==== 
- 
-<code bash> 
--c:v hevc_nvenc 
-</code> 
- 
----- 
- 
-===== Examples ===== 
- 
-#1 - A corrupt 1920x1080 video: 
- 
-<code bash> 
-ffmpeg -y -vsync 0 -hwaccel cuda -i "input.mp4" -c:a copy -c:v h264_nvenc -b:v 2M -pix_fmt yuv420p "output.mp4" 
-</code> 
- 
----- 
- 
-#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 "input.mp4" -c:a copy -c:v hevc_nvenc -b:v 80M -pix_fmt yuv420p "output.mp4" 
-</code> 
- 
----- 
- 
-#3 
-- a 7680x7680 video not hardware decoded because is H.264 encoded 
- 
-<code bash> 
-ffmpeg -y -vsync 0 -i "input.mp4" -c:a copy -c:v hevc_nvenc -b:v 62M -pix_fmt yuv420p "output.mp4" 
-</code> 
  
ubuntu/video/ffmpeg/hardware_acceleration_using_gpu/nvidia_gpu.1686648506.txt.gz · Last modified: 2023/06/13 09:28 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki