AutoX264, Encoding gui to H.264 (Windows Version)

        In this guide i will show how to use the Windows version (based on 0.18.xxx.xxx)

AutoX264 is an application aimed for encoding several kind of files with H.264 Video Codec, and with MP3 or AAC audio codec.

AutoX264 is a crossplatform application, avaiable both for windows and linux.


First of all i suggest to download the all inclusive package -> FULL PACKAGE
Usually i will publish only main application update, namely autox264.exe, in this case simply download the latest one and substitute the old one's

Index

First Thing to do
Second Thing to do
Third thing to do
Subtitle Options: MKV and Subtitle!
Now Ready for encoding
How to report problem
Advanced Options: X264 Options
Advanced Options: Saving X264 Custom Profile
Advanced Options: Video Filters
Advanced Options: Encoders and Muxers
Advanced Options: Using AviSynth
Advanced Options: Queue
Advanced Options: Save Path and Settings
Advanced Options: Troubleshooting
-------------------------------------------------------------------------------------------------------


First thing to do (select input and analyze it)

First of all remember to install avisynth if you want to use the advanced features of AutoX264

Launch AutoX264, this window will appear
The first putton to click is "Open File..."
The second one is "Analyze with..."

"Analyze with..." could work for several seconds, but no more the 1 minute. If AutoX264 hang for too much, close it. Relaunch and select MediaInfo as analyzer.

After hitting these 2 button AutoX264 is already ready to encode.


You can also quickly load a MeGui profile (already bundled), in this way you are sure to use correct options.

NOTE: File Size and Bitrate in Megui profile are ignored. You must manually set the Final Size.

NOTE: Only on profile saved by AutoX264 the Size/CRF/Manual Bitrate are respected


This is how will appear the top of autox264 after hit "Analyze with..."
We can see the resolution detected, the framerate, numbers of frames and how many seconds in lenght the movie.
We also have the AR and have the possibility to resize.

Using this slideryou can resize the movie to your preferred resolution.
When you want, you can click on button to have a resizer preview of your file (with audio!)

Second thing to do (select profile and size)

After selecting the input, and analyzed it AutoX264 is ALREADY ready for encoding!

BUT you can tune the encoding to your needs, selecting varius x264 switches, audio codec, and how many pass you want to do

If you are costumed with MeGui, or want to be sure to select  "correct" options, in first panel you can select the MeGui profile, in this way AutoX264 will set all X264 values automatically, reading the profile.

After selecting the profile, please check the Final MB (or CRF) value. This will be how many megabites will be your final encoded (audio+video) file
In this case the "Final MB(or CRF)" value is 18, AND plese note that check in on "1 crf pass".
That mean you will do a Constant  Rate Factor encoding with a crf equal to 18 (very good quality)
In this case you will do a 2 pass encoding with a final size of 25MB

As you can see AutoX264 could do a
1 abr pass : so a 1 pass with an average bitrate computed by autox264
2 pass : a two pass encoding, this way will guarantee the exact final size (Final MB) selected
1 crf pass : a quality encoding, 1 pass. The crf  value is the one written on Final MB (or CRF). In that encoding the final size is unpredictable. But quality will be proportional to crf value selected (the less the better)
Copy Video : in this way you can copy the original video, without reencoding. Please be sure that your video could be muxed later
No Video: this will lead to an audio encoding only. So you feed a vob (video file is compulsory, no reencoding of audio file only), autox264 will output an mp3 or aac (for example)


Third thing to do (select audio)

AutoX264 could encode audio in mp3, aac, copy original audio or not process audio at all

The default audio or AutoX264 is AAC, stereo, at 96 kbs.
BUT you can select MP3 Audio, or Copy Audio or mute it (No Audio).
You can select to normalize the audio volume too.
Mp3 Mode will allow you to select if mp3 audio will be at cbr bitrate (constant) or abr bitrate (average) or vbr bitrate (variable)

Audio PID is the audio track to encode, you can hit the Preview button on main panle (Resize&Crop) to view and ear the audio selected

MKV input and Subtitle support

If your input is an MKV , AutoX264 will be able to MUX (not encrust) any number of already present subtitles from mkv input file to final size (either mp4 or mkv)
Using Eac3to, AutoX264 will extract the correct subtitle and will remux in final file.
This options work with all CoDec (mencoder/ffmpeg/avisynth...), BUT HandBrakeCLI. Remember that input must be mkv.

With eac3to 3.11, extracting vobsub (.idx/.sub) subtitle isn't working


Now ready for encoding !

Yes, you are now ready for encoding, click start and watch encoder do it's job.    

--------------------------------------------------------------------------------------

Not so advanced options

X264 Options



AutoX264 offer a fine granular tuning of x264 options, please tune to your needs, BUT remember that your build of mencoder must support your options!

