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

Cut between key-frames #248

Open
Lazaro10e0 opened this issue Nov 29, 2024 · 0 comments
Open

Cut between key-frames #248

Lazaro10e0 opened this issue Nov 29, 2024 · 0 comments

Comments

@Lazaro10e0
Copy link

Lazaro10e0 commented Nov 29, 2024

I dont understand why it is limited to key-frames (I am not sure where to post this, sorry if this is the wrong place)

If you have to cut between c and d keyframes:
a----b------c-----d------c-----d----e
[a----b------c---]--d------c-----d----e

Create 2 temporal videos:

  1. a----b------c
  2. c---]--d

Decode the extremely small 2nd video, split it with frame-precission and encode:

  1. c---|

And merge 1 and 3.

I have tested it manually exporting the GOP where the cut is desired "uncompressed", then making the cut in the exact frame and exporting encoded. Then combine (concat), and works almost perfect (i think it duplicates one frame or something).

Having another option "Cut without reencoding anywhere", I think this would be very useful for some people/applications.

Thanks a lot for the software.

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

No branches or pull requests

1 participant