13.09.2019, 01:21
I noticed an issue here when using vapoursynth. When a dependent filter is enabled with chapter/cut selection, it looks like the frame selection range isn't being passed. Maybe a solution is a little quick math based on length of chapters and framerate (or timecodes?) to get start offset and framecount? vspipe has -start and -end parameters that might work. I use the chapter selection feature a lot to test settings before committing to a long encoding session.
without vapoursynth
with vapoursynth
Log also attached. I didn't have time to run a complete job with vapoursynth, so I let it run for a bit then canceled.
without vapoursynth
Quote:ffmpeg -y -loglevel fatal -noautorotate -threads 8 -i "D:\rips\STARGATE_THE_ARK_OF_TRUTH_t00.mkv" -map 0:0 -an -sn -t 00:03:50.563 -vf zscale=rangein=tv:range=tv -pix_fmt yuv420p -vsync 0 -f rawvideo - | x264 --preset veryfast --pass 1 --bitrate 1500 --profile high --level 4.1 --direct auto --b-adapt 0 --sync-lookahead 33 --qcomp 0.5 --rc-lookahead 40 --qpmax 81 --aq-mode 0 --sar 1:1 --qpfile "D:\temp\STARGATE_THE_ARK_OF_TRUTH_t00_18_47_55_8510_06.qp" --non-deterministic --range tv --stats "D:\temp\STARGATE_THE_ARK_OF_TRUTH_t00_18_47_55_8510_07.stats" --demuxer raw --input-res 1920x1080 --input-csp i420 --input-range tv --input-depth 8 --fps 24000/1001 --output-depth 8 --output NUL -
with vapoursynth
Quote:vspipe "D:\temp\encodingTempSynthSkript_18_49_54_0310.vpy" - --y4m | x264 --preset veryfast --pass 1 --bitrate 1500 --profile high --level 4.1 --direct auto --b-adapt 0 --sync-lookahead 33 --qcomp 0.5 --rc-lookahead 40 --qpmax 81 --aq-mode 0 --sar 1:1 --qpfile "D:\temp\STARGATE_THE_ARK_OF_TRUTH_t00_18_49_54_0310_07.qp" --non-deterministic --range tv --stats "D:\temp\STARGATE_THE_ARK_OF_TRUTH_t00_18_49_54_0310_08.stats" --demuxer y4m --input-range tv --fps 24000/1001 --output-depth 8 --output NUL -
Log also attached. I didn't have time to run a complete job with vapoursynth, so I let it run for a bit then canceled.