ubuntu:video:convert_h264_to_h265
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ubuntu:video:convert_h264_to_h265 [2023/06/06 00:44] – peter | ubuntu:video:convert_h264_to_h265 [2023/06/13 10:55] (current) – removed peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Ubuntu - Video - Convert H264 to H265 ====== | ||
- | |||
- | <code bash> | ||
- | ffmpeg -i a.mp4 -c:v libx265 -map 0:v -c:a copy -map 0:a -c:s copy b.mkv | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | ===== Using GPU Hardware Encoding ===== | ||
- | |||
- | <code bash> | ||
- | ffmpeg -hwaccel vaapi -hwaccel_device / | ||
- | |||
- | ffmpeg -threads 16 -hwaccel vaapi -hwaccel_device / | ||
- | </ | ||
- | |||
- | <WRAP info> | ||
- | **NOTE:** These allow the GPU to be used: | ||
- | |||
- | <code bash> | ||
- | -hwaccel vaapi -hwaccel_output_format vaapi -vaapi_device / | ||
- | </ | ||
- | </ | ||
ubuntu/video/convert_h264_to_h265.1686012268.txt.gz · Last modified: 2023/06/06 00:44 by peter