Forum archive - AutoMen 6 for LINUX! (26/09/2009)

http://www.supermediastore.com/



Forum Archive Home -> Linux -> AutoMen 6 for LINUX! (26/09/2009)



AutoMen 6 for LINUX! (26/09/2009)

buzzqw posted 2008 Oct 30 02:40
Thanks to PureBasic cross compiling i was able to tweak automen and porting to Linux

AutoMen 6 is here (beta.. as usually)

mg]http://www.64k.it/andres/data/automen/automen%20(2).jpg[/img]






http://www.64k.it/andres/data/automen/automen6_linux.tar.gz

tested on Fedora 32bit
need mencoder, mplayer, xterm

BHH



disturbed1 posted 2008 Oct 30 03:01
Looks just fine on Slackware with Xfce. Nice and easy GUI, and easy enough to comfigure profile.txt. Cool, and thanks :D

Doesn't support directories with spaces in them. Threads option doesn't seem to work :(
Prompts for mp4creator, but doesn't need this installed to run.




buzzqw posted 2008 Oct 30 04:05
thanks for your kind words!

remember that xvid isn't multithreaed on mencoder... just mpeg4 and x264

feel free to post any problems and suggestion

(and i will look the "space" problem)

thanks

BHH



disturbed1 posted 2008 Oct 30 04:28
Xvid is multithreaded.

:

xvidenc (-xvidencopts)
       There are three modes available: constant bitrate (CBR), fixed quantiz-
       er and two pass.
..............................................
snip
..............................................
The following option is only available in the 1.2.x version of Xvid.

       threads=<0-n>
              Create n threads to run the motion estimation (default: 0).  The
              maximum number of threads that can be used is the picture height
              divided by 16.


You can grab a multithread enabled xvid here - http://www.xvid.org/Downloads.43.0.html Just download the daily snap shot.
The default in Ubuntu and other Debian based distros are not multithread enabled. Plus they have a habit of not using NASM, so it's even slower.



buzzqw posted 2008 Oct 30 04:51
and i don't provide mencoder builds.. so i must rely on user repository/packages :(

you can tweak the profile and add the threads parameter

BHH



disturbed1 posted 2008 Oct 30 05:17
buzzqw :
and i don't provide mencoder builds.. so i must rely on user repository/packages :(

you can tweak the profile and add the threads parameter

BHH


Has nothing to do with mencoder. It's the version of Xvid that is installed. I'm using MEncoder 1.0rc2 which is quite old. Check your man page for mencoder.

If you're using an old Xvid (1.1.2/.3) specifying threads=n does nothing to it.

All the way back to mencoder 1.0rc1 (Ubuntu Fiesty 7.04)
:

The following option is only available in the CVS version of XviD.

threads=<0\-n>
Create n threads to run the motion estimation (default: 0).
The maximum number of threads that can be used is the picture height
divided by 16.


But that's for xvid. I stated the threads switch doesn't work at all ;)

WIth x264, it always uses more than one core no matter if it is ticked or not. With lavc it only uses one core. This is because your profile.txt has threads=auto hard coded for x264, and negates the thread option for mpeg4.



buzzqw posted 2008 Oct 30 05:34
thanks disturbed1!

learning is a never ending process!

about threads disabled i will check when home

thanks again!

BHH



disturbed1 posted 2008 Oct 30 06:34
Perhaps, since x264, lavc, and xvid all use threads=$, that could be a variable that can be passed? But that seems like too much of a coding change. I don't know, I'm not a programmer. Considering your profiles.txt is easy to read and change, I'm just editing it by hand.

I've been using your program to encode a few streams to xvid, lavc, and x264, and they all work!. Have to say I really do like it. This is a first for me, as I'm a command line junky.

About the directory spaces. Read from spaces, write to no spaces works. Read from no spaces, write to spaces works. Read + write to spaces, doesn't work :cry: I even did a chmod 777 on the directory so everyone has rw on it just to make sure.

:

"/usr/bin/mencoder"  -ofps 30000/1001 -vf harddup,crop=720:480:0:0,scale=656:-2,hqdn3d -sws 2 -o "/home/keith/a directory with spaces/test_automen.avi" -ovc xvid -xvidencopts bitrate=1682:max_bframes=2:bquant_ratio=162:bquant_offset=100:vhq=1:me_quality=6:chroma_me:nochroma_opt:hq_ac:notrellis:lumi_mask:autoaspect:bvhq=1 -af volnorm=1  -oac mp3lame -lameopts aq=7:cbr:br=96 "/home/keith/a directory with spaces/test.wmv"


If I copy and paste the xvid.bat file to a terminal it runs fine.



buzzqw posted 2008 Oct 30 06:54
i use xterm to launch the encoding bat... could be this ?

xterm -e "path to bat/xvid/bat"

(any suggestion is appreciated!)

i am too a command line guy :) but my knowledge of linux isn't to much (just installed 4 month ago)

BHH



freebird73717 posted 2008 Oct 30 07:22
Buzz thanks for continuing to promote linux by porting more software over!


buzzqw posted 2008 Oct 30 07:57
thanks freebird73717!

it's always a pleasure filling gap between windows and linux

BHH



buzzqw posted 2008 Oct 30 15:10
update to 5.2 threads now work, added the possibility to specify threads

http://www.64k.it/andres/data/automen/automen52

next is to fix space issue

BHH



disturbed1 posted 2008 Oct 31 01:01
52 doesn't seem to work.
:

bash-3.1$ chmod +x automen52
bash-3.1$ ./automen52
Segmentation fault



buzzqw posted 2008 Oct 31 01:39
here is ok... maybe a corrupted file

try this http://www.64k.it/andres/data/automen/automen52.tar.gz

thanks!

BHH



disturbed1 posted 2008 Oct 31 03:03
That was quick :)

I can confirm that threads are working as expected for xvid, lavc-mpeg4, and x264. But not mpeg2.

For wmv, threads are enabled, but, wmv encoding (and flv) only support a single thread.



buzzqw posted 2008 Oct 31 03:26
thanks for feedback disturbed1!

update the link of first thread :)

BHH



buzzqw posted 2008 Nov 01 10:30
update to 5.3

now path with space and file name with space will work
added queue

BHH



buzzqw posted 2009 Aug 22 10:23
update to automen 6

http://www.64k.it/andres/data/automen/automen6.tar.gz

BHH



buzzqw posted 2009 Aug 30 06:50
update automen
some fixing to queue
added possibility to use ffmpeg for piping to x264

BHH



buzzqw posted 2009 Sep 26 10:57
update

added a better support for dvd input
automatic crop on loading file
more deeply autocrop
added support for handbrakecli
better support for crop for dvd input
some gui layout change when users select handbrakecli

BHH




Login/Register to our forum to be able to post here.








Replay Media Catcher lets you record ANY streaming video and save on your computer! More info or download trial!
About   Advertise   Forum Archive   RSS Feeds   Statistics