View Full Version : AutoX264 (Multi Encoder GUI for X264) v.18
Mad_Martha
4th January 2009, 23:29
Hi , thanks for this prog..
Question : How would I go about a non-cropped , Anamorphic encode to an mkv - encode at original res then use mkvmerge to set DAR ?
Problem - Have noted that even when I set the cropping to all zero , clicking anywhere on the cropping tag re-enters values into the crop fields.
(and conversely - when changing the crop fields to zero it changes the output resolution away from what was previously set)
Another problem I got is that when trying to encode - audio is processed but then everything just stops - does not get to trying to encode video , just halts after the audio.(the terminal window closes and nothing else happens)
I pasted the encode line directly into a terminal window and got the following :
mencoder -vf harddup,crop=720:576:0:0,scale=720:576,hqdn3d=2:1:2 -sws 2 -aspect 1.7778 -of rawvideo -o autox264.h264 -nosound -ovc x264 -x264encopts bitrate=2114:pass=1:threads=auto:bframes=8:partitions=i4x4,i8x8,p8x8,b8x8:8x8dct:direct_pred=auto:me=tesa:subq=8:b_adapt=2:turbo=2:frameref=16:deblock=-1,-2:weight_b:me_range=32:trellis=2:mixed_refs:b_pyramid:level=4.1:ratetol=1 "/home/madmartha/Videos/Clockwork.mpg" -nosound
MEncoder 2:1.0~rc2-0ubuntu17 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) III CPU family 1400MHz (Family: 6, Model: 11, Stepping: 1)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.
Option x264encopts: Bad argument b_adapt=2
success: format: 0 data: 0x0 - 0x2d3e804
MPEG-PS file format detected.
VIDEO: MPEG2 720x576 (aspect 3) 25.000 fps 6500.0 kbps (812.5 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:720x576 fps:25.00 ftime:=0.0400
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [hqdn3d=2:1:2]
Opening video filter: [scale w=720 h=576]
Opening video filter: [crop w=720 h=576 x=0 y=0]
Crop: 720 x 576, 0 ; 0
Opening video filter: [harddup]
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
[swscaler @ 0x883e3d0]SwScaler: using unscaled yuv420p -> yuv420p special converter
FATAL: Cannot initialize video driver.
Exiting...
cheers , [MM]
buzzqw
5th January 2009, 09:07
you are using a very old mencoder build MEncoder 2:1.0~rc2-0ubuntu17 (C) 2000-2007 MPlayer Team
i think that these optionts are not avaiable for you
":b_adapt=2" , set the b adapt to 1
"me=tesa" , set to a lower value
(or update the mencoder build...)
BHH
buzzqw
5th January 2009, 17:01
update both builds (win and linux)
better ffmpeg encoding
better ffmpeg path detection
added support for NO video encoding (will encode only audio)
BHH
Crono141
9th January 2009, 15:07
Dumb question: Is it possible to get a PPC build for PS3 ubuntu?
buzzqw
9th January 2009, 15:20
i can't compile for PPC :( sorry
but autox264 is FOOS, so if you have a license of purebasic you can compile
BHH
buzzqw
10th January 2009, 10:36
update to 0.13
update both builds, windows and linux
added support for encoding with x264 (via avisynth)
added support for decoding with avisynth (and encoding with x264) , using dgavcdec, ffmpegsource, directshowsource
added support for copy audio/copy video/no audio/no video
better encoding with ffmpeg
now autox264 is a multi encoder (x264/ffmpeg/mencoder) for h264 codec!
Selur
13th January 2009, 20:58
added support for decoding with avisynth (and encoding with x264) , using dgavcdec, ffmpegsource, directshowsource
for windows&linux ?
buzzqw
14th January 2009, 09:49
for windows&linux ?
for both :)
if you download autox264 AND applications pack (first post) when you start the application, it will find automatically the new decoding/encoding capabilities
in case of use avisynth (dgavcdec or ffmpegsource or dss) mencoder is used only for audio encoding, while autox264 will build a minimal avisynth script (crop/resize/denoise/filtering as requested, and of course decoding with dg/ff/dss) and will encode with x264
it works for linux (under wine) too :)
BHH
yeye69
14th January 2009, 12:14
Something wrong for me with latest version, can't analyze any source file
buzzqw
14th January 2009, 14:12
Something wrong for me with latest version, can't analyze any source file
windows or linux ? if win..got the applications pack ?
what's source file ?
could you provide a sample ?
and last dumb question: have you hit "Analyze with..." ?
BHH
yeye69
14th January 2009, 15:09
linux version. Any source file, like mpeg2, h264 and vc1, in any container like m2ts, ts and mkv. Previous version had worked with such files.
MEncoder dev-SVN-r28311-4.3.2
and last dumb question: have you hit "Analyze with..." ?
if you mean a choosing mediainfo or mencoder, I'v tried each of both
buzzqw
14th January 2009, 15:41
that's strange!
i have tested on debian lenny 32bit and fedora 10 64bit, with mencoder/mplayer build 26940 (debian-multimedia latest build) and 28189
i will update my mplayer build.. but..
could you try this http://www.64k.it/andres/data/autox264/autox264.tar ?
thanks
BHH
yeye69
14th January 2009, 16:45
The same result. Let's begin newly, step by step confirmation.
First, choose a source file, for example, this one http://www.kdenlive.org/videos/avchd-test-1.mts , then name of destination file.
Next step is ...
buzzqw
14th January 2009, 17:20
OK!
i am unable to analyze with mplayer too :, with latest mplayer build
BUT is ok with previus mplayer build...
i will check...
BHH
microchip8
14th January 2009, 17:29
that file works with mplayer -demuxer lavf
(mplayer dev-SVN-r28269)
buzzqw
14th January 2009, 17:46
thanks a lot froggy1
i will add a workaround
BHH
buzzqw
14th January 2009, 17:57
ok, please redownload the autox264.tar.gz from first post
BHH
yeye69
15th January 2009, 08:34
I understood my mistake, sorry for misleading. There is no button "Analyze with...", but if I click on blank field near the combobox "mplayer/mediainfo", that works. See attachment
buzzqw
15th January 2009, 11:54
@yeye69
if are using gnome as desktop manager make sure you have correctly installed the theme using
BHH
yeye69
15th January 2009, 13:14
Yes, I'm using gnome as DE with the default theme on Fedora 10 (32 bit)
buzzqw
15th January 2009, 13:20
@yeye69
i am using gnome and Fedora 10 too! (but 64bit) :)
using the clearlooks theme the screen of application are as first post of this thread
something is wrong on your theme..., please try changing it (try with another theme for example)
EDIT: this is on my fedora 10 with fedora theme http://www.64k.it/andres/data/autox264/autox264-fedoratheme.png
EDIT2: are you using aurora button ?
BHH
Adub
15th January 2009, 19:00
small bug I noticed. When loading a megui profile, the bitrate is placed into the Final MB (or CRF) box, instead of the correct mplayer manual bitrate box.
buzzqw
15th January 2009, 20:25
@Merlin7777
i agree merlin7777 but if i set this as "manual bitrate" , users will not spot it and every encode will be a bitrate of 1000 ....
would be better to simply ignore the value in profile (if not crf profile) ? what do you think ?
BHH
buzzqw
16th January 2009, 14:57
update windows build
now it accept d2v input file. Autox264 will automatically build an avs script around this input
fixed some glitch on m2ts files
BHH
flebber
18th January 2009, 14:39
Simple question but I cannot get it too work, how do I import megui profiles on Windows XP sp3. I have a dop down box with 'NONE' written in it I cannot use the preset button too select profiles, so I placed xml files in the AutoX264 folder I created and then restarted AutoX264 but no go.
How do you do it?
Is there an option to save profiles you create within AutoX264?
cheers
buzzqw
18th January 2009, 14:41
in the same place as autox264 create a folder named "profiles"
copy into "profiles" folder all the XML files from megui x264 profiles
relaunch autox264
Is there an option to save profiles you create within AutoX264?
no
BHH
flebber
18th January 2009, 15:06
Sorry I am coming up with an error during encoding.
http://farm4.static.flickr.com/3299/3206561584_396a10c95c_o.jpg
http://farm4.static.flickr.com/3299/3206561584_396a10c95c_o.jpg
buzzqw
18th January 2009, 16:30
you are using some options not present in your mencoder build
please add the job to queue.. and copy&paste here the line of encoding
make sure you are using the latest mencoder version (from sherpya site)
BHH
flebber
19th January 2009, 09:45
I am using the mencoder that came with Automen, I will look for the Sherpya version
"C:\Documents and Settings\flebber\Desktop\AutoMen50_FULL\mencoder.exe" -vf harddup,crop=320:176:0:32,scale=288:156,hqdn3d=2:1:2 -sws 2 -aspect 1.3333 -priority idle -of rawvideo -o autox264.h264 -nosound -ovc x264 -x264encopts bitrate=32352:pass=1:threads=auto:bframes=3:8x8dct:direct_pred=auto:me=umh:subq=6:b_adapt=2:turbo=2:frameref=5:deblock=-1,-1:aq_mode=1:aq_strength=1.2:psy-rd=rd=1.0[0]:weight_b:trellis=2:mixed_refs:nodct_decimate:nofast_pskip:b_pyramid "C:\Rip\Source Video\Killswitchengage_HolyDiver_400(0).flv" -nosound
"C:\Documents and Settings\flebber\Desktop\AutoMen50_FULL\mencoder.exe" -vf harddup,crop=320:176:0:32,scale=288:156,hqdn3d=2:1:2 -sws 2 -aspect 1.3333 -priority idle -of rawvideo -o autox264.h264 -nosound -ovc x264 -x264encopts bitrate=32352:pass=2:threads=auto:bframes=3:partitions=i4x4,i8x8,p8x8,b8x8:8x8dct:direct_pred=auto:me=umh:subq=6:b_adapt=2:turbo=2:frameref=5:deblock=-1,-1:aq_mode=1:aq_strength=1.2:psy-rd=rd=1.0[0]:weight_b:trellis=2:mixed_refs:nodct_decimate:nofast_pskip:b_pyramid:qblur=0.5 "C:\Rip\Source Video\Killswitchengage_HolyDiver_400(0).flv"
"C:\Documents and Settings\flebber\Desktop\AutoMen50_FULL\mencoder.exe" -mc 0 -noskip -aid 1 "C:\Rip\Source Video\Killswitchengage_HolyDiver_400(0).flv" -ovc frameno -oac faac -faacopts br=96:mpeg=4:object=2 -channels 2 -af volnorm=2 -of rawaudio -o audiox264-pid1.aac
"C:\Documents and Settings\flebber\Desktop\AutoMen50_FULL\mkvmerge.exe" -o "C:\Rip\Produced\Killswitch_Engage-Holy_Driver.mkv" --default-duration 0:23.976fps --aspect-ratio -1:1.8648 autox264.h264 audiox264-pid1.aac
flebber
19th January 2009, 10:07
Yes updating mencoder has resolved it I downloaded the version from http://oss.netfarm.it/mplayer-win32.php and it works well now. :)
nm
19th January 2009, 10:30
-x264encopts bitrate=32352: pass=1:threads=auto:bframes=3:8x8dct:direct_pred=auto:me=umh:subq=6:b_adapt=2:turbo=2:frameref=5:deblock=-1,-1:aq_mode=1:aq_strength=1.2:psy-rd=rd=1.0[0]:weight_b:trellis=2Your psy-rd parameter is mangled. It should be "psy-rd=x" or "psy-rd=x,y" where x and y are decimal numbers, x=RD and y=Trellis. The default is "psy-rd=1.0,0.0".
buzzqw
19th January 2009, 14:15
from mplayer manual
psy-rd=rd[:trell]
Sets the strength of the psychovisual optimization.
rd=<0.0−10.0> psy optimization strength (requires subq>=6) (default: 1.0)
trell=<0.0−10.0> trellis (requires trellis, experimental) (default: 0.0)
so it's psy-rd=XX[YY]
BHH
microchip8
19th January 2009, 14:32
psy-rd=rd[,trell]
Sets the strength of the psychovisual optimization.
rd=<0.0−10.0> psy optimization strength (requires subq>=6) (default: 1.0)
trell=<0.0−10.0> trellis (requires trellis, experimental) (default: 0.0)
this is the correct description of psy_rd. the two parameters of psy_rd are separated by a coma not a : colon
there was a mistake made in the man page a while ago so I sent a mail to mplayer-docs list telling them that one can't use a : colon to separate parameters of a specific option as mencoder uses : colons to separate individual option. Diego committed the correction after my mail so you obviously use an outdated man page
buzzqw
26th January 2009, 16:15
update to 0.14 (windows only)
added if input end with _1, autox264 automatically will try to load _2 _3 _4 and so on
added support for avisynt filters
added over twenty avisynth filters
added QMF support
added MVDegrain support
added colormatrix support
added greyascale support
added support for dgindex
fixed save path
fixed m2ts audio handling
reworked applications and filters path
BHH
buzzqw
3rd February 2009, 13:37
update the windows build (full pack)
added tooltip
added status bar
fix some bugs with dgindex/dgavcdec
BHH
Ku2_BiO_X
3rd February 2009, 16:27
hello..
what is the option to add bime and brdo?
i use real anime6 (use mencoder) before, and it has bime & brdo in its option.. will it make a diff to the video quality?
thank you..
buzzqw
3rd February 2009, 16:35
@Ku2_BiO_X
Hi Ku2_BiO_X and Welcome to the Forum
first of all remember that you can use the MeGui profile (already included in windows package), and so using a profile tuned for anime
and .. moreover bime and brdo WERE removed from x264, so you cannot find it, i suggest to rise reference frames
but again .. load a anime profile :)
BHH
Ku2_BiO_X
3rd February 2009, 16:48
thank for your quick reply..
actually, what i want to do is to convert anime (e.g blech by db) into smaller size..
but i don't really know what bitrate should i use..usually i use 300 kbps but sometimes it doesn;t work..
are there any suggestion? thank you..
p/s: looks like the psyrd problem is fixed.. need to download the new versions..:)
holy_reds
4th February 2009, 18:37
@Ku2_BiO_X
For 50~60MB per episode, you can try 285~320 kbps video and 32~40 kbps audio(AAC+)
And yeah make sure using high value of ref frames(5~16),subq(7~9),and also me-range(24~32)..
@buzzqw
I like this tool a lot because of its queue, but can it do a 3pass encoding?
Or can you tell me the command line example for 3pass encoding? so I can copy it into queue..
Oh, just for information I'm using the Linux version..
buzzqw
5th February 2009, 12:31
update Linux build to 0.15 version
BHH
@holy_reds
just clone the second line (the pass=2) and add change to pass=3
BHH
buzzqw
9th February 2009, 10:15
added manual
Manuale versione Windows (http://www.64k.it/andres/data/autox264/manual/AutoX264%20Guide%20(Windows%20v.%200.15).html)
BHH
Dark Shikari
9th February 2009, 10:21
hello..
what is the option to add bime and brdo?
i use real anime6 (use mencoder) before, and it has bime & brdo in its option.. will it make a diff to the video quality?
thank you..http://git.videolan.org/?p=x264.git;a=commit;h=c89bc900a3bf0d4c4c728ad378703970b4f14e18
flebber
9th February 2009, 14:03
This is a great little program thanks. I was reading through the manual you have posted and wanted to clarify this.
Regarding avisynth use you advise to When using AviSynth ad backbone for encoding,
buzzqw
9th February 2009, 16:28
When using AviSynth ad backbone for encoding,
maybe i mean "when using avisynth AS backbone..."
thanks, will fix it
BHH
buzzqw
10th February 2009, 08:46
update windows build
update manual
fixed psy-rd
better suggestion of decoder
BHH
buzzqw
11th February 2009, 08:36
UPDATE: rev 0.15.142 (windows, linux will follow)
dar is now changed on ar change
save settings now save: resizer, muxer, denoise
HIDDEN save settings for:
Manual Bitrate
Deinterlace
these value will not be automatically saved (i don't want to make it "sticky"), BUT it in autox264.ini is present "Deinterlace = XXXX " , without quotes, and XXXX is the name of interlace filter to load, autox264 will load it at every start
the same for "Manual Bitrate = 1500" , in this case it will automatically load 1500 as manual bitrate
remember that : "Manual Bitrate" and "Deinterlace" isn't saved by hit "Save Program Path" , you must write it in automen.ini
BHH
buzzqw
11th February 2009, 13:07
update full windows package
UPDATE
addded in save settings follow itu
added eac3to support, now if input is mkv and users select DGAVCIndex as decoder, eac3to will be automatically called for demuxing video track (and audio too)
update all core sotwares
dar is now changed on ar change
save settings now save: resizer, muxer, denoise
HIDDEN save settings for:
Manual Bitrate
Deinterlace
these value will not be automatically saved (i don't want to make it "sticky"), BUT it in autox264.ini is present "Deinterlace = XXXX " , without quotes, and XXXX is the name of interlace filter to load, autox264 will load it at every start
the same for "Manual Bitrate = 1500" , in this case it will automatically load 1500 as manual bitrate
remember that : "Manual Bitrate" and "Deinterlace" isn't saved by hit "Save Program Path" , you must write it in automen.ini
BHH
buzzqw
12th February 2009, 09:51
update linux package
same version as windows
BHH
buzzqw
13th February 2009, 08:19
update to 0.17, update both windows and linux build
link in first post of thread
fixed : turbo were unused when encoding with avisynth/x264 (thanks to Goblack)
fixed: m2ts muxing was done twice
fixed: ffmpeg bitrate was computed wrong
fixed: detecting of ffmpeg executable (bug only for windows)
added: possibility to add an arbitrary string to avisynth script
changed: unit access delimiter (aud) is now active by default
added: preview button now allow to ear audio track selected
BHH
LeonLanford
16th February 2009, 15:05
At last I can post here.. Thanks for making the program :D
I've tested the program several times.. I found some oddity, I posted in other forum, I don't know how to merge them so I'll just quote them and put them here..
Sorry.. I tried to use spoiler tag but there isn't any..
here's the result after yesterday testing, using the same settings, crf 25
original
http://img27.imageshack.us/img27/456/soraoriginalec9.th.jpg (http://img27.imageshack.us/my.php?image=soraoriginalec9.jpg)
avidemux
http://img19.imageshack.us/img19/4864/soracrf25avidemuxhy8.th.jpg (http://img19.imageshack.us/my.php?image=soracrf25avidemuxhy8.jpg)
autox264
http://img4.imageshack.us/img4/935/soracrf25mencoderzg5.th.jpg (http://img4.imageshack.us/my.php?image=soracrf25mencoderzg5.jpg)
there's 2 big flaw in autox264
1. the color loss(see the screenshot)
2. the audio size really big! i already set 32 bitrate aac with auto(and 22hz tested), the result is 22mb audio, while avidemux can get 10mb by 56 bitrate aac
so i'm still considering whether to use it or not, but the video quality really awesome... :-D
i'm gonna ask why the color loss and audio size's big.. do someone have doom9 account? i must wait for 4 days to post there :(
yes i've already patched it.. it's 303kb here
i've already try to turn of chroma me which maybe the cause of the problem, but the encoding won't start/error if i check the "no-chroma me"
and i just do almost throughly checking just now because of my exams :P
i've tested with 2pass 300 bitrate and crf 27, the quality same.. only a bit rough than crf 25, no noticable if you're watching i think but i forgot to copy the screenshots here..
i have additional problem here, even though i'm using crf, when it's "a bit" quite faster scene, the screen became rough, it's really noticable in crf 25 but not 27.. in 2pass also like that, i don't know why it's like that, the example is when the green girl(forgot the name) opened her cloth, it suddenly became rough, i've tested with several encode settings and and badapt=2 also but it's still like that
so it has 3 flaws now..
i've tried to disable aq also.. it's still like that
i've tried umh and hex also, i haven't tried the two later, but it seems will take really long time but i'll try it later..
i've tried all partitions and without partitions also, the result 01:111 seems better to me, the deblock important right? from what i read from other site.. it's also enabled by default in avidemux and autox264..
the psy rdo also error, if i don't encode using mencoder, the psy rdo won't come out(it's 0.0), i don't want to use mencoder because it's automatically hardsubbing the softsub, and the sub really bigggg, ugly.. if it's automatically hardsubbed but kept the default style the i don't mind..
btw i don't move the sub to "encrust subtitle", i'm using the default "mux subtitle"
http://i44.tinypic.com/6zc9q8.jpg
it's only happening in mencoder.. and there's only 2 encoder working, the avisynth(ffmpeg) and avisynth(directshow), the others just get error here and there... i usuall y use the avisynth(ffmpeg)
edit
omg! i just realized that the "mencoder" encoder has the right color.. there's no color loss.. so it's avysynth fault then?
ori
http://img22.imageshack.us/img22/8453/oriqs5.th.jpg (http://img22.imageshack.us/my.php?image=oriqs5.jpg)
avidemux
http://img25.imageshack.us/img25/4669/avidemuxpt9.th.jpg (http://img25.imageshack.us/my.php?image=avidemuxpt9.jpg)
avisynth(ffmpeg)
http://img23.imageshack.us/img23/2774/mencoder1tg8.th.jpg (http://img23.imageshack.us/my.php?image=mencoder1tg8.jpg)
mencoder
http://img21.imageshack.us/img21/4080/mencoderkoderml8.th.jpg (http://img21.imageshack.us/my.php?image=mencoderkoderml8.jpg)
update again..
strange.. i just tried again(with avisynth ffmpeg) and the color seems fine.. omg!
i use the same settings.. very strange!
Hope you can undestand.. thanks :D
edit
Can you add script save feature? So I don't have to set up the settings everytime I want to encode.. I've tried editing the xml things but it gave me wrong settings :(
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.