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. |
![]() |
#9141 | Link | |
Registered User
Join Date: Jun 2020
Posts: 3
|
Are you saying that there is no ideal optimal value?
Quote:
|
|
![]() |
![]() |
![]() |
#9142 | Link |
Registered User
Join Date: Sep 2023
Posts: 28
|
Hello,
What is the impact (quality of the output, compression efficiency, easiness to decode the encoded video or the 3 maybe?) of using --limit-refs 3 vs --limit-refs 1 and --subme 5 vs --subme 7 ? I've noticed that using limit-refs 1 makes my encoding take 20-25 minutes longer for a 24 minute anime episode (1h20 vs roughly 56 minutes with limi-tefs 3). Same with --subme 7, it has a lesser impact but still like 3-4 minutes on the encoding and not sure it's worth it (if it gives like 10% more quality/details vs --subme 5 it is worth it) |
![]() |
![]() |
![]() |
#9144 | Link |
Moderator
![]() Join Date: Jan 2006
Location: Portland, OR
Posts: 4,653
|
Limiting it to 25 would improve parallelization, but absolutely could reduce compression efficiency. Lowering CTU makes more WPP parallelism possible, but doesn't mitigate the potential quality hit from a too-small search range.
|
![]() |
![]() |
![]() |
#9145 | Link |
Registered User
Join Date: Jun 2020
Posts: 3
|
Sorry. I'm sorry for the afterthought of the information, but the source is SD size (720x480).
It seems that --cti 16 gives better results than --ctu 64/32 for SD size. I have tried --merange values of 57/25/16, but I can't decide between them, so I wanted to ask if there is a mathematically/theoretically correct setting. |
![]() |
![]() |
![]() |
#9146 | Link | |
ffx264/ffhevc author
Join Date: May 2007
Location: /dev/video0
Posts: 1,818
|
Quote:
__________________
TV: Samsung QE50Q60T AVR: Denon AVR-X1700H CD: Yamaha CD-S300 Tuner: TechniSat 143v3 BD: Samsung UBD-M8500 Speakers: Klipsch Reference Phono: Audio-Technica AT-LP120X Amp: Marantz PM6007 |
|
![]() |
![]() |
![]() |
#9148 | Link | ||
Moderator
![]() Join Date: Jan 2006
Location: Portland, OR
Posts: 4,653
|
Quote:
Quote:
57 is really a fine default unless there's a big need for more parallelism. |
||
![]() |
![]() |
![]() |
#9149 | Link |
21 years and counting...
Join Date: Oct 2002
Location: Germany
Posts: 716
|
I could use some pro advice about setting aq-strength. Again.
![]() After reading some posts and comments, I can't decide if I should use 1.0 or 1.5 as a 'default' setting for my encodes. I use jp's patman mod with a custom very-slow preset @ CRF17 for 1080p sources. My sources are mostly quite clean as I denoise them with a complex mv-based denoiser script before encoding. my settings look like these: Code:
--preset veryslow --crf 17.0 --qpfile "D:\WORK\test\chp.qpf" --repeat-headers --input-depth 16 --output-depth 10 --dither --profile main10 --high-tier --level-idc 4.1 --vbv-bufsize 50000 --vbv-maxrate 50000 --ctu 32 --limit-refs 1 --rd 6 --aq-mode 5 --aq-auto 10 --aq-strength 1.5 --psy-rd 2 --psy-rdoq 4 --rskip 2 --rskip-edge-threshold 2 --no-sao --no-strong-intra-smoothing --deblock -1:-1 --colorprim bt709 --transfer bt709 --colormatrix bt709 With aq-strength 1.5 file sizes increase, depending on source. So more bits are hopefully spend where it matters. But is there a downside to a higher aq-strength I should keep in mind (besides bigger file sizes)? |
![]() |
![]() |
![]() |
#9150 | Link | |
Moderator
![]() Join Date: Jan 2006
Location: Portland, OR
Posts: 4,653
|
Quote:
In a general sense, 1.0 is a rational default. I'd use a bit lower if I know the content is cel animation, a little bit higher if I knew it was professionally produced film or video. 1.5 isn't crazy high or anything. With high tier crf=17, I would expect the impact of AQ could be more in file size than perceptual quality. There aren't any good public metrics for AQ modes; PSNR and SSIM often show lower scores for better subjective quality, and VMAF is pretty blind to even pretty visible AQ impacts. Finding your optimal value is really down to trying a few variants and picking what you like best with your eyeballs. Since you're using 1.5 already, trying 1.0 and 2.0 could give you a sense of the impact of different values in subjective quality and file size. |
|
![]() |
![]() |
![]() |
#9152 | Link |
Moderator
![]() Join Date: Jan 2006
Location: Portland, OR
Posts: 4,653
|
So, now that Apple is resuscitating stereoscopic 3D video, has anyone done any work getting MV-HEVC working with x265? It's basically left eye as a normal 2D stream and a right eye encoded using the left eye as reference, so not that theoretically hard to extend.
https://developer.apple.com/videos/p...0071/?time=320 |
![]() |
![]() |
![]() |
#9153 | Link |
Registered User
Join Date: Oct 2023
Posts: 1
|
Hi,
Could smbd please share an example of using ZONES (e.g. to assign different CRF) for x265 encoding with FFMPEG? (as far as I know it may be via x265-params) If no FFMPEG example, same example for direct command line x265 encoder would be helpful also, hopefully syntax isn't much different. Thank you. |
![]() |
![]() |
![]() |
#9154 | Link | ||
Moderator
![]() Join Date: Jan 2006
Location: Portland, OR
Posts: 4,653
|
Quote:
The documentation lists --zonefile as a CLI-only feature; I don't know that it is implemented in ffmpeg. Also, CRF isn't one of the parameters that can be specified. Only QP or a bitrate multiplier are listed. From: https://x265.readthedocs.io/en/3.4/c...ortion-options Quote:
|
||
![]() |
![]() |
![]() |
#9155 | Link | |
Registered User
Join Date: Oct 2023
Posts: 3
|
Hello,
Please tell me the optimal settings for encoding movies (only 1080p BDRemux to h.265 10bit). I want to get good quality with a normal encoding speed. Avg QP should not be higher than 22! I currently use the following settings: Quote:
What settings can boost speed encoding with minimal quality loss? Thanks! Last edited by maroders2; 24th October 2023 at 18:53. |
|
![]() |
![]() |
![]() |
#9156 | Link | |
Registered User
Join Date: May 2009
Posts: 326
|
Quote:
What is your current processor? |
|
![]() |
![]() |
![]() |
#9157 | Link | |
Moderator
![]() Join Date: Jan 2006
Location: Portland, OR
Posts: 4,653
|
Quote:
I'd start with just --preset slower --level-idc 4.1 --ctu 32 --crf 20 --selective-sao 2 and see how it goes quality and speed wise. If it's way too slow, try --preset slow. If it doesn't look good enough, try --crf 18. It looks like you're way overrunning for detail, which you shouldn't start with. That's something to do only if there's visible detail loss during playback. Don't sweat how a zoomed in screen shot looks unless you're going to be watching the video as a zoomed-in screen shots. I don't know what a "normal" encoding speed is to you, but --preset slower with the settings I give above approaches real-time on a recent desktop processor with 12+ cores. If you are doing preprocessing along with encoding, check that preprocessing isn't using up lots of your CPU, or is serialized in a way that gates x265 performance. A good share of "why is my encoding so slow" problems have little to do with the encoder. |
|
![]() |
![]() |
![]() |
#9158 | Link | |
Moderator
![]() Join Date: Jan 2006
Location: Portland, OR
Posts: 4,653
|
Quote:
Edit: --selective-sao 2 is effectively free. And --ctu 32 for 1080p and below is a nice boost if you have the cores to take advantage of the extra WPP row of parallelism. |
|
![]() |
![]() |
![]() |
#9159 | Link | |
Registered User
Join Date: Oct 2023
Posts: 3
|
Quote:
I want to have a good quality of the picture, which would not lose much x264. The speed is in second place, but I would like to have at least 2 fps so as not to encode 20 hours for one movie I read in the documentation that in the case of -bframes 16, the encoder itself chooses the one it needs. I also found other settings here on the forum, although I admit that I don't quite understand how to use them. I heard the advice to start with a slow preset many times, I started with this, but then I started randomly adding other settings ![]() |
|
![]() |
![]() |
![]() |
#9160 | Link |
Registered User
Join Date: Oct 2023
Posts: 3
|
What do you think about the QxR team's BDRips?
I know that BDRips are not the best of quality, but they are ready for use. My PC doesn't meet my needs right now, so I might start building a home movie collection of their BDRips. |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|