Search found 20 matches

by rkillcrazy
Wed Mar 07, 2012 2:02 pm
Forum: Command Line Interface And Scripting
Topic: Different file size?
Replies: 26
Views: 4136

Re: Different file size?

Just in case anyone wanted to know what the new script looks like... @ECHO off :: Last modified: 2012-03-07 SETLOCAL SET _HandBrake=%ProgramFiles%\HandBrake\HandBrakeCLI.exe SET _source=C:\temp\MainMovie SET _destination=C:\temp\MainMovie :: Using a FOR loop, processes raw rips to mp4 files. :: Exam...
by rkillcrazy
Wed Mar 07, 2012 12:53 pm
Forum: Command Line Interface And Scripting
Topic: Different file size?
Replies: 26
Views: 4136

Re: Different file size?

Well, I think we fixed my issue. File sizes of those generated by the GUI now math those generated by the CLI. I ended up calling the preset and then specifying a quality setting in the CLI which any additional arguments/switches will do just that anyway. It's annoying but it's good to know in any c...
by rkillcrazy
Tue Mar 06, 2012 8:40 pm
Forum: Command Line Interface And Scripting
Topic: Different file size?
Replies: 26
Views: 4136

Re: Different file size?

rollin_eng wrote:I think the presets are baked into the cli and cannot be changed.
Then, what's the point of the XML if it's all baked in? Seems like something you could just set a switch/argument for.

In either case, I've reverted the XML back to 20 and am testing it again.
by rkillcrazy
Tue Mar 06, 2012 8:25 pm
Forum: Command Line Interface And Scripting
Topic: Different file size?
Replies: 26
Views: 4136

Re: Different file size?

I seem to remember reading that the cli cannot use custom presets, perhaps a dev can confirm. Oh, and it's not a custom one... It the default "High Profile" preset though I did tweak the XML a little to reflect the 17 in lieu of 20 on the quality setting. Again, the preset works in the GU...
by rkillcrazy
Mon Mar 05, 2012 1:46 pm
Forum: Command Line Interface And Scripting
Topic: Different file size?
Replies: 26
Views: 4136

Re: Different file size?

rollin_eng wrote:GUI RF = 17
CLI RF = 20

This might be the cause.
Which makes sense. However, the batch file calls the high profile preset and the GUI is set to use it as well. Why would they differ if they are supposed to call the same preset - with the same quality setting?
by rkillcrazy
Mon Mar 05, 2012 1:17 pm
Forum: Command Line Interface And Scripting
Topic: Different file size?
Replies: 26
Views: 4136

Re: Different file size?

Okay, here's one....

GUI = 2.43-GB
CLI = 1.70-GB
by rkillcrazy
Fri Mar 02, 2012 7:46 pm
Forum: Command Line Interface And Scripting
Topic: Different file size?
Replies: 26
Views: 4136

Re: Different file size?

Okay, there's definitely a difference between these files. Maybe I had the wrong log file last time. I've dropped in the redirect. I've got the batch running & dumping to a new log file for each MP4. When that's done, I'm going to do a few via the GUI. It may take a while so I'll get the info ba...
by rkillcrazy
Fri Mar 02, 2012 6:02 pm
Forum: Command Line Interface And Scripting
Topic: Different file size?
Replies: 26
Views: 4136

Re: Different file size?

CLI logs are written to standard error. So, if it's using stderr , I should be able to redirect it right? If so, how so? I'd tried adding >> some_text_file.txt to the end of the command but it looks more like it spits out general progress of the creation (10% complete, 15% complete, etc.) but not t...
by rkillcrazy
Fri Mar 02, 2012 4:22 pm
Forum: Command Line Interface And Scripting
Topic: Different file size?
Replies: 26
Views: 4136

Re: Different file size?

Your batch and gui encode look the same size to me. WTF!? Yeah, you're right...... Now I'm on this side of the fence! :oops: I'm in IT and I've lost count of how many times someone has described an issue to me, went to duplicate it in front of me and then couldn't. I'll watch it with a few more and...
by rkillcrazy
Fri Mar 02, 2012 4:06 pm
Forum: Command Line Interface And Scripting
Topic: Different file size?
Replies: 26
Views: 4136

Re: Different file size?

rollin_eng wrote:We need to see 2 complete logs for the same movie to figure out the issue.

So far we have a batch log for bridesmaids and a gui log for smurfs.
Here are the new logs for the GUI:
Bridesmaids (2011)_GUI
Bridesmaids (2011)_GUI - last_scan
Bridesmaids (2011)_GUI - last_encode
by rkillcrazy
Fri Mar 02, 2012 1:14 pm
Forum: Command Line Interface And Scripting
Topic: Different file size?
Replies: 26
Views: 4136

