I want to split a video file (an MPEG Transport Stream recorded by EyeTV) into several parts, and know the frames I want each part to start and stop at. I know I can do multiple calls to HandBrakeCLI using calls like this
> HandBrakeCLI --input in.mpg --preset 'myPreset' --start-at frame::31850 --stop-at frame:10491 --output out1.mp4
> HandBrakeCLI --input in.mpg --preset 'myPreset' --start-at frame::42341 --stop-at frame:8367 --output out2.mp4
But as I move farther and farther into the input file, it takes longer and longer to find the starting place. Is it possible to have HandBrake export all the parts one right after each other to avoid starting looking at the beginning each time?
Or more generally, as I realize this may be an XY problem (http://xyproblem.info/),
how do I reduce the time Handbrake spends looking for the start of the clip?
Here's the use case: this is for recordings of old VHS home videos, each several hours long, and I'm breaking them into numerous short segments and converting to h264. So 30 to 50 segments is not unusual; so it's not just one or two splits, and it's not just for one or two tapes.
Reduce time looking for start (perhaps by multiple encodes consecutively)?
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.
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.
-
- Posts: 3
- Joined: Sat Feb 10, 2018 5:57 pm
Re: Reduce time looking for start (perhaps by multiple encodes consecutively)?
HB has no ability to use work from a previous job, so endure the seeking or break the source up with something else prior to HB.