View Full Version : x264 / pro encoder question
lutinor
5th April 2011, 19:50
Hi all,
I usually use cinevision 3.5 at my real life job. Today, i have to encode a low bitrate media, in something like 1200 bitrate.
Usually cinevision make perfect result but i was surpised to see mediacoder in x264 making a better result (i repeat at this kind of low bitrate).
So, why i don't use x264 ? Cause i don't see how making a 100% compliant media. Is there a gui with a 'blueray compliant preset' ? In media coder there isn't this kind of preset, do you know a gui/tool which have a compliant blueray preset ? I tryed multiavchd but the quality result is a bit under what i have in media coder
Thx in advance for your help,
Max.
J_Darnley
5th April 2011, 19:56
Did you try reading the sticky thread "Encoding Video for Blu-Ray using H264/AVC" (http://forum.doom9.org/showthread.php?t=154533)? Any GUI which gives you full control over the settings, including the output file, will be able to do it.
lutinor
5th April 2011, 20:55
Did you try reading the sticky thread "Encoding Video for Blu-Ray using H264/AVC" (http://forum.doom9.org/showthread.php?t=154533)? Any GUI which gives you full control over the settings, including the output file, will be able to do it.
Actually, i'm not at home, do you have a good GUI in mind ? I don't really want to make this in pure command line unless it's the only way :(
mp3dom
5th April 2011, 22:02
A GUI that is 'locked' to only valid settings for BD actually I think it's not yet available. The "Encoding Video for BD" thread contains all the useful infos to made compliant BD. You can also see here (http://sites.google.com/site/x264bluray/home)
Anyway, the latest version of CineVision is 3.6.1 which is based on the latest MainConcept SDK (8.6 I think). You can put an eye to see if it improves something at that low bitrates.
kieranrk
5th April 2011, 22:12
The advantage of the command line compared to the GUIs (which mostly use Avisynth) is that you get 10-bit to 8-bit dithering.
shon3i
5th April 2011, 22:40
Anyway, the latest version of CineVision is 3.6.1 which is based on the latest MainConcept SDK (8.6 I think). You can put an eye to see if it improves something at that low bitrates. It's actually bult on SDK 8.8 witch is in MC Reference 2.2. They are update MVC encoder engine, while AVC still "same" as in 8.6 SDK, there is small improvement, but still suck at low-mid bitrates.
CruNcher
6th April 2011, 00:03
i wonder what for a complexity the source is and what resolution you target i mean testing with Mediacoder if you didn't changed anything would mean you worked without any compression restrictions @ that low bitrate though restricted depending on the source you can get much different results @ to low bitrate, you need to compensate with extreme compression settings to avoid especially key frame pulsing as low key frame interval is a general Blu-Ray requirement though @ that bitrate i think it would allow to use 2x the keyframe interval which should be fine @ least much better :)
AnonCrow
6th April 2011, 00:50
With MediaCoder , should you choose to continue using it, set all the available/needed settings in x264 advanced settings and paste the rest of the blu-ray encoding command-line options at the bottom, then save it as preset.
upyzl
6th April 2011, 01:28
...no one recommended megui?
http://i.imgur.com/S40Rf.png
BTW, I like using x264 cli
lutinor
6th April 2011, 10:19
I will try before the command line, i want to be sure to make a compliant blueray media. I just get the last x264.exe from x264.nl.
My source is a 720*576 mpeg2 15megabit interlaced format (which is the lowest pal blueray compliant format). his name is source.mpg
On this official link :
http://sites.google.com/site/x264bluray/home
You have the 576i pal blueray preset but can you help me to adapt the following line ?
x264 --bitrate XXXXX --preset veryslow --tune film --weightp 1 --bframes 3 --nal-hrd vbr --vbv-maxrate 40000 --vbv-bufsize 30000 --level 4.1 --keyint 25 --b-pyramid strict --open-gop bluray --slices 4 --ref 6 --tff --aud --colorprim "bt470bg" --transfer "bt470bg" --colormatrix "bt470bg" --sar 16:11 --pass 1 -o out.264 input.file
x264 --bitrate XXXXX --preset veryslow --tune film --weightp 1 --bframes 3 --nal-hrd vbr --vbv-maxrate 40000 --vbv-bufsize 30000 --level 4.1 --keyint 25 --b-pyramid strict --open-gop bluray --slices 4 --ref 6 --tff
--aud --colorprim "bt470bg" --transfer "bt470bg" --colormatrix "bt470bg" --sar 16:11 --pass 2 -o out.264 input.file
I guess the first code make the first pass and the second launch the final file but i need help to adapt the command line, thx in adv,
Max
kieranrk
6th April 2011, 12:13
--fps 25/1 --force-cfr is recommended
lutinor
6th April 2011, 14:42
--fps 25/1 --force-cfr is recommended
Thx but can you tell me how i can put the right line about input / output ? I'm new on x264 command line.
Can you copy paste the right line with my input file ?
kieranrk
6th April 2011, 15:15
Can you copy paste the right line with my input file ?
I could but then you won't learn how to use the command line. :)
Basically replace XXXXX with the bitrate you want in kbps. Replace in.file with your file name.
Add the two settings I mentioned to the end of both.
lutinor
6th April 2011, 23:47
I could but then you won't learn how to use the command line. :)
Basically replace XXXXX with the bitrate you want in kbps. Replace in.file with your file name.
Add the two settings I mentioned to the end of both.
Ok, i managed to use the command line (thx to you btw lol) but i have some quick questions :
On the official site (http://www.x264bluray.com/home/576i-pal)
You don't see your 2 recommanded settings aka --fps 25/1 --force-cfr , why is it important to put these ?
Second, x264 tell me 2 things which make me like this :confused:
1: [info] 720x576i 64:45 @ 25/1 fps <vfr>
you want to put cfr but what's the difference ? and if i change it, will it be bd compliant ?
2: [warning] interlace + weightp is not implemented
is it a problem ? what does this mean ?
Thx in adv for your help and sorry for my noob level lol
kieranrk
7th April 2011, 00:15
You don't see your 2 recommanded settings aka --fps 25/1 --force-cfr , why is it important to put these ?
Some sources like yours don't have exact CFR timestamps so it's important to use those two settings in order to make sure the output is CFR. Blu-ray mandates CFR. CFR means constant framerate.
(I am the owner of that site by the way. There is a notice on the front of the site about forcing CFR)
lutinor
7th April 2011, 07:31
Some sources like yours don't have exact CFR timestamps so it's important to use those two settings in order to make sure the output is CFR. Blu-ray mandates CFR. CFR means constant framerate.
(I am the owner of that site by the way. There is a notice on the front of the site about forcing CFR)
Thx a lot for your help but can you tell me about this :
[warning] interlace + weightp is not implemented
is it a problem ? what does this mean ?
sneaker_ger
7th April 2011, 12:19
It's no problem and it means exactly what is says: the feature "weightp" = "weighted p prediction" is not supported in interlaced mode - it will be turned off automatically. kierank should probably remove it from the page. (Or maybe he wants to leave it in, in case support is implemented in a future version. It doesn't do any harm regardless.)
lutinor
7th April 2011, 15:56
You are very nice ^^
Now after a few day , i can deal with x264. After the basic, there is advanced command which i would like to know.
Is it possible to make batch encode ? I mean if i have 10 files to encode, am i forced to launch like this :
first manual encodage
ZZzz ZZzz wait wait ZZzzzZzz
Second manual encodage
...
If there is possible to batch, do you have an example ?
poisondeathray
7th April 2011, 16:01
If there is possible to batch, do you have an example ?
You can look at these threads for examples of x264 batch
http://doom10.org/index.php?topic=212.0
http://doom10.org/index.php?topic=218.0
After the basic, there is advanced command which i would like to know.
You can refer here for short description of commands
http://mewiki.project357.com/wiki/X264_Settings
also
--fullhelp
lutinor
7th April 2011, 18:33
You can look at these threads for examples of x264 batch
http://doom10.org/index.php?topic=212.0
http://doom10.org/index.php?topic=218.0
You can refer here for short description of commands
http://mewiki.project357.com/wiki/X264_Settings
also
--fullhelp
Thx i will read this :) Btw, the only 'powerful' gui which can deal with the last x264 is imo the megui, unless someone know better? In megui with auto update you have a lot of template but maybe there is better, good question ^^
Any opinion about that ?
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.