Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.


Go Back   Doom9's Forum > General > Newbies

Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 7th November 2023, 13:18   #1  |  Link
Registered User
Join Date: Oct 2023
Posts: 1
x265 playback issues when encoding with --rskip 2

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 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.

Last edited by Jacketbg; 7th November 2023 at 17:10.
Jacketbg is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +1. The time now is 12:15.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.