Script to cut alternate sets of keyframes?

Started by blazini36, September 01, 2024, 07:37:16 AM

Previous topic - Next topic

blazini36

Is there any script to cut every X amount of keyframes? I have a DVD with 2 angles that alternate every 3rd keyframe in a single file. Handbrake usually picks the angles up but it's failing on this one, not to mention that requires a re-encode. If I sat here and clicked the "Go to next keyframe" button 3x, then set A marker, jumped 3 keyframes, set B marker, cut, and did that for the whole file then output it in copy mode I'd have a perfect video of 1 angle....but I certainly don't have time to do that by hand, it would be like 1000 cuts.

I don't know much about scripting myself, kinda hoping something already exists to do this.

eumagga0x2a

Please provide a sample (about 100 MiB from the start of the first 1 GiB large VTS_0x_y.VOB file).

RocketJet

Quote from: blazini36 on September 01, 2024, 07:37:16 AMHandbrake usually picks the angles up but it's failing on this one,

Try DVDShrink in Re-Author mode. It has the capability of selecting a specific angle,
and can produce lossless output. It's free, so you haven't lost anything if it does not work..

blazini36

Quote from: RocketJet on September 02, 2024, 03:23:02 AM
Quote from: blazini36 on September 01, 2024, 07:37:16 AMHandbrake usually picks the angles up but it's failing on this one,

Try DVDShrink in Re-Author mode. It has the capability of selecting a specific angle,
and can produce lossless output. It's free, so you haven't lost anything if it does not work..


I don't often use Windows so I was reluctant to bother trying this but it looks like it does work. Thanks