User Tools

Site Tools


ffmpeg:conversions:convert_h264_to_h265

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ffmpeg:conversions:convert_h264_to_h265 [2023/06/13 15:04] peterffmpeg:conversions:convert_h264_to_h265 [2023/11/01 21:23] (current) peter
Line 1: Line 1:
 ====== ffmpeg - Conversions - Convert H264 to H265 ====== ====== ffmpeg - Conversions - Convert H264 to H265 ======
 +
 +===== Convert h.264 to h.265 (no change in resolution) =====
 +
 +<code bash>
 +ffmpeg -i input.mp4 -c:v libx265 -vtag hvc1 -c:a copy output.mp4
 +</code>
 +
 +----
  
 ===== Software Encoding ===== ===== Software Encoding =====
Line 88: Line 96:
 ffmpeg -threads 16 -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -i a.mp4 -c:v hevc_vaapi c.mkv ffmpeg -threads 16 -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -i a.mp4 -c:v hevc_vaapi c.mkv
 </code> </code>
 +
 +----
 +
 +=== References ===
 +
 +https://trac.ffmpeg.org/wiki/Encode/H.265
  
ffmpeg/conversions/convert_h264_to_h265.1686668641.txt.gz · Last modified: 2023/06/13 15:04 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki