-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Support AVPacket to efficiently segment, trim, encode with hardware, stream multiple times, etc #93
Comments
It's possible to do it manually by grabbing the frames and recording only the ones we're interested in. But, to be more efficient, we would need to provide a way to bypass the decoding and encoding process, and pass the packets directly: |
Hi samuel, |
@alicanalbayrak Cool! Could you include the necessary logic in |
Sure, I'll work on that. I'm planning to send you pull request in a few days. |
* Support `AVPacket` in `FFmpegFrameGrabber` and `FFmpegFrameRecorder` to copy without re-encoding (issue #93)
The implementation from @alicanalbayrak is part of the just released version 1.2! Thanks for the contribution :) |
FYI, if the |
I'm referring to the
-segment_time
in the command belowAbove code grabbed from http://unix.stackexchange.com/questions/148602/ffmpeg-split-video-multiple-parts
I'm also aware of this feature being requested earlier https://groups.google.com/forum/#!topic/javacv/4wO6gODaq4w
The text was updated successfully, but these errors were encountered: