User Tools

Site Tools


ubuntu:video:ffmpeg:hardware_acceleration_using_gpu:amd_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:amd_gpu [2023/06/13 09:35] peterubuntu: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 ====== 
- 
-[[Ubuntu:Video:ffmpeg:Hardware Acceleration using GPU:AMD GPU:Benchmark|Benchmark]] 
- 
-===== AMD GPUs ===== 
- 
-<code> 
-h264_amf 
-hevc_amf 
-</code> 
- 
----- 
- 
-===== Decoding ===== 
- 
-<code bash> 
--hwaccel d3d11va 
-</code> 
- 
----- 
- 
-===== Encoding ===== 
- 
-==== For video resolution <= 4K ==== 
- 
-<code bash> 
--c:v libx264 
- 
-or 
- 
--c:v h264_amf 
-</code> 
- 
-==== For video resolution > 4K ==== 
- 
-<code bash> 
--c:v libx265  
- 
-or 
- 
--c:v hevc_amf 
-</code> 
- 
----- 
- 
-===== Examples ===== 
- 
-#1 - A corrupt 1920x1080 video: 
- 
-<code bash> 
-ffmpeg -y -vsync 0 -i "input.mp4" -c:a copy -c:v h264_amf -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 -i "input.mp4" -c:a copy -c:v hevc_amf -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_amf -pix_fmt yuv420p "output.mp4"  
-</code> 
- 
----- 
- 
  
ubuntu/video/ffmpeg/hardware_acceleration_using_gpu/amd_gpu.1686648919.txt.gz · Last modified: 2023/06/13 09:35 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki