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. |
8th March 2017, 06:12 | #4923 | Link |
Registered User
Join Date: Jul 2016
Posts: 19
|
elahn,
I would look over at http://x265.readthedocs.io/en/default/cli.html and read up on what each option does. This is where I went back to, through many iterations of encodes. I found that there is nothing like trial and error to see what options are worth enabling and others disabling. The defaults are generally set for a reason, to give an all around acceptable quality for the time it takes to encode at the users desired bitrate. Use a short 24 minute episode to try different settings. Too short of a clip will not show some fine tuning. and long clips will be forever to decide if things like that --preset plecebo was worth it. Don't get caught up in the chasing options forever and enabling or changing everything, presets are there for a reason, then apply small changes for your needs. ~Majorlag |
8th March 2017, 09:46 | #4924 | Link | |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,783
|
Quote:
b) They all are HEVC encoders, so they all behave in a similar way, and none does miracles. Bitrate is usually spared by decisions which details can be reduced with little annoyance. Such decisions can be more or less appropriate, depending on both the video material and the person looking at it. |
|
8th March 2017, 17:28 | #4925 | Link |
Moderator
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,770
|
Also, --tune grain is very often suboptimal for quality @ bitrate. So if getting as good subjective quality as is possible at a low bitrate is the goal, --tune grain is only useful with really grainy content, mainly at higher resolutions where the actual spatial frequencies are mainly noise.
|
8th March 2017, 20:14 | #4926 | Link | |
Registered User
Join Date: May 2015
Posts: 185
|
Quote:
--tune grain is for grainy content as the name implies... duh! --tune grain is not, never was and never will be a "cookie cutter all-around" parameter to always consider when doing encodes. It is not the "always 100% right" solution as others have wrongly implied in the past 3 pages of this thread. |
|
8th March 2017, 20:36 | #4927 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,733
|
For what it's worth, the encoder cannot tell grain from actual detail or noise. What we --tune grain users have been saying is that the tuning tends to bias towards keeping things as they are in the source; be it grain, detail or noise. It does this at a cost of a higher bitrate so you most likely will not see the advertised 50% bitrate savings compared to H.264.
As always, everything depends on what you personally seek - you must test things yourself and then use whatever looks best to your eyes. We are only spoon-feeding you options to test. EDIT: Earlier I posted some sample screenshots here: https://forum.doom9.org/showthread.p...22#post1734222 when I compared x264 and "non-tune-grain" settings of x265 more. I have made short tests after that with more recent builds of x265 every now and then, but the problem of vanishing details is still there unless I use --tune grain.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... Last edited by Boulder; 8th March 2017 at 21:03. |
8th March 2017, 21:06 | #4929 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,733
|
As I mentioned earlier, my encodes with x265 have generally been 10-30% smaller than the ones with x264 with at least similar visual (subjective) quality.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
9th March 2017, 00:01 | #4930 | Link |
Registered User
Join Date: Aug 2016
Posts: 60
|
Do I have a different interpretation of this section of the manual than everyone else?
"Tune grain also biases towards decisions that retain more high frequency components." That's a quality algorithm, right there. EDIT: Besides, there was NO GRAIN in that Yacht Ride comparison I posted, was there? The non-grain encode was 6.27mb, the grain encode was 10.7mb. Given the massive quality superiority of the grain encode, I consider the expanded bitrate to be well worth it. Last edited by WhatZit; 9th March 2017 at 00:18. Reason: Going on a Yacht Ride, again |
9th March 2017, 00:28 | #4931 | Link | |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Quote:
Consequently, the more bits you spend on retaining "more high frequency components", the less bits will be available for the lower frequency components, of course. It's all a trade-off! At high enough target bitrate that may be okay, but at medium to lower bitrates it can definitely cause problems. Surely, you can just crank up the bitrate when using "tune grain" - which in CRF mode happens kind of "automatically" - but then again you end up with files of different size (i.e. different average bitrate). If the file with "tune grain" is allowed to use more bits than the file with "default" settings (without "tune grain"), then any quality comparison of those files will inherently be biased/unfair.
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 9th March 2017 at 00:30. |
|
9th March 2017, 00:43 | #4932 | Link | |||
Registered User
Join Date: Aug 2016
Posts: 60
|
Quote:
Quote:
Quote:
By now, all I think you want to do is to troll x265, i.e.: complaining about quality while encoding in 8-bits, complaining about quality while encoding at low-bitrates, and/or complaining about size or speed when detail preservation techniques are used. |
|||
9th March 2017, 09:24 | #4933 | Link | |
Registered User
Join Date: May 2015
Posts: 68
|
Quote:
The point of the codec is to get maximum quality at lower bitrates than previous gen codecs. For maximum quality per bitrate, tune grain is suboptimal for non grainy or non noisy sources. As the name implies, it is meant to preserve detail (grain, noise) in grainy sources. |
|
9th March 2017, 09:59 | #4934 | Link | |||
Registered User
Join Date: May 2015
Posts: 68
|
Quote:
Quote:
Quote:
If you want to compare quality, do so at the same bitrate/filesize. |
|||
9th March 2017, 11:09 | #4935 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,783
|
Not exclusively. High frequencies are also useful for more or less regular patterns, as well as sharp edges.
That's the main problem of "noise filters": They can't "see" whether an area contains desired structure or undesired noise. Last edited by LigH; 9th March 2017 at 11:11. |
9th March 2017, 11:52 | #4936 | Link | |
Registered User
Join Date: May 2015
Posts: 185
|
Quote:
I mean they could be used to help the encoder "see" whether an area is a background with less details where less details/less bitrate can be spent over a foreground area where details/higher grain retention is more crucial because that's the area of the frame our eyes are focused on? |
|
9th March 2017, 11:58 | #4937 | Link | |
Registered User
Join Date: Aug 2016
Posts: 60
|
You know what ELSE is high frequency?
Hair, textiles, vegetation, dirt, architecture, fur, water, eyelashes, fences, cobblestones, cliff-faces, bulletholes, control panels, spoked wheels, wood... basically, anything which needs to be represented by hard edges. Now, what would you call those picture elements? I'd call them detail. Quote:
That was the purpose of the demonstration, in fact that's all I'm going on about: to show how one single option can produce output that is the same quality (subjectively) as 20 individually specified options. Yes, different sizes because different regimes. But I don't starve my encodes of bits, so I never run into any "suboptimal" situations. I've used --tune grain ubiquitously for 100's of encodes in the last 9 months. It never leaves the command line. A year ago, my x265 options stretched for 3 lines! Some people think that makes themselves an elite special snowflake. To me, it was annoying to maintain. Now, I only vary the preset & crf as required for light, dark, high-motion, high-detail, grainy, clean or any other type of content you care to name, because I have the experience to know what to use. For me, it DOES work as a quality silver bullet, probably because I never starve my encodes of bits. Quality is number one. Naturally, if you simply don't like it, don't use it. If quality is also not number one for you, definitely don't use it. |
|
9th March 2017, 12:26 | #4939 | Link |
Registered User
Join Date: Dec 2005
Location: Qetchua mountains in Peru, and Klingon battlecruiser D'Mar
Posts: 393
|
Can someone, please, tell me how can I retain details in 720p and 1080p encodes, bitrate around 1000 for 720p and about 1650 for 1080p
Gesendet von meinem GT-I9295 mit Tapatalk
__________________
Live long and prosperLive long and prosperLive long and prosper |
9th March 2017, 12:50 | #4940 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,783
|
Assuming 24 fps as low anchor:
1,000,000 bps : 1280 : 720 : 24 fps ~ 0.045 bppf (bits per pixel and frame) 1,650,000 bps : 1920 : 1080 : 24 fps ~ 0.033 bppf I hope you encode only talk shows or landscape stills. Any more action, and the "pixel bitrate" may be too small to retain enough quality to be satisfied. It is not a reliable estimation, but you seem to expect miracles (thumb rule for DivX was 0.3 bppf, a decimal magnitude more than your target). |
|
|