-
Notifications
You must be signed in to change notification settings - Fork 439
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
Does this package use ffmpeg for Repackaging? #1508
Comments
|
I tried to cut and encode 5 seconds of video using ffmpeg in Python and return the output as a response. What do you think can improve the speed of this code?
|
You are transcoding the video with this command, it is expected to be slow.
Then you can avoid the transcode, and just use |
@erankor Thank you, that was a very helpful tip. What advice can you give about cutting a part of the video without using ffmpeg (assuming that the keyframes are regular every 2 seconds) I have read all the issues of the repository, as well as part of the code, I know that you do this by reading the atoms of a mp4 file. But again, I didn't understand exactly how this is done, I just know that ffmpeg is very slow in doing this and it has to be done manually. Thank you for explaining with a piece of code. |
Can we calculate how many bytes each second or each frame is and separate it into 2 seconds ? |
Does this package use ffmpeg for Repackaging?
And whether it is possible to make a Repackager like this with Python?
The text was updated successfully, but these errors were encountered: