Log in

View Full Version : AutoMen (Mini Mencoder Gui) 6 beta 06/10/2010)


Pages : [1] 2 3 4 5 6 7 8 9 10 11 12 13

buzzqw
24th June 2007, 15:32
Hi all

here the new AutoMen

http://www.64k.it/andres/data/automen/automen.jpg
http://www.64k.it/andres/data/automen/automen1.jpg
http://www.64k.it/andres/data/automen/automen2.jpg
http://www.64k.it/andres/data/automen/automen3.jpg
http://www.64k.it/andres/data/automen/automen4.jpg
http://www.64k.it/andres/data/automen/automen5.jpg
http://www.64k.it/andres/data/automen/automen6.jpg

Full package http://www.64k.it/andres/data/automen/AutoMen6_beta.rar
update http://www.64k.it/andres/data/automen/AutoMen_beta.exe

linux build http://www.64k.it/andres/data/automen/automen6_x86.tar.gz

Source avaiable on request (Purebasic4)
Licensed on GPL3

BHH

DIEGO7-5
24th June 2007, 21:01
Nice tool buzzqw!

Tried to back up an episode of King of Queens with it (PAL, 25 FPS, DVD-Source, interlaced)

Add automatic deinterlacing & a queue list and i think you´re done :-) Shutdown when done would also be very welcome :-)

killerhex
25th June 2007, 03:29
doesn't encode to wmv

its starts then shuts down

leiming2006
25th June 2007, 04:29
good job buzzqw.
I'll try to use it to encode flv files.

buzzqw
25th June 2007, 07:31
Update 0.2 www.64k.it/andres/data/a/AutoMen02.exe (65.5kb)

fixed: wmv8 encoding
added: mpeg2 encoding
fixed: the encoded file name is now based on input file name+_automen (es. input file is jewel.avi -> on mp4 will be named as jewel_automen.mp4)

@killerhex

thank for the bug (but another time please say something about testing wmv8...)

BHH

weaver4
25th June 2007, 15:27
I find the File Size and Video Quality parameters a little confusing.

I think I would rather see a selection that allows you to chose if you want to encode by File Size or Video Quality. If you select Video Quality it ecodes single pass and the slider sets the quantizer. If you select File Size the slider lets you set the filesize.

Encode by Filesize
--350M
--700M
--1.4G
--4.7G
--Custom....
Encode by Quality
--Poor (Small)
--Fair
--Good
--Very Good
--Excellent

I love the concept!

buzzqw
25th June 2007, 16:19
I think I would rather see a selection that allows you to chose if you want to encode by File Size or Video Quality.

this division is false, you could have a very big file while quality is simply trash.. and also have small file with awesome quality :)

I don't want to add a Quality based encoding, for this simply select quality 6 is always the "near best" settings for 1 pass encode

in next update i added queue! (a very basic queue fuction)

BHH

Schrade
25th June 2007, 18:59
doesn't encode to wmv

its starts then shuts down
It's possible that you have left out the MediaInfo command line utility. This is exactly what happened to me when I got too eager and forgot to copy that into the AutoMEn directory.


@buzzqw:

Is there any chance we could get a choice of resolution? It's a bit more of a common sense thing when helping choose settings.

buzzqw
25th June 2007, 19:21
@Schrade

done in next update ! (thanks for the hint!)

http://img126.imageshack.us/img126/9058/automen3rd8.png (http://imageshack.us)

BHH

weaver4
25th June 2007, 19:21
this division is false, you could have a very big file while quality is simply trash.. and also have small file with awesome quality :)

I don't want to add a Quality based encoding, for this simply select quality 6 is always the "near best" settings for 1 pass encode

in next update i added queue! (a very basic queue fuction)

BHH

I believe that was my point: you select either File Size and select a Size or you select Video Quality and select the quantizer.

I am not sure I know what to do with the File Size selection once I select the quality setting of 6 (one pass encoding). Or is the one pass encoding not Constant Quality?

buzzqw
25th June 2007, 19:31
Or is the one pass encoding not Constant Quality?

no pass is crf/qp/cq or what ever constant quality encoding, all encoding are or 1 pass or 2 pass at bitrate based on final size

you select Video Quality and select the quantizer
here the point! i haven't added fixed quant encoding (and maybe i will never add it)

File Size selection once I select the quality setting of 6 (one pass encoding)

choose your fixed final size, select your profile and automen (and mencoder) will be its best to reach this size, or in 1 pass bitrate based encoding or in 2 pass bitrate based encoding

BHH

weaver4
25th June 2007, 19:47
no pass is crf/qp/cq or what ever constant quality encoding, all encoding are or 1 pass or 2 pass at bitrate based on final size

BHH

Now I get it! I assumed that single pass was constant quality like avi.net, Dr Divx and autogk. Now your comment makes perfect sense.

