User Tools

Site Tools


ubuntu:video:convert_h265_to_h264

Differences

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

Link to this comparison view

Next revision
Previous revision
ubuntu:video:convert_h265_to_h264 [2020/02/23 13:52] – created peterubuntu:video:convert_h265_to_h264 [2023/06/13 10:56] (current) – removed peter
Line 1: Line 1:
-====== Ubuntu - Video - Convert H265 to H264 ====== 
  
-===== Matroska output ===== 
- 
-<code bash> 
-mkdir h264vids 
-for f in *.mp4; do ffmpeg -i "$f" -map 0 -c copy -c:v libx264 -crf 23 -preset medium h264vids/"${f%.*}.mkv"; done 
-</code> 
- 
-  * Will output to a directory named h264vids. 
-  * Assumes your inputs are .mp4.  If not, change the .mp4 instance in the example to your input file type, or just use the greedy * by itself. 
-  * Adjust -crf for quality and -preset for encoding speed/efficiency.  Or just remove these options and use the defaults which are fairly good and should suffice for most (the example is using the default values for these options). 
-  
-See [[https://trac.ffmpeg.org/wiki/Encode/H.264|FFmpeg Wiki: H.264]] for more info on these options. 
- 
----- 
ubuntu/video/convert_h265_to_h264.1582465966.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki