It's been a while but as I've now got a backlog of Peppa Pig episodes and a 2 year old that doesn't seem to understand that Peppa Pig isn't the most important thing in the world I'm revisiting this.
HandBrakeCLI
-i /videos/recordedtv/Peppa-Pig/Peppa-Pig.2014-01-06.08-2.ts
-o /videos/recordedtv/Peppa-Pig/Peppa-Pig.2014-01-06.08-2.mkv
--encoder x264 --quality 20 --format mkv --audio 1,1 --aencoder faac,copy:ac3
--ab 160,160 --mixdown dpl2,none -arate Auto,Auto --drc 0.0,0.0
--audio-copy-mask aac,ac3,dtshd,dts,mp3 --audio-fallback ffac3 --loose-anamorphic
--modulus 2 --x264-preset medium --h264-profile high --h264-level 4.1 --two-pass
--decomb --cfr
I'm trying to use the same parameters on both HD and SD content.
On HD content I seem to get lots of errors like:
[h264
0x2f77120] Cannot (re-)initialize context during parallel decoding.
[h264
0x2f77120] decode_slice_header error
and then Handbrake eventually dies having not produced a file.
Just running a test now to see why it's not working on SD content as well.