Change Reframes

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
Freeworldlive
Posts: 2
Joined: Mon Feb 29, 2016 9:01 am

Change Reframes

Post by Freeworldlive »

Hello,
Mac 10.10.5, Handbrake Version 0.10.5 x86_64

Question:
I would like from 4 to 2 reframes. How to do?
Thank you for your reply.
mduell
Veteran User
Posts: 8197
Joined: Sat Apr 21, 2007 8:54 pm

Re: Change Reframes

Post by mduell »

ref=2 in the advanced options box.
Woodstock
Veteran User
Posts: 4619
Joined: Tue Aug 27, 2013 6:39 am

Re: Change Reframes

Post by Woodstock »

But the "box" isn't present on the CLI.

The options are found in the CLI documentation: https://trac.handbrake.fr/wiki/CLIGuide

--encopts seems to be the one that lets you put in individual parameters like "ref=2", but it can and will be overridden by what is in the x264 profile being used.
Deleted User 11865

Re: Change Reframes

Post by Deleted User 11865 »

Woodstock wrote:--encopts seems to be the one that lets you put in individual parameters like "ref=2", but it can and will be overridden by what is in the x264 profile being used.
No, --encopts overrides --encoder-preset

The only options that override --encopts are --encoder-profile and --encoder-level :)
Woodstock
Veteran User
Posts: 4619
Joined: Tue Aug 27, 2013 6:39 am

Re: Change Reframes

Post by Woodstock »

I didn't say preset...
-x or --encopts: permits you to pass through advanced encoding options to the encoder (only for x264 and ffmpeg2/ffmpeg4). Applies before and is thus overridden by --x264-profile.
Deleted User 11865

Re: Change Reframes

Post by Deleted User 11865 »

Heh. But the profile will not override ref=2, since the lowest maximum for a preset is 4 (unless you specify an H.264 profile that's too low for the output resolution & frame rate, in which case the behavior is undefined).
Freeworldlive
Posts: 2
Joined: Mon Feb 29, 2016 9:01 am

Re: Change Reframes

Post by Freeworldlive »

Thank you for your answers. I found the solution and the correct code to add to Additional Option: ref = 2: bframes. Without being a specialist, a way not to go through handbrakeCLI. For Youtube, it's ref = 2 Is that correct?
mduell
Veteran User
Posts: 8197
Joined: Sat Apr 21, 2007 8:54 pm

Re: Change Reframes

Post by mduell »

It doesn't matter since they'll reencode anyway.
Post Reply