Encoding lots of small files..

Discussion of the HandBrake command line interface (CLI)
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
mappyman
Posts: 7
Joined: Thu Mar 08, 2012 3:05 am

Encoding lots of small files..

Post by mappyman »

I have lots of game footage in small files 30+ in the directory "C:\YouTubeTemp" but wanted to know how to go through each file in that folder since the -o requires a filename and not directory ?

Sample (im using 0.95):

-i "C:\YouTubeTemp" -t 1 -c 1 -o "C:\YouTubeTemp\OUT\game1filename-1234-5may2012-1.mkv" -f mkv -O --strict-anamorphic -e x264 -S 100 -a 1 -E faac -6 dpl2 -R Auto -B 160 -D 0.0 -x ref=2:bframes=2:subq=6:mixed-refs=0:weightb=0:8x8dct=0:trellis=0 --verbose=1
mduell
Veteran User
Posts: 8198
Joined: Sat Apr 21, 2007 8:54 pm

Re: Encoding lots of small files..

Post by mduell »

A very short shell script?

for i in ...
Post Reply