Skip to content

Add Range Limits to Add to Queue Selection Window #4146

Open

Description

@sterod

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

Activity

  1. bradleysepos commented on Feb 4, 2022

    @bradleysepos
    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.

  2. sterod commented on Feb 4, 2022

    @sterod
    Author

    Understood, thanks for the explanation.

  3. sr55 commented on Feb 4, 2022

    @sr55
    Contributor

    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.

  4. sterod commented on Feb 4, 2022

    @sterod
    Author

    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.

  5. sr55 commented on Feb 4, 2022

    @sr55
    Contributor

    Something along those lines.

  6. sr55 commented on Feb 12, 2022

    @sr55
    Contributor

    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)

  7. sterod commented on Feb 12, 2022

    @sterod
    Author
  8. Chewbakka-Wakka commented on Aug 16, 2022

    @Chewbakka-Wakka

    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!

  9. sr55 commented on Aug 16, 2022

    @sr55
    Contributor

    Nope. Still on the todo list.

  10. Tinase-nau commented on Aug 24, 2022

    @Tinase-nau
  11. Metathesus commented on Nov 22, 2022

    @Metathesus

    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

  12. sterod commented on Feb 18, 2024

    @sterod
    Author

    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.

  13. Chewbakka-Wakka commented on Feb 18, 2024

    @Chewbakka-Wakka

    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.

  14. sr55 commented on Feb 18, 2024

    @sr55
    Contributor

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

    Still an open request.

  15. 9 remaining items

  16. dunny1g commented on Jul 9, 2024

    @dunny1g

    I don't like the changing of the issue title here and closing of the other issues (#680 + #4513) which are not similar really at all.

    Having a Preferences option to customize default source range selection so we can select either Chapters, Seconds or Frames as default program-wide and for importing individual files instead is much different to adding a Frame Range to a Preset and adding Range Limits to the Add to Queue Selection Window. #680 seemed like a rightfully separate issue in the first place.

  17. sr55 commented on Jul 9, 2024

    @sr55
    Contributor

    There are no plans to add a preference for this. Sorry if this isn't suitable for you but not all requests will be implemented in the specific way they were requested or over time, ideas for how something may be implemented can change.

    Using a preference was initially considered but ultimately decided against in this case.

  18. dunny1g commented on Jul 9, 2024

    @dunny1g

    Thank you for the response. Fair enough but if there are no plans for it then #680 should be re-opened as this invalidates the closure reason of "Basically the same issue" since the upcoming implemention here doesn't satisfy that issue's description as they are not similar issues.

  19. sr55 commented on Jul 9, 2024

    @sr55
    Contributor

    We are not going to implement it so it's not going to be re-opened. Closure reason updated.

  20. dunny1g commented on Jul 9, 2024

    @dunny1g

    I disagree with the new closure reason as they are simply not similar but I see you are not open to changing your mind here so just have to hope for a different contributor to pick it up in the future.

  21. galad87 commented on Jul 19, 2024

    @galad87
    Contributor

    I've added a similar option to the MacGui "Add titles to queue" sheet, which a small addition to allow to trim some seconds or frames from the end, instead of setting the end duration.

  22. sterod commented on Jul 31, 2024

    @sterod
    Author

    Support added to the Windows UI.

    I decided against the "Retain" approach as it was a bit awkward from a UX point of view. Instead, it's just user-selectable limits and it'll handle out of range scenarios by not adding those to the queue and throwing an error alert.

    hb_screenshot

    @sr55 This is working and I really appreciate you implementing this! I did find a visual bug which you may want to fix in a future build. When the start and stop selections are made using frames (not seconds), it defaults the end number of frames of each item to 864000 (36 hours). As a result, the queue processing times are way off. Is it possible to have handbrake properly assign the actual end frame for each selection so the queue times will be accurate?

  23. modified the milestones: 1.9.0, , 1.10.0 on Nov 28, 2024
  24. modified the milestones: 1.10.0, 1.11.0 on Aug 2, 2025
  25. removed this from the 1.11.0 milestone on Feb 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions