Log in

View Full Version : x264 with out Gui ?


sat-jokar
25th September 2009, 01:30
hello ,

How can I use x264 alone (command-line) with out any Gui ,

is there is any video training for x264 and how we use ?


thanks guys

Inspector.Gadget
25th September 2009, 01:35
Run x264 without any options in a command window. All the necessary documentation (though, of course, not all possible discussion) is included.

LoRd_MuldeR
25th September 2009, 01:40
The synatx is like this:
x264.exe --crf 24 -o output.mkv input.avs

Run "x264.exe --help" for a list of the basic options, run "x264.exe --longhelp" for a more complete list or run "x264.exe --fullhelp" to list even rare options.

Some more info on x264 options can be found here, for example:
http://sites.google.com/site/linuxencoding/x264-ffmpeg-mapping

Another guide is here:
http://mewiki.project357.com/wiki/X264_Settings

sat-jokar
25th September 2009, 01:46
The reason i ask this Because i see one Post here

http://forum.doom9.org/showthread.php?t=147293

as you can see this guy not using any Gui ,

so if i decide to use megui can any one give me xml file for the same way that guy options with x264 alone ?

LoRd_MuldeR
25th September 2009, 01:50
MeGUI previews the parameters that will be passed to x264 in the "x264 configuration" dialog. Also it allows you to enter "custom" parameters.

So it shouldn't be too hard to set up the same parameters as in that thread ;)

Anyway, you have already been told how to run x264.exe from the commandline without a GUI. So what exactly is the problem?

sat-jokar
25th September 2009, 01:54
I dont have any Experience with this , I always use Sharktooth profile , i just Choose the Profile i want and Encode so i really don't have any Experience ,

Please if you can give me xml file for all that guy options it will be so nice ,

you have already been told how to run x264.exe from the commandline without a GUI

yes and its look Very difficult to me

LoRd_MuldeR
25th September 2009, 01:58
x264 now has a built-in preset system! So all you really need is the "--preset" switch, maybe combined with the "--tune" switch. No need for any XML files.

Please see "x264.exe --help" for details...

(Note: Additional switches usually will not be required. Use them only, if you know what you are doing and if you know why you need them)

yes and its look Very difficult to me

Feel free to ask. But unless you tell us what exactly your problem is, we can't help...

sat-jokar
25th September 2009, 02:14
I really tried, but no luck , to many things i do not understand like > --trellis 2 and --psy-rd 1.02:0.4 (this is the optimal for me after lots of tests) adjust from 1.0:0.2 to 1.08:0.5
--ref 16 (Overkill??? x264 reported ~98% of refs between 1 to 9) adjust from 9 - 12
--partitions all
--me umh
--merange 16
--subme 9
--mixed-refs
--8x8dct


its Very difficult for someone Had no knowledge about how this things work ,

Dark Shikari
25th September 2009, 02:16
I really tried, but no luck , to many things i do not understand likeThere is no such text in "x264 --help".

RunningSkittle
25th September 2009, 03:14
dark shikari: he was quoting from the previously mentioned thread

sat-jokar: The current megui profiles are broken with recent x264, just use x264 preset and tuning (look here: http://forum.doom9.org/showthread.php?t=148149)

If you cannot understand simple CLI interface then maybe stick to megui:confused:

sat-jokar
25th September 2009, 05:55
thanks guys , finally i have something work , I know now How i can use x264 with out Gui , i just want ask , what synatx I have to use to choose bitrate ? I want use 240 bitrate for my file ,

thanks

Dark Shikari
25th September 2009, 05:56
thanks guys , finally i have something work , I know now How i can use x264 with out Gui , i just want ask , what synatx I have to use to choose bitrate ? I want use 240 bitrate for my file ,

thanksx264 --help

sat-jokar
25th September 2009, 06:03
x264 --help

thanks , i found it > --bitrate 240

lol . thanks again