Search found 8 matches

by ronnor
Fri Aug 29, 2008 9:20 pm
Forum: Command Line Interface And Scripting
Topic: Batch conversion using CLI via Perl or Shell script??
Replies: 40
Views: 50401

Re: Batch conversion using CLI via Perl or Shell script??

So, I'm starting to wonder if handbrake (or at the very least, my installation of handbrake) is able to convert standalone video files at all. In a nutshell, it will process any mpeg2 file (DVD, Capture from most PVR cards, Transport Stream files from OTA HD, etc.). If your file is not mpeg2, try u...
by ronnor
Fri Aug 29, 2008 3:10 pm
Forum: Command Line Interface And Scripting
Topic: Batch conversion using CLI via Perl or Shell script??
Replies: 40
Views: 50401

Re: Batch conversion using CLI via Perl or Shell script??

trondmm, can you post your full CLI command and any changes you made to the script?
by ronnor
Mon May 05, 2008 9:26 pm
Forum: Command Line Interface And Scripting
Topic: Batch conversion using CLI via Perl or Shell script??
Replies: 40
Views: 50401

Re: Batch conversion using CLI via Perl or Shell script??

This is my evolving script for transcoding MacTheRipper files. Just save the file in a logical place (I keep it in the Movies Folder... same place I rip movies to). It will loop through all titles longer than X. 1) Save this to a file called "handbrake-longer-than.sh" #!/bin/sh # usage is ...
by ronnor
Tue Apr 15, 2008 8:05 pm
Forum: Command Line Interface And Scripting
Topic: Filesize different using Preset?
Replies: 5
Views: 2032

Re: Filesize different using Preset?

Wow, Jon. You wake up on the wrong side of the bed or what?

Thanks for your help.
by ronnor
Tue Apr 15, 2008 6:26 pm
Forum: Command Line Interface And Scripting
Topic: Filesize different using Preset?
Replies: 5
Views: 2032

Re: Filesize different using Preset?

Thanks for your reply, but that appears to have no bearing on the file size. When I added the quotes, the file size is exactly the same.

Also, CLI seems to run fine without the quotes.
by ronnor
Tue Apr 15, 2008 5:27 pm
Forum: Command Line Interface And Scripting
Topic: Filesize different using Preset?
Replies: 5
Views: 2032

Filesize different using Preset?

Any idea why using a CLI Preset produces a much smaller file than the equivalent variables? Example: HandBrakeCLI -i somedir -o somefile.m4v -Z --AppleTV -2 -T -L produces a file 768MB The longer equivalent (which I found on this forum) HandBrakeCLI -i somedir -o somefile.m4v -e x264 -b 2500 -E aac+...
by ronnor
Sun Mar 09, 2008 3:30 am
Forum: Command Line Interface And Scripting
Topic: Batch conversion using CLI via Perl or Shell script??
Replies: 40
Views: 50401

Re: Batch conversion using CLI via Perl or Shell script??

This seems to work ok for VIDEO_TS directories: ./myscript.sh /pathToSomeDirContainingABunchOfVIDEO_TSdirectories (it works recursively ) Obviously, you need to change your args for the bitrate, etc. #!/bin/sh for i in $(find $1 -name VIDEO_TS) ; do /Path/to/HandBrakeCLI -i $i -o $i.mp4 -e x264 -b 3...
by ronnor
Sat Mar 08, 2008 9:38 pm
Forum: Command Line Interface And Scripting
Topic: Batch conversion using CLI via Perl or Shell script??
Replies: 40
Views: 50401

Re: Batch conversion using CLI via Perl or Shell script??

This is slightly different from your request, but I figured out to to loop through a dir full of MPEGs (from my BeyondTV PVR). First, I had to copy them to my Mac and ran Automator to remove all the spaces and odd characters (like replace ampersands and parentheses with dashes or underscores). Then ...