Jacketbg
7th November 2023, 13:18
Hi all, I'm new here.
I recently started using --rskip 2 --rskip-edge-threshold 2 for my UHD encodes and found that it caused major issues while decoding, even though there were no issues reported during the encoding process. Sometimes there are freeze-frames for 1sec, artifacts, black screens or reverting my TV from Dolby Vision to HDR. Usually around the 1 hour mark of a movie. At first I wasn't sure what it is, even suspected DV, because I recently added it to my encoding script, but the author of dovi_tool suggested (https://github.com/quietvoid/dovi_tool/discussions/262) that it's potentially a problem with --rskip 2 and indeed it disappeared after I stopped using the option.
Anyone else experienced playback issues with files encoded with --rskip 2? Can those be mitigated without completely removing --rskip 2? I really like it as it gives me major performance gains (30-40%) on crf17/slow and I'd like to preserve grain as much as possible.
Here's my full command line:
cat file.mkv | ssh -p 22 user@ip "mbuffer -A /bin/false -q -i - -o - | \
ffmpeg -v quiet -loglevel error -i - -map 0:0 -an -sn -vsync 0 -f yuv4mpegpipe -strict -1 - |\
x265 - --y4m --log-level error --rskip 2 --rskip-edge-threshold 2 --rc-lookahead 40 \
--aq-mode 1 --aq-strength 1 --no-sao --selective-sao 0 --deblock -1:-1 --psy-rd 4 \
--hdr-opt --repeat-headers --colorprim bt2020 --transfer smpte2084 --colormatrix bt2020nc \
--master-display 'G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,50)' \
--max-cll '1000,400' --dolby-vision-rpu '/tmp/dovi_rpu.bin' --dolby-vision-profile 8.1 \
--vbv-bufsize 160000 --vbv-maxrate 160000 --input-depth 10 --output-depth 10 \
--crf 17 --preset slow --frames 128721 -" > video.hevc
I'm encoding remotely via ssh. I doubt this is the cause, but posting it in full anyway since it could matter.
I recently started using --rskip 2 --rskip-edge-threshold 2 for my UHD encodes and found that it caused major issues while decoding, even though there were no issues reported during the encoding process. Sometimes there are freeze-frames for 1sec, artifacts, black screens or reverting my TV from Dolby Vision to HDR. Usually around the 1 hour mark of a movie. At first I wasn't sure what it is, even suspected DV, because I recently added it to my encoding script, but the author of dovi_tool suggested (https://github.com/quietvoid/dovi_tool/discussions/262) that it's potentially a problem with --rskip 2 and indeed it disappeared after I stopped using the option.
Anyone else experienced playback issues with files encoded with --rskip 2? Can those be mitigated without completely removing --rskip 2? I really like it as it gives me major performance gains (30-40%) on crf17/slow and I'd like to preserve grain as much as possible.
Here's my full command line:
cat file.mkv | ssh -p 22 user@ip "mbuffer -A /bin/false -q -i - -o - | \
ffmpeg -v quiet -loglevel error -i - -map 0:0 -an -sn -vsync 0 -f yuv4mpegpipe -strict -1 - |\
x265 - --y4m --log-level error --rskip 2 --rskip-edge-threshold 2 --rc-lookahead 40 \
--aq-mode 1 --aq-strength 1 --no-sao --selective-sao 0 --deblock -1:-1 --psy-rd 4 \
--hdr-opt --repeat-headers --colorprim bt2020 --transfer smpte2084 --colormatrix bt2020nc \
--master-display 'G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,50)' \
--max-cll '1000,400' --dolby-vision-rpu '/tmp/dovi_rpu.bin' --dolby-vision-profile 8.1 \
--vbv-bufsize 160000 --vbv-maxrate 160000 --input-depth 10 --output-depth 10 \
--crf 17 --preset slow --frames 128721 -" > video.hevc
I'm encoding remotely via ssh. I doubt this is the cause, but posting it in full anyway since it could matter.