Log in

View Full Version : Tool to encode a whole folder (with one click)


katzenjoghurt
21st June 2011, 08:11
Hi,
I want to recode some old mpegs with H264 to save some
space.

Tried handbrake... but it reads only a folder... after that
I still have to enqueue each file (and repetitively tell it to
not touch the screen size).
Apart of that it doesn't like the mpegs really...


Do you know a good tool where I just have to tell it:

Take each video from Folder A... encode with 2pass @ about 650kbps ... autorename and put in folder B?

Danisan
21st June 2011, 09:53
I would try FFCoder (http://forum.doom9.org/showthread.php?t=149452). It can do most of that, except auto rename I think.

7ekno
21st June 2011, 11:52
StaxRip will do entire folders, XviD4PSP accepts files drag & dropped onto it ...

7ek

katzenjoghurt
21st June 2011, 11:56
I would try FFCoder (http://forum.doom9.org/showthread.php?t=149452). It can do most of that, except auto rename I think.

Thanks!

This looks really good... gives me some headaches still (just posted in the FFCoder thread)
but it does exactly what I need. =)

katzenjoghurt
21st June 2011, 11:58
StaxRip will do entire folders, XviD4PSP accepts files drag & dropped onto it ...

7ek

StaxRip drove me mad with its template thingy.
After renaming my files so that it got along
with it and setting the basic rate to 700kb/s
the files came out with about 2000kb/s. (?!)

katzenjoghurt
23rd June 2011, 13:32
FFCoder had some problems with my files... :-/

And I didn't find another tool.


Looking into Buzzqw's AutoMen (that also uses handbreak) I copied the resulting command line for my file.... some tweaks here and there ...
and put it into a (windows) batch file

(Container: MP4, Video: x264, 555kbps (2pass), Audio: AAC, 128kbps)



set handbrake_path=C:\Video_Encoder\AutoMen\AutoMen6 Beta\applications\handbrakecli.exe

set video_folder=Z:\videos\videos_to_convert

set output_folder=%video_folder%

set to_convert=*.mpg *.avi




for %%f in (%to_convert%) do ( "%handbrake_path%" -i "%video_folder%\%%f" --output "%output_folder%\%%f.mp4" --format MP4 --encoder x264 --x264opts b-adapt=2:direct=auto:me=umh:rc-lookahead=50:ref=5:subme=8 --turbo --two-pass --vb 555 --audio 1 --aencoder faac --ab 128 --mixdown stereo --drc 2.0 --custom-anamorphic --keep-display-aspect --crop 0:0:0:0 --denoise weak
)

pause



I think it won't get much easier than that. :)

RanmaCanada
26th June 2011, 16:00
You know with vidcoder you can just drag all your files into it? Yeah it is not as nice as a folder but you can still just create your template, drag in a file and do a preview and see if you like the result, then just drag in the rest of your files.