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. |
9th May 2022, 21:59 | #21 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
|
I agree with the frame dup, drop it, no need to make the video practically VFR for a very tiny gain only, and potentially cause issues with muxers and/or players.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
25th May 2022, 18:50 | #23 | Link |
Registered User
Join Date: Oct 2002
Location: France
Posts: 2,316
|
Seriously........ this is bugland !!!!!!!!!!!!!!!!!
Some parts of the video is totaly screwed up, and i have no idea what setting caused it.... The command line was (tuned animation) : Code:
@echo off SET E_SRC=%8%1.avs SET E_DST=%5%1.hevc SET E_DOVI=%8%1 SET CHAPTERS=%8%7 SET STAT_FILE=%8%1.stats SET LOG_FILE_1=%8%1_log_1.txt SET LOG_FILE_2=%8%1_log_2.txt SET LOG_FILE_3=%8%1_log_3.txt SET BITRATE=%2 SET TUNING=%6 SET MCLL=%3 SET MDISPLAY=%4 if %6==film goto :NOTUNE if %6==none goto :NOTUNE if %6==aucun goto :NOTUNE x265_x64 --preset slower --tune %TUNING% --vbv-maxrate 90000 --vbv-bufsize 70000 --bitrate %BITRATE% --stats %STAT_FILE% --level 5.1 --profile main10 --high-tier --level-idc 51 --fades --aq-mode 3 --hevc-aq --weightb --rc-lookahead 48 --rect --amp --b-intra --no-sao --scenecut-aware-qp 3 --analyze-src-pics --opt-ref-list-length-pps --opt-qp-pps --multi-pass-opt-distortion --multi-pass-opt-rps --colorprim bt2020 --transfer smpte2084 --colormatrix bt2020nc --range limited --chromaloc 2 -D 10 --max-cll %MCLL% --master-display %MDISPLAY% --hdr10-opt --qpfile %CHAPTERS% --input %E_SRC% --pass 1 -o NUL 2> %LOG_FILE_1% x265_x64 --preset slower --tune %TUNING% --vbv-maxrate 90000 --vbv-bufsize 70000 --bitrate %BITRATE% --stats %STAT_FILE% --level 5.1 --profile main10 --high-tier --level-idc 51 --fades --aq-mode 3 --hevc-aq --weightb --rc-lookahead 48 --rect --amp --b-intra --no-sao --scenecut-aware-qp 3 --analyze-src-pics --opt-ref-list-length-pps --opt-qp-pps --multi-pass-opt-distortion --multi-pass-opt-rps --colorprim bt2020 --transfer smpte2084 --colormatrix bt2020nc --range limited --chromaloc 2 -D 10 --max-cll %MCLL% --master-display %MDISPLAY% --hdr10-opt --qpfile %CHAPTERS% --input %E_SRC% --pass 3 -o NUL 2> %LOG_FILE_2% x265_x64 --preset slower --tune %TUNING% --vbv-maxrate 90000 --vbv-bufsize 70000 --bitrate %BITRATE% --stats %STAT_FILE% --level 5.1 --profile main10 --high-tier --level-idc 51 --fades --aq-mode 3 --hevc-aq --weightb --rc-lookahead 48 --rect --amp --b-intra --no-sao --scenecut-aware-qp 3 --analyze-src-pics --opt-ref-list-length-pps --opt-qp-pps --multi-pass-opt-distortion --multi-pass-opt-rps --colorprim bt2020 --transfer smpte2084 --colormatrix bt2020nc --range limited --chromaloc 2 -D 10 --max-cll %MCLL% --master-display %MDISPLAY% --hdr10-opt --dolby-vision-profile 81 --dolby-vision-rpu %E_DOVI%.bin --qpfile %CHAPTERS% --input %E_SRC% --pass 2 -o %E_DST% 2> %LOG_FILE_3% goto :FIN :NOTUNE x265_x64 --preset slower --vbv-maxrate 90000 --vbv-bufsize 70000 --bitrate %BITRATE% --stats %STAT_FILE% --level 5.1 --profile main10 --high-tier --level-idc 51 --fades --aq-mode 3 --hevc-aq --weightb --rc-lookahead 48 --rect --amp --b-intra --no-sao --scenecut-aware-qp 3 --analyze-src-pics --opt-ref-list-length-pps --opt-qp-pps --multi-pass-opt-distortion --multi-pass-opt-rps --colorprim bt2020 --transfer smpte2084 --colormatrix bt2020nc --range limited --chromaloc 2 -D 10 --max-cll %MCLL% --master-display %MDISPLAY% --hdr10-opt --qpfile %CHAPTERS% --input %E_SRC% --pass 1 -o NUL 2> %LOG_FILE_1% x265_x64 --preset slower --vbv-maxrate 90000 --vbv-bufsize 70000 --bitrate %BITRATE% --stats %STAT_FILE% --level 5.1 --profile main10 --high-tier --level-idc 51 --fades --aq-mode 3 --hevc-aq --weightb --rc-lookahead 48 --rect --amp --b-intra --no-sao --scenecut-aware-qp 3 --analyze-src-pics --opt-ref-list-length-pps --opt-qp-pps --multi-pass-opt-distortion --multi-pass-opt-rps --colorprim bt2020 --transfer smpte2084 --colormatrix bt2020nc --range limited --chromaloc 2 -D 10 --max-cll %MCLL% --master-display %MDISPLAY% --hdr10-opt --qpfile %CHAPTERS% --input %E_SRC% --pass 3 -o NUL 2> %LOG_FILE_2% x265_x64 --preset slower --vbv-maxrate 90000 --vbv-bufsize 70000 --bitrate %BITRATE% --stats %STAT_FILE% --level 5.1 --profile main10 --high-tier --level-idc 51 --fades --aq-mode 3 --hevc-aq --weightb --rc-lookahead 48 --rect --amp --b-intra --no-sao --scenecut-aware-qp 3 --analyze-src-pics --opt-ref-list-length-pps --opt-qp-pps --multi-pass-opt-distortion --multi-pass-opt-rps --colorprim bt2020 --transfer smpte2084 --colormatrix bt2020nc --range limited --chromaloc 2 -D 10 --max-cll %MCLL% --master-display %MDISPLAY% --hdr10-opt --dolby-vision-profile 81 --dolby-vision-rpu %E_DOVI%.bin --qpfile %CHAPTERS% --input %E_SRC% --pass 2 -o %E_DST% 2> %LOG_FILE_3% :FIN Noticed the video is screwed up at a place i put an I frame in the chapter file. EDIT2 : Can reproduce with a small 200 frames centered where the issue occurs.
__________________
My github. Last edited by jpsdr; 25th May 2022 at 20:39. |
26th May 2022, 16:46 | #24 | Link |
Registered User
Join Date: Oct 2002
Location: France
Posts: 2,316
|
Fortunately i was able to reproduce with a small video, allowing me to remove options one at a time until i found the guilty.
DO NOT, NEVER USE --multi-pass-opt-rps !!!!!!!!! It's hell bugged, and it will screw up the result video ! I'm not talking result look bad, i'm talking unplayable blocked pixelised totaly screwed up result stream.
__________________
My github. |
26th May 2022, 18:08 | #25 | Link | |
Registered User
Join Date: Dec 2013
Posts: 349
|
Quote:
|
|
27th May 2022, 16:38 | #27 | Link |
Registered User
Join Date: Oct 2002
Location: France
Posts: 2,316
|
I've spend a lot of time reading the 3.5 doc of x265 and all the options, and activate everything which seems "good" for quality.
To answer the questions : @rwill The doc said : Code:
Enable motion estimation with source frame pixels, in this mode, motion estimation can be computed independently. From your experience, it's not ? @excellentswordfight The doc said : Code:
Enable adaptive quantization It scales the quantization step size according to the spatial activity of one coding unit relative to frame average spatial activity. This AQ method utilizes the minimum variance of sub-unit in each coding unit to represent the spatial complexity of the coding unit. According the description, it also seems a good option to activate. From your experience, it's not ?
__________________
My github. |
27th May 2022, 20:02 | #28 | Link |
Registered User
Join Date: Dec 2013
Posts: 349
|
Well I have no experience with that but in theory its better to use the reconstructed pixels because these are actually available on the decoder side and are the only thing a prediction can be formed from. I don't think doing ME on source pixels as reference is any good because inter prediction is formed from a reference picture anyway ..
|
|
|