meta

what's the meta about say it ditto dot net?

User Tools

Site Tools


terminal:ffmpegencode

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
terminal:ffmpegencode [2024/08/12 23:33] meloterminal:ffmpegencode [2025/08/16 02:24] (current) – removed melo
Line 1: Line 1:
-===== ffmpeg re-encode to mkv ===== 
- 
-x264 (avc) & aac 
-  - <code>ffmpeg -i "x" -c:v libx264 -crf 18 -c:a aac "x.mkv"</code> 
-  - (delete original video file & assorted files like subs posters samples etc) 
- 
-x265 (hevc) & aac 
-  - <code>ffmpeg -i "x" -c:v libx265 -vtag hvc1 -crf 18 -c:a aac "x.mkv"</code> 
-  - (delete original video file & assorted files like subs posters samples etc) 
- 
-x265 (hevc) HW acceleration & aac & subs - bash loop 
-  - <code>for f in *.mkv; do ffmpeg -hwaccel cuda -hwaccel_output_format cuda -i "$f" -c:v hevc_nvenc -vtag hvc1 -crf 23 -c:a copy -c:s copy -map 0 "${f%.*} HEVC.mkv"; done</code> 
-  - (delete original video file & assorted files) 
  
terminal/ffmpegencode.1723505586.txt.gz · Last modified: (external edit)