You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add Range Limits to Add to Queue Selection Window #4146
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.
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.
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.
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.
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)
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!
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
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.
--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.
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.
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.
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.
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.
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.
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.
@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?
Activity
bradleysepos commentedon Feb 4, 2022
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 commentedon Feb 4, 2022
Understood, thanks for the explanation.
sr55 commentedon 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 commentedon 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 commentedon Feb 4, 2022
Something along those lines.
sr55 commentedon Feb 12, 2022
Putting some more thought into it I reckon:
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 commentedon Feb 12, 2022
Chewbakka-Wakka commentedon Aug 16, 2022
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 commentedon Aug 16, 2022
Nope. Still on the todo list.
Tinase-nau commentedon Aug 24, 2022
Metathesus commentedon 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 commentedon 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 commentedon Feb 18, 2024
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 commentedon Feb 18, 2024
Still an open request.
9 remaining items
dunny1g commentedon Jul 9, 2024
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.
sr55 commentedon Jul 9, 2024
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.
dunny1g commentedon Jul 9, 2024
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.
sr55 commentedon Jul 9, 2024
We are not going to implement it so it's not going to be re-opened. Closure reason updated.
dunny1g commentedon Jul 9, 2024
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.
galad87 commentedon Jul 19, 2024
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.
sterod commentedon Jul 31, 2024
@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?