Re: Different file size?

Here are the new logs for the GUI: The Smurfs (2011)_GUI The Smurfs (2011)_GUI - last_scan The Smurfs (2011)_GUI - last_encode Oddly enough, the batch file never dumped anything in that directory. At any rate, the process was still the same. The same batch file was used... The GUI produced a 2.43-GB...
by rkillcrazy
Fri Mar 02, 2012 12:05 pm
Forum: Command Line Interface And Scripting
Topic: Different file size?
Replies: 26
Views: 4136

Re: Different file size?

Log from manual process via the GUI which produces a 1.84-GB MP4. This log is incomplete, can you make sure you copied it all to pastebin. I've since deleted all the logs from that directory. I'm currently creating an MP4 via the GUI. When that's done, I will attempt to create the same MP4 via my s...
by rkillcrazy
Fri Mar 02, 2012 11:38 am
Forum: Command Line Interface And Scripting
Topic: Different file size?
Replies: 26
Views: 4136

Re: Different file size?

Rodeo wrote:Please provide the full log for the GUI encode.
Sorry; I thought I did... Where is it if it's not one of the two I submitted? I see several in "%appdata%\HandBrake\logs" but I thought I had what I needed.
by rkillcrazy
Fri Mar 02, 2012 12:57 am
Forum: Command Line Interface And Scripting
Topic: Different file size?
Replies: 26
Views: 4136

Re: Different file size?

I too am having the same issue. I've tweaked the preset "High Profile" to my liking. I did this because creating my own preset didn't produce any better results. When I open the GUI and choose that preset, I create the MP4s without issue. However, when I call the preset in a batch file, it...
by rkillcrazy
Fri Feb 19, 2010 2:28 am
Forum: Windows
Topic: Windows Batch File
Replies: 9
Views: 2362

Re: Windows Batch File

Thanks for the reply. Yeah, I'm going through that right now. It took a lot to get the old script working. I've almost given up and just did a "%ProgramFiles(x86)%\HandBrake\HandBrakeCLI.exe" -z and it gave me a list of presets and the full string of switches that the presets hold. I figur...
by rkillcrazy
Fri Feb 19, 2010 1:37 am
Forum: Windows
Topic: Windows Batch File
Replies: 9
Views: 2362

Re: Windows Batch File

Well, I'm back! I upgraded to the latest version and my script no longer works. Below is my current script. It seems as though the documentation of switches and such has not caught up with the release of the latest version yet. @echo off ::Runs on a 32-Bit version of Windows ::set HandBrake="%P...
by rkillcrazy
Mon Jun 15, 2009 9:59 pm
Forum: Windows
Topic: Windows Batch File
Replies: 9
Views: 2362

Re: Windows Batch File

I'm new to this program but I like it thus far. I'm working on a batch file that will take all of my DVD rips and encode them to MP4s. Below is a working batch file. set HandBrake="%ProgramFiles%\HandBrake\HandBrakeCLI.exe" set switches=-L -f mp4 -p -e x264 -b 2500 -a 1 -E faac -B 160 -R ...
by rkillcrazy
Mon Jun 15, 2009 9:27 pm
Forum: Windows
Topic: Windows Batch File
Replies: 9
Views: 2362

Re: Windows Batch File

Question: 1) Any thoughts / comments on error below to confirm that my RTFM is correct that I must first rip the DVD and that is the fix for the below error... I use Windows too. I don't know how MAC does it but I know Windows wants the DVDs to be ripped first. MAC might have other ways around the ...
by rkillcrazy
Mon Jun 15, 2009 9:21 pm
Forum: Windows
Topic: Windows Batch File
Replies: 9
Views: 2362

Re: Windows Batch File

I'm new to this program but I like it thus far. I'm working on a batch file that will take all of my DVD rips and encode them to MP4s. Below is a working batch file. set HandBrake="%ProgramFiles%\HandBrake\HandBrakeCLI.exe" set switches=-L -f mp4 -p -e x264 -b 2500 -a 1 -E faac -B 160 -R ...
by rkillcrazy
Fri Apr 10, 2009 10:11 pm
Forum: Windows
Topic: Windows Batch File
Replies: 9
Views: 2362

Windows Batch File

I'm new to this program but I like it thus far. I'm working on a batch file that will take all of my DVD rips and encode them to MP4s. Below is a working batch file. set HandBrake="%ProgramFiles%\HandBrake\HandBrakeCLI.exe" set switches=-L -f mp4 -p -e x264 -b 2500 -a 1 -E faac -B 160 -R 4...