buzzqw
25th June 2007, 20:04
@weaver4
:goodpost: :)

also in next update the resize slide will fuction even with HD material, basically the first half slide is for reduction, the second half for enlarging. The step will be by 16 pixel

BHH

Schrade
26th June 2007, 00:03
@Schrade

done in next update ! (thanks for the hint!)

BHH
Very nice! Thanks.

Now I have another request which might not be in line with how you want the app to exist but I'll throw it out there anyway.

Devices like the PSP can only decode AVC at a certain level/profile. Any chance you could add something to lock AVC to certain levels/profiles? Like.. the PSP is supposed to support Main Profile now and I believe its level is 3.

buzzqw
26th June 2007, 06:58
@Schrade

done! as in AutoMKV/MeGui profile's , i set the level to 2.1

BHH

buzzqw
26th June 2007, 14:32
here the update! 0.3 http://www.64k.it/andres/data/a/AutoMen03.exe 80.5 KB

http://img243.imageshack.us/img243/8900/automen03zd9.png (http://imageshack.us)

added: queue
fixed: better ff4 profile
fixed: better width management
added: dump stream
added: play queue
added: shutdown

about dump stream: copy in clipboard a link to mms/rtps stream , click on dump (the small D at bottom), mplayer will connect to internet and download it
about play queue: i have queue, i have mplayer.. whu not add playing fuction? :)

BHH

Sirber
26th June 2007, 16:19
@buzzqw

Sorry for the OT, but how do you do autocrop with mencoder? Thanks!

buzzqw
26th June 2007, 16:38
i read the stdout of
mplayer.exe -ss 00:00:XX -vf cropdetect -vo null -ao null -endpos XX+5
where XX is a random time (not beginning) of playing duration

isn't perfect.. but .. i hope for no errors..

it can be reiterated with several samples...

BHH

Sirber
26th June 2007, 16:46
cool! so you launch mencoder only to get that info, then encode with detected values.... interresting :) thanks!

buzzqw
26th June 2007, 18:22
yes!

it's only a 5 seconds analisys so it's fast and from my sample tested accurated :)

as you said from stdout i parse the vf crop values, and if not present i set it to 0 (-vf crop=0:0:0:0)

BHH

SealTooGreat
27th June 2007, 11:18
buzzqw, what is mp4creator's cmd line for muxing raw h264 -> mp4?

buzzqw
27th June 2007, 12:25
first of all mencoder create an avi file with h264 and aac
then mplayer is invoked to demux

mplayer.exe movie.avi -dumpaudio -dumpfile audio.aac
mplayer.exe movie.avi -dumpvideo -dumpfile video.h264

then mp4creator is used
mp4creator.exe create=audio.aac audio.mp4
mp4creator.exe create=video.h264 -rate=framerate_of_file audio.mp4

the audio.mp4 is now the full file remuxed, i renamed it to movie.mp4

BHH

SealTooGreat
27th June 2007, 12:49
I was asking cause "-h" switch gives:

-create=<input-file> Create track from <input-file>
input files can be of type: .263 .aac .amr .mp3 .divx .mp4v .m4v .cmp .xvid

I wasn't sure if h264/raw is even supported.

buzz, thanx! :)

DIEGO7-5
27th June 2007, 21:51
Hi buzz!

I really like this tool! Does mencoder have native deinterlacing and if so will AutoMEN support it in a future version?

buzzqw
28th June 2007, 08:09
mencoder have a lots of deinterlacer /itvc ... cababilities..
the main problem is the detection :(

i could add a simple list and user select the deinterlace pattern... but i want a better solution.. if any

BHH

buzzqw
28th June 2007, 10:35
http://www.64k.it/andres/data/a/AutoMen04.exe

added deinterlacer selection (user choice)
fixed ffhuffy encoding
change the behavior of P button, now play the queue or just the dragged&dropped input file, it also play it with the requested width/autocrop and also apply the deinteralcer requested (for better analysis)


BHH

DIEGO7-5
28th June 2007, 11:11
WOW That was fast!

Thank you very much :-)

Hyper_Thread
28th June 2007, 23:21
little issue with format's tooltips ;)

Thanks a lot for this useful app.

buzzqw
29th June 2007, 06:44
ops.. you are right!

http://www.64k.it/andres/data/a/AutoMen05.exe

thanks!

BHH

buzzqw
29th June 2007, 17:41
update 0.6

fixed mov->mpeg2 conversion when dealing with ntsc source

BHH

DIEGO7-5
11th July 2007, 07:24
Hi buzz!

When i set final file size to 175MB (encoding to XVID) i get a final size of 195MB every time. Is the audio not taken into filesize calculation?

Thanks for your time.

buzzqw
11th July 2007, 07:31
audio bitrate is valuated but is encoded in ABR mode...