Saving X264 XML profiles


On "More X264 Options (3)" you can click on "Save X264 options" for saving, in xml profile, the X264 options as you have set.

I strong suggest to save profile to \profiles folder, otherwise AutoX264 will not be able to see and use it

AutoX264 will also save the manual bitrate, the crf or Final Size specified, but no audio settings are stored (for now)

Video Filters

autox264_guide_10.jpgMencoder offer a good selections of resizers. The resizers are from more soft to sharper.

Priority are for windows only and will set the encoding  priority

Mencoder will also offer a very good denoiser , HQDN3D, here you can select the level of denoise to apply.

Manual Bitrate is for forcing AutoX264 to use a specified bitrate, the value you write will be used as bitrate in encoding.

Aspect ratio will force mencoder to use the specified AR. Not recommed to use
Deinterlace will apply the deinterlace selected from list (Interlace, Telecine, change framerate...)

Subtitle, Encoders and Muxers


In this panel you have important options.
On Subtitle Options you can browse for subtitle and allow mencoder to "Encrust" (burn on video) the sub or mux the subs in final mp4 or mkv file.
Remember that  Mencoder don't allow to you all subtitle formats, graphical one's arent supported.
Graphical subtitles are supported by avisynth.

"Mux to..." allow you to select the container, from MP4 (the default) to MKV, or M2TS

"Follow ITU" will force resizer to use ITU specification on resizing
The "Use CoDec..."  is the most powerful option of AutoX264.


Using AviSynth! (part one)

AutoX264 is a MULTI encoder GUI for h264 codec.
AutoX264 allow to encode with:  Mencoder, FFmpeg, X264.exe

When selecting "Use AviSynth"... AutoX264 will force use of X264.exe
You have different way of  "Use Avisynth"... , and every input file will prefer one to another decoder/interface
"Use AviSynth (FFmpegSource)" can be used for all AVI and Mpeg2 input.
"Use AviSynth (DirectShowSource)" can be used for ALL video files. You must be able to play the input file on Windows Media Player (you need the correct decoder installed... like ffdshow tryouts). When all decoder fails.. try this.
"Use AviSynth (DGAVCIndex)" can be used for all m2ts files with h264 codec.  It's the preferred decoder for m2ts and h264 file.
"Use AviSynth (DGIndex)" can be used only for mpeg2 file (vob/mpeg/dvr...). It's the preferred decoder for dvd  file

When using AviSynth as backbone for encoding, AutoX264 will "translate" all X264 options in X264.exe options, the same for resizers and deinterlacer.
Using AviSynth will use advanced deinteralce routines, much better then Mencoder standard.
Moreover using AviSynth you can select varius kind of subtitles, from text to graphical one's.
The encoding speed is very similar to encoding with Mencoder, but all X264 will be usable!


Using AviSynth! (part two)

Selecting "Use AviSynth..." allow you to access very powerfull filters!

I will not explain the filters, use only if know what doing.


Using the QUEUE!

AutoX264 support queueing of encoding. Clicking on "Add to Queue" will post pone the encoding till you hit "Start Queue".
This option could be useful when encoding several files,  and let the computer work over the night...

Path and Save Settings

If you download the full package AutoX264 will automatically find all needed software. Anyway you can always point to another software release for mencoder/ffmpeg...

"Save program path and settings" will save the path of programs and will save same useful options:
Resizer to use , Denoise ,  Manual Bitrate,  Deinterlacer, ITU (on/off), Delete temporary files


Troubleshooting


AutoX264 need few information before starting encoding, and if unavaible will prompt user

After first analysis with Mplayer, it if fails, AutoX264 will try to force ffmpeg demuxer This often is compulsory with m2ts or "strange files"
After the analysis with Lavf, AutoX264 could not have all necessary informations, and so will prompt for user help.
Remember that Resolution, Frame Rate, and Frames are compulsory.

Remember also to use mediainfo as analyzer if Mplayer hang and AutoX264 isn't responding
The difference between Mplayer and MediaInfo as analyzer is only CROP. While Mplayer is able to detect black bar to crop, Medianfo isn't suited to do this.

In short words, use MPlayer if you need crop, use MediaInfo if you don't need crop (like reencoding a file...)

Also, remember that if MPlayer fails to analyze the file, likely Mencoder will be unable to encode it, use AviSynth in this case

How to report problem

1) First of all, on AutoX264 window you will see the version like 0.18.XXX.ZZZZ, please post the version
2) Report if working on windows or linux
3) report all input media information (kind of file, codec used, resolution, framerate... use the "About Input" button)
4) report what encoder are you using (mencoder/ffmpeg/avisynth..) and fiters. 
5) add encoding  to queue and paste the jobs on your mail