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. Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se |
|
|
#1 | Link |
|
Registered User
Join Date: Sep 2006
Posts: 2,205
|
Good x264 settings
Im looking for good settings I can use with x264 when my aim is a lossless encode (=good PQ) and minimal filesize at the same time. (for testing and the lulz, so please no debate about how useful this is)
I'd just go and choose crf 0, placebo profile and then tick all boxes I can / increase all numbers to the max. but from what I can see does activating (ticking) the boxes not in all cases automatically mean that the best setting for my purpose is selected, in some cases it seems that not ticking a box seems to be the better choice. in other cases, it might be questionable if one setting or the other might provide the better result in the end (maybe the deblockling settings) since I am a complete noob with x264, is anyone able to tell which settings these are, which boxes I have to tick, values I have to set to max? or maybe the other way round if thats shorter, so which few settings not to tick or not to set to max?
__________________
Laptop Lenovo Legion 5 17IMH05: i5-10300H, 16 GB Ram, NVIDIA GTX 1650 Ti (+ Intel UHD 630), Windows 10 x64, madVR (x64), MPC-HC (x64), LAV Filter (x64), XySubfilter (x64) (K-lite codec pack) Last edited by Guest; 22nd November 2011 at 03:10. Reason: rule 12: don't ask what's best |
|
|
|
|
|
#2 | Link |
|
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
x264 is a console program, there are no boxes to tick. You have to pass the options via the command line.
Lossless encoding as per cli help is "--qp 0". So, the command line would be: Code:
x264 --qp 0 -o <output> <input> |
|
|
|
|
|
#3 | Link |
|
契約者
Join Date: Jun 2008
Posts: 1,576
|
Thunderbolt8
With lossless encode you don't need to "tick all boxes", cause they don't have a lot of meaning anyway. Some options that is most usefull for normal encoding are disabled at all. So leave everything at defaults. "best PQ possible" -> you can't say that about lossless encode. Lossless is always the SAME as the original in terms of quality. In other words, if you got some filesize with lossless encode, you can't really make it noticeably smaller. You can try to apply some heavy denoising before encoding, that will make file smaller. Last edited by Keiyakusha; 22nd November 2011 at 02:19. |
|
|
|
|
|
#4 | Link |
|
Registered User
Join Date: Sep 2011
Posts: 86
|
Here is another set of option explanations.
Most of the options are about how to choose where the loss will occur, so possibly have no effect in a lossless situation. crf 0 isn't lossless, use qp 0. |
|
|
|
|
|
#8 | Link | |
|
Registered User
Join Date: Sep 2006
Posts: 2,205
|
was thinking about being in megui that would make it easier for me to find out about all the stuff I can apply. Id just copy the command line over then.
Quote:
and what about the difference of a lossless encode in 8 or 10-bit? do they differ in terms of quality or filesize?
__________________
Laptop Lenovo Legion 5 17IMH05: i5-10300H, 16 GB Ram, NVIDIA GTX 1650 Ti (+ Intel UHD 630), Windows 10 x64, madVR (x64), MPC-HC (x64), LAV Filter (x64), XySubfilter (x64) (K-lite codec pack) |
|
|
|
|
|
|
#9 | Link |
|
Registered User
Join Date: Sep 2011
Posts: 144
|
hi
I also intrested in lossles dvd backup .so i started reading threads frm forum. The conclusion may help u. Dvd is compresed lossily,so when u decompres it size wij go upto 130gb. (one guy frm ths forum showd ths with calculation ,which i dönt understand.)so when u use crf 0 it will go upto. 56gb or somethng around. And as u said u want less size it is fruitless. so from all above discusion the following setting give visualy lossles bakup. In megui use sharktöots x264 insane prest with 18crf. Or use bitrate of 3k to 4k. i thnk ths will help u .further comment are welcome. |
|
|
|
|
|
#10 | Link |
|
Registered User
Join Date: Jul 2008
Posts: 75
|
Are you talking about lossless "for realz", where the post encode video, when decoded, is mathematically identical to the pre encode one, or are you simply interested in visually transparent, ie you can't see any difference? You can still do a lossy encode but get a result where you won't be able to see a difference when you compare it to the original.
|
|
|
|
|
|
#11 | Link | ||
|
Registered User
Join Date: May 2006
Posts: 957
|
Quote:
Quote:
With a 10-bit input, 8-bit clearly won't retain everything. 10-bit will. To all: if you want a transparent encode, use crf 18 or possibly lower, depending on what you find is transparent. Transparent in this context means that you should not be able to tell the the difference between the input and the output when it is playing at regular speed in your regular viewing situation. This is a whole different concept to lossless.
__________________
x264 log explained || x264 deblocking how-to preset -> tune -> user set options -> fast first pass -> profile -> level Doom10 - Of course it's better, it's one more. |
||
|
|
|
|
|
#12 | Link |
|
Registered User
Join Date: Sep 2006
Posts: 2,205
|
im not just talking about a transparent encode, simply as good as theoretically possible.
from what I heard 10-bit encoding (with 8-bit input) can help to preserve grain and also help to decrease banding when using a rather "normal" amount of bitrate. so when doing a lossless encode, I guess this advantage will be void anyway, right?
__________________
Laptop Lenovo Legion 5 17IMH05: i5-10300H, 16 GB Ram, NVIDIA GTX 1650 Ti (+ Intel UHD 630), Windows 10 x64, madVR (x64), MPC-HC (x64), LAV Filter (x64), XySubfilter (x64) (K-lite codec pack) |
|
|
|
|
|
#13 | Link | |
|
Registered User
Join Date: May 2007
Posts: 53
|
Quote:
Last edited by infoeater; 29th November 2011 at 00:30. |
|
|
|
|
![]() |
|
|