are you using 2 pass profile ?

BHH

DIEGO7-5
11th July 2007, 07:40
Yes i am, using the highest quality preset and i have set the audio bitrate to 128. When i drop the final file on gSpot, the video is 173MB and the audio is 18MB.

I suppose i can not edit the commandline automen is passing to mencoder because the xvids i create with it dont play well with my standalone player. I need to set packed bistream & adaptive quantization but that´s another question.

buzzqw
11th July 2007, 08:05
launch encoding... then stop it at start

open xvid.bat and edit it...

BUT here the new version http://www.64k.it/andres/data/a/AutoMen07.exe

changelog:
added: volume normalization
added: new resize method (secret fuction)
fixed: removed nopacked from xvid (obsolete)
fixed: some tweak to xvid bitrate

BHH

dansus
13th July 2007, 00:14
Hey nice work, you just made my life that little bit easier.

I look forward to future revisions.

buzzqw
13th July 2007, 17:29
well.. the project is open to suggestions

feel free to post ideas :)

BHH

dansus
13th July 2007, 20:32
Dont know much about mencoder but custom matrices if it applies. I encode motor racing (mpeg2>x264), so a fast motion option would be good for me at least.

Priority changer. :)

Also auto res at 688 is showing 688x376, which isnt divisible by 16. Its telling me that compression will suffer.
-

buzzqw
13th July 2007, 21:28
the resize is computed by mencoder and guarantee the exact AR

376 is MOD8.. so is good enough :)

priority ?.. i will look!

about matrix... isn't so automatic... i will think about


BHH

CruNcher
14th July 2007, 18:12
Nice project, how about self defineable presets :)
maybe you shuld rename the options selections like this H.264 (AVI),H264 (MP4), H.264 (PSP), XviD (AVI),XviD (MP4) or first the Video Encoder,Audio Encoder and then the Container format that would work for the combination (mencoders restrictions as smart dropdowns) chosen by the user and maybe even make the user aware of the choices he has for a given combination (comon sense decissioning) and then select/editable profiles for the Encoder tools, so something like SUPER but more advanced (and with a cleaner interface) :)

buzzqw
14th July 2007, 19:58
well.. nice suggestions.. but for a new program !

this project will be as simple as is now

maybe in summer's holiday i will get time for a more complete gui :)

BHH

dansus
21st July 2007, 00:20
dvr-ms input support would be cool.

buzzqw
21st July 2007, 09:18
try this update

http://www.64k.it/andres/data/a/AutoMen08.exe

if mediainfo fails on analysis it will trigger a hidden mplayer run for 4 seconds as analysis, so don't warry if application seems hang

after that you will see the usual options for resize...

from my simple test ( i have only 2 dvr-ms files, grabbed on internet) it is ok

BHH

dansus
25th July 2007, 03:35
Thanks for adding that. Looks great in xvid, not having to change to mpeg2 first has really done the trick.

Unfortunately the audio is out by over a second and its kept some of the black bars all round.

buzzqw
25th July 2007, 07:10
@dansus
try this update

update http://www.64k.it/andres/data/a/AutoMen09.exe

more stable autocrop
changed order of harddup

BHH

bucketbuster
25th July 2007, 12:20
Are you planning on adding a batch-function?

buzzqw
25th July 2007, 12:25
there is already! the QueueIt button

BHH

Mateo227
26th July 2007, 00:41
Hi Buzzqw,

Thank you so much for creating this great tool, however I have a problem with encoding WMV files.

After I encode a WMV file with AutoMen 0.9 and attempt to play the file in Windows Media Player 9, I receive this message: "The file you are attempting to play has an extension that does not match the file format. Playing the file may result in unexpected behavior."

In fact, when I open the the WMV file with Media Info it says that this file is in fact an AVI file.

I have not been able to figure out how to encode a true WMV file with Mencoder and it seems that your tool is having the same problem.

Any help would be greatly appreciated.
Thanks,
Mateo227

Carraway
26th July 2007, 05:48
Hi Buzzqw,

In fact, when I open the the WMV file with Media Info it says that this file is in fact an AVI file.

I ran a couple of FLV files created with AutoMen through MediaInfo and both of them were detected as AVI files as well. Is this an issue with AutoMen or with mencoder itself?

buzzqw
26th July 2007, 07:18
@Carraway and @Mateo227

the problem is on both side

for exact encoding in wmv/flv/mp4 format with mencoder you must use the "-of lavf -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames " option

and i haven't used this options.. :o

update to this build http://www.64k.it/andres/data/a/AutoMen10.exe

the lavfopts is used in both flv and wmv encoding

thanks!

BHH

Mateo227
26th July 2007, 18:46
Wow, that fixed it! Thanks a lot and keep up the GREAT work!