Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Frame Range to Preset #4146

Open
sterod opened this issue Feb 4, 2022 · 14 comments
Open

Add Frame Range to Preset #4146

sterod opened this issue Feb 4, 2022 · 14 comments

Comments

@sterod
Copy link

sterod commented Feb 4, 2022

Description of the feature or enhancement you'd like to see in HandBrake

I would like the ability to save the frame range in a preset. For example, when encoding a large number of episodes of the same show, I like to strip out the NF intro which is 120 frames. It would be nice if I could store the frame start of 120 in the preset so that I could use the "add all to queue" button, but it doesn't allow that so the starting frame must be manually typed in for every file then added to the queue one by one.

What Operating System are you running?

Windows 10

What version of HandBrake are you running?

Nightly 20220120184009-3d5923d97-master (2022012101)

Where did you download HandBrake from?

github

Activity Log, Crash Log or any other details

No response

@bradleysepos
Copy link
Contributor

If we do such a thing, we would need to revisit the UI, as the presets currently do not encapsulate those and nearby controls in the hierarchy and it could get confusing if we cherry-pick without some reorganization.

@sterod
Copy link
Author

sterod commented Feb 4, 2022

Understood, thanks for the explanation.

@sr55
Copy link
Contributor

sr55 commented Feb 4, 2022

We've talked briefly about this in the past under #680

I'd be inclined to tweak the UI preferences around the range controls per the above case rather than try jack it into the presets which isn't really designed for that kind of thing.

@sterod
Copy link
Author

sterod commented Feb 4, 2022

Ok, if I am understanding your correctly you are suggesting modifying the UI so that if the frame range is set on the first file, it will pass on that frame range to all the others when "Add all" is clicked? If so, I'd be good with that as an alternative for being in the preset.

@sr55
Copy link
Contributor

sr55 commented Feb 4, 2022

Something along those lines.

@sr55
Copy link
Contributor

sr55 commented Feb 12, 2022

image

Putting some more thought into it I reckon:

  • The "Add selection" window would probably be the best place to put such a feature (example UX above)
  • We'd need to optionally choose both start and end. Content is rarely the exact same length.

The only thing I have concern about it's highlighting functionality that likely won't ever be advanced further (since NLEs are better suited to trimming) and it might highlight some if its' flaws in HB (Lack of accuracy)

@sterod
Copy link
Author

sterod commented Feb 12, 2022 via email

@Chewbakka-Wakka
Copy link

Has this been implemented because I have almost 300 source content files that does have identical numbers of seconds and frames. I too need to en masse way to perform this without manually adjusting every single object to crop the end duration.
This would be really useful!

@sr55
Copy link
Contributor

sr55 commented Aug 16, 2022

Nope. Still on the todo list.

@Tinase-nau

This comment was marked as abuse.

@Metathesus
Copy link

Metathesus commented Nov 22, 2022

Because It seems complicate to implement it in Handbrake, this small tool with a simple GUI can help to do the job with Handbrake CLI, you can make to split/cut (even multiple split/cut) in batch.
1 - Export queue (CLI) from Handbrake to get your presets
2 - Import in the tool

https://github.com/Metathesus/Handbrake-batch-split

@sterod
Copy link
Author

sterod commented Feb 18, 2024

Hi, just curious if this is still planned for implementation? Last week I had to manually set the start frame for 295 episodes of a show and it was such a tedious process it brought me back to my original suggestion from 2 years ago.

@Chewbakka-Wakka
Copy link

Sterod, until this is done may I suggest using the CLI tool. It really is useful for this kind of task.
I put mine into a templated script.

https://handbrake.fr/downloads2.php
https://handbrake.fr/docs/en/latest/cli/command-line-reference.html

--start-at string:number
Start encoding at a given offset in seconds,
frames, or pts (on a 90kHz clock)
(e.g. seconds:10, frames:300, pts:900000).
Units must match --stop-at units, if specified.

@sr55
Copy link
Contributor

sr55 commented Feb 18, 2024

Hi, just curious if this is still planned for implementation?

Still an open request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

6 participants