Answer the question
In order to leave comments, you need to log in
How to split streaming video through FFMpeg?
The essence of the question is this, there is an http link to the stream via mjpg-streamer, you need to download the stream and split it in 30 seconds, I try like this
ffmpeg -i ' 192.168.0.47:8080/?action=stream ' -f segment -segment_time 1 - map 0 -vcodec copy -acodec copy out%03d.avi
Splits in 1 second, but! at the beginning there is an empty gap, i.e. if the video lasts 15 seconds, 14 seconds of emptiness will be recorded, and 1 second of the frame - then 15 emptiness and 1 second of the frame and so on ... How to get rid of the emptiness?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question