User Tools

Site Tools


video:encoding

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
Last revisionBoth sides next revision
video:encoding [2023/11/29 10:47] – [Dynamic Normalization] Jan Formanvideo:encoding [2024/01/11 23:55] Jan Forman
Line 6: Line 6:
 You must add for proper channel mapping You must add for proper channel mapping
 <code>-ac 6</code> <code>-ac 6</code>
 +
 +====== Encode VP9 maximum quality ======
 +<code>ffmpeg -i input.mkv -pix_fmt yuv420p10le -c:v libvpx-vp9 -pass 1 -speed 8 -quality good -threads 16 -row-mt 1 -crf 25 -b:v 0 -g 240 -an -f webm nul
 +ffmpeg -i input.mkv -pix_fmt yuv420p10le -c:v libvpx-vp9 -pass 2 -deadline best -threads 16 -row-mt 1 -crf 25 -b:v 0 -g 240 -codec:a libopus -ab 128k output.webm</code>
 +
  
 ====== FFMPEG and NVENC ====== ====== FFMPEG and NVENC ======
Line 168: Line 173:
 | grain | preserves the grain structure in old, grainy film material | | grain | preserves the grain structure in old, grainy film material |
 | stillimage | good for slideshow-like content | | stillimage | good for slideshow-like content |
 +
 +
 +====== Transform HLG to HDR10 ======
 +<code>-vf zscale=transfer=smpte2084</code>
  
 ====== Encode with HDR10 Metadata ====== ====== Encode with HDR10 Metadata ======
video/encoding.txt · Last modified: 2024/05/03 10:32 by Jan Forman