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

Clip without re-encoding? #12

Open
uwidev opened this issue Mar 28, 2022 · 1 comment
Open

Clip without re-encoding? #12

uwidev opened this issue Mar 28, 2022 · 1 comment

Comments

@uwidev
Copy link

uwidev commented Mar 28, 2022

Not too sure if this is entirely possible but, is it possible to extract sections without re-encoding, or at least keeping the exact same format as the original?

I think this would make a really good way to extract sections from very long videos, but if it re-encodes the entire section, I'm assuming it would take longer.

@tatsumoto-ren
Copy link
Member

extract sections without re-encoding

ffmpeg -i vid.mov -c copy -ss X -to Y out.mov

If you extract a portion of a clip without re-encoding, the boundaries are going to be quite rough. If you need a precise cut, you have to re-encode.

We could add the following command as a shortcut to this add-on.

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

2 participants