Hello!
On the way to make x264-encoded video as compatible as possible I'm stuck with x264 presets... I've googled it a lot and did not find any certain information
So, I have 540p video... I'm encoding the video without "--preset" parameter with such string:
If I manually set "--preset veryslow" or "--preset placebo" I get a smaller file size and this is obvious and clear to meCode:--profile baseline --level 3.0 --preset medium --bluray-compat --tune film --crf 23.5 --keyint 24 --ref 1 --vbv-bufsize 10000 --vbv-maxrate 10000 --colorprim bt709 --transfer bt709 --colormatrix bt709 --sar 1:1
But the question is... does video encoded with "--preset veryslow" or "--preset placebo" remains as compatible to software/hardware decoder as with "--preset medium" ? Especially in cases when "profile" and "level" specified manually?
And by the way:
http://dev.beandog.org/x264_preset_reference.html
here we have a nice table that tell us which exact parameters is changed by the "--preset" option
And what is not clear to me at all... which of them have effect on decoder?
Can someone point out such parameters from that link?
+ Reply to Thread
Results 1 to 6 of 6
-
-
Are your decoder support only baseline and level 3? Then it is NOT BD compliant. BD is capable to do high profile and level at least 4.0.
x264 should restrict all parameters to boundaries described by BD compatibility but if your decoder is not BD capable then you need to manually describe limitations. -
No, I'm not trying to make BD-compliant... I use "--bluray-compat" just because it turns on "--b-pyramid 1", "--min-keyint 1" and "--weightp 1" no matter what profile, level and preset I choose... but with other parameters it's truly hard to say whether it is decoder-capable or not.
I've encoded some videos with "medium", "very slow" and "placebo" presets and after that looked at the MediaInfo produced output for that files and there difference in encoder settings:
Code:--profile baseline --level 3.0 --preset medium --bluray-compat --tune film --crf 23.5 --keyint 24 --ref 1 --vbv-bufsize 10000 --vbv-maxrate 10000 --colorprim bt709 --transfer bt709 --colormatrix bt709 --sar 1:1 --profile baseline --level 3.0 --preset veryslow --bluray-compat --tune film --crf 23.5 --keyint 24 --ref 1 --vbv-bufsize 10000 --vbv-maxrate 10000 --colorprim bt709 --transfer bt709 --colormatrix bt709 --sar 1:1 --profile baseline --level 3.0 --preset placebo --bluray-compat --tune film --crf 23.5 --keyint 24 --ref 1 --vbv-bufsize 10000 --vbv-maxrate 10000 --colorprim bt709 --transfer bt709 --colormatrix bt709 --sar 1:1
Code:----------------------------------------------- preset medium placebo very slow ----------------------------------------------- analyse 0x1:0x111 0x1:0x131 0x1:0x131 ----------------------------------------------- me hex tesa umh ----------------------------------------------- subme 7 11 10 ----------------------------------------------- me_range 16 24 24 ----------------------------------------------- trellis 1 2 2 ----------------------------------------------- fast_pskip 1 0 1 -----------------------------------------------
-
IMHO you should check tune 'fastdecode' to understand what really impact decoder. IMHO decoding should be not hit for above parameters - they are related to encoder analysis complexity.
fastdecode: --no-cabac --no-deblock --no-weightb --weightp 0 -
Thank you so much... That was really helpful and exactly what I was looking for so long =)
One more question please, I really messed up with "deblock" now after encoding with "fastdecode"
If I understand correctly "fastdecode" is a "tune" option
By the way I'm using MeGUI as frontend for x264 encoder and it gave me some weird stuff...
After I found and checked "fastdecode" in x264-settings dialog encoding string changed from "--tune film" to "--tune film,fastdecode"... Is this legit? I mean combining film and fastdecode tunes?
So I've done two more test encodings ( difference marked with red color ):
Code:--profile baseline --level 3.0 --bluray-compat --preset veryslow --tune film --crf 23.5 --keyint 24 --ref 1 --vbv-bufsize 10000 --vbv-maxrate 10000 --colorprim bt709 --transfer bt709 --colormatrix bt709 --sar 1:1 --profile baseline --level 3.0 --bluray-compat --preset veryslow --tune film,fastdecode --crf 23.5 --keyint 24 --ref 1 --vbv-bufsize 10000 --vbv-maxrate 10000 --colorprim bt709 --transfer bt709 --colormatrix bt709 --sar 1:1
Code:----------------------------------------- tune film film,fastdecode ----------------------------------------- deblock 1:-1:-1 0:-1:-1 -----------------------------------------
-
AFAIR you can use only single tune as such you need to add to your command line tune settings separately. So instead "-tune fastdecode" you can use:
Code:--no-cabac --no-deblock --no-weightb --weightp 0
Similar Threads
-
How do I use a new x264 encoder version in MeGUI ?
By VideoFanatic in forum Video ConversionReplies: 4Last Post: 17th Apr 2020, 06:39 -
x264 presets in lossless(?) conversion
By Juha in forum Video ConversionReplies: 18Last Post: 13th May 2016, 00:58 -
Encoder different presets
By TricksterTokuchi in forum Video ConversionReplies: 9Last Post: 21st Dec 2015, 01:28 -
x264 lossless and presets help
By reigan42 in forum Newbie / General discussionsReplies: 18Last Post: 2nd Jul 2015, 15:21 -
need to find such x264 encoder
By SnapPop in forum Newbie / General discussionsReplies: 9Last Post: 18th Aug 2014, 09:22