-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
Closing ffmpeg when isn't used #25
Comments
When the ffmpeg is closed, is the last segment complete? |
Yes, it does not kill ffmpeg just waits it to finish. That would need to be implemented. What kill signal do you use? |
I tried "kill -9|HUP|SIGINT", pressing "q"... I saw the ffmpeg command with only "-ss" inside the go-transcode, because this I asked about it. |
I have tested ffmpeg a lot, the best video process is to keep ffmpeg until the end of the video when getting new segment, you can close ffmpeg only if it asks for a future segment (seek) or if it doesn't request a new segment for a while (timeout ). |
The ffmpeg will be killed after 50 segments are created.
But When I start a video with a index file, the vlc start all playlists and some ffmpeg instances are started, this slows down the server, maybe there should be a better control to disable ffmpeg when not used, and when used, increase the limit from 50 to another after new requests, so there is no cut in audio between old and new segments.
The text was updated successfully, but these errors were encountered: