Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
dvd_mkv [2018/03/10 20:39]
beandog
— (current)
Line 1: Line 1:
-====== dvd_mkv ====== 
  
-I'd like to be able to duplicate what HandBrake does using libav directly. 
- 
-Here's what I've got so far, to duplicate my setup: 
- 
-  * x264 slow preset, high profile, level 4.1, CRF 14 
-  * 60 fps 
- 
-<​code>​ 
-dvd_copy dvd.iso -c 1-1 -o - | avconv -y -i - -vcodec libx264 -acodec libfdk_aac -tune animation -ab 160k -r 60 -vsync cfr -crf 14 -x264-params ref=10:​subme=8:​trellis=2:​keyint=240:​rc-lookahead=50:​direct=auto -bufsize 78125k -maxrate 62500k -t 1 -color_primaries smpte170m -color_trc smpte170m -colorspace smpte170m dvd_encode.mkv 
-</​code>​ 
- 
-Note that Handbrake will set the colorspace to BT.709 if it doesn'​t recognize what it is (source: I lost it, but I remember it being verified by a second one). 
- 
-See [[https://​video.stackexchange.com/​questions/​16840/​ffmpeg-explicitly-tag-h-264-as-bt-601-rather-than-leaving-unspecified|here]] for the same scenario I was running into -- comparing mediainfo output from a HandBrake encode to a direct ffmpeg one. 
- 
-I can't figure out how to use my own avpreset files which is annoying, but then I thought about how it's probably a good thing to have one less file to track when making changes, so oh well. :) 

Navigation