Page 1 of 1

How do you find the command line arguments for your current settings?

Posted: Mon May 16, 2016 7:44 am
by Ste_Moore01
Hi,

I've just come across the HandbrakeCLI and thought it would be quite useful to add into a program I've written.

Normally, when I use Handbrake, the default settings are perfect for what I need, but when I used the CLI with only the input and output arguments entered, the resulting MP4 was terrible.

The video was pixelated so much that it was unwatchable.

Could anyone tell me what arguments to enter to get the default settings, or (if I've changed them somehow and not realised) is there a way I can find out the arguments for the settings I'm currently using?

I'm new to using the CLI and I've only ever used Handbrake with the default settings it has, so if I've asked something stupid, please forgive me.

Any help would be much appreciated.

Re: How do you find the command line arguments for your current settings?

Posted: Mon May 16, 2016 4:21 pm
by rollin_eng
Could you please post your logs, instructions can be found here:

viewtopic.php?f=6&t=31236

Re: How do you find the command line arguments for your current settings?

Posted: Mon May 16, 2016 4:44 pm
by mduell
Uh, if you're not going to tell us what you did, how can we possibly help you?

Re: How do you find the command line arguments for your current settings?

Posted: Fri Jun 10, 2016 7:44 pm
by silentSmiter22
Here is a way to find your command line arguments...

Open 'Task Manager'
Go to 'Details'
Right click on a column title and choose 'Select Columns'
Choose 'Command Line'
Sort by CPU

Open Handbrake and start a conversion with whatever settings you want.

Look for Handbrake in the Task Manager - it will most likely be at the top of the list once you start the conversion if sorted by CPU

The Command Line column should show all of the arguments being used.

Hope that helps!

Re: How do you find the command line arguments for your current settings?

Posted: Fri Jun 10, 2016 8:39 pm
by JohnAStebbins
silentSmiter22 wrote:Here is a way to find your command line arguments...

Open 'Task Manager'
Go to 'Details'
Right click on a column title and choose 'Select Columns'
Choose 'Command Line'
Sort by CPU

Open Handbrake and start a conversion with whatever settings you want.

Look for Handbrake in the Task Manager - it will most likely be at the top of the list once you start the conversion if sorted by CPU

The Command Line column should show all of the arguments being used.

Hope that helps!
The OP did not provide enough information for anyone to know if your above suggestion will work for him. You may have just sent him on a wild goose chase. Thus the reason we require an activity log.

The above only works with very old versions of the Windows HandBrake GUI which used to just be a frontend to the command line. A log would tell us both the platform the user is running HandBrake on and the version of HandBrake he is running. At a minimum, these things are required to give an accurate answer to the question.

Re: How do you find the command line arguments for your current settings?

Posted: Fri Jun 10, 2016 9:32 pm
by mduell
JohnAStebbins wrote:The OP did not provide enough information for anyone to know if your above suggestion will work for him. You may have just sent him on a wild goose chase. Thus the reason we require and activity log.
Given the OP's choice not to provide the mandatory encoding log, it seems fair for the replies to assume whatever they'd like.

Re: How do you find the command line arguments for your current settings?

Posted: Wed Jun 29, 2016 3:26 pm
by silentSmiter22
JohnAStebbins wrote: The OP did not provide enough information for anyone to know if your above suggestion will work for him. You may have just sent him on a wild goose chase. Thus the reason we require an activity log.
I apologize if I provided inaccurate information. Just trying to help with something that has worked for me in the past.

Re: How do you find the command line arguments for your current settings?

Posted: Wed Jun 29, 2016 3:59 pm
by JohnAStebbins
silentSmiter22 wrote:
JohnAStebbins wrote: The OP did not provide enough information for anyone to know if your above suggestion will work for him. You may have just sent him on a wild goose chase. Thus the reason we require an activity log.
I apologize if I provided inaccurate information. Just trying to help with something that has worked for me in the past.
No apology necessary. My comment was more directed at the OP for not following the clear instruction in bold red on red background at the top of the page. You just provided a convenient example for me to use to illustrate why we insist that activity logs be supplied for all support requests.

Re: How do you find the command line arguments for your current settings?

Posted: Fri Sep 09, 2016 1:51 am
by Cool Javelin
I think I found the answer.

I started a conversion then I clicked on "Tools"->"Activity Log" (alternatively press CTRL-L.)

Just a very short way down is an entry called "CLI Query"

I was able to copy and paste it.

Mark.

Re: How do you find the command line arguments for your current settings?

Posted: Fri Sep 09, 2016 2:27 am
by mduell
That's Windows GUI only and going away.