FFmpeg is shutting down when concating segmented files and outputting to UDP
hello, I am new to this community, i have used ffmpeg in my server in which i have live streams and i am segmenting them and then storing after a while i concat the segmented files and then output these to udp. Firstly i got a problem of open file limit which i had solved but then again i got a problem in which the ffmpeg shut down automatically in 2-3 days, time is not random. I am using xeon processor with 16 gb ram, ffmpeg version 3.4. earlier i have noticed that cpu utility increases but exactly don't knw the reason. i have also generated the log file with -report option but these log files are generated in order of 100s of gbs but i have managed to grab some end file lines and there is no error message before quitting, i also tried hardware accel qsv but i am still getting same problem. i have doubt that this is bug in ffmpeg. Please help me with solving this issue. Thanks, Regards Sagar
On Tue, Jan 15, 2019, 07:38 Sagar Lakhani <lakhani.sagar@gmail.com wrote:
hello, I am new to this community, i have used ffmpeg in my server in which i have live streams and i am segmenting them and then storing after a while i concat the segmented files and then output these to udp. Firstly i got a problem of open file limit which i had solved but then again i got a problem in which the ffmpeg shut down automatically in 2-3 days, time is not random. I am using xeon processor with 16 gb ram, ffmpeg version 3.4. earlier i have noticed that cpu utility increases but exactly don't knw the reason. i have also generated the log file with -report option but these log files are generated in order of 100s of gbs but i have managed to grab some end file lines and there is no error message before quitting, i also tried hardware accel qsv but i am still getting same problem. i have doubt that this is bug in ffmpeg. Please help me with solving this issue. Thanks,
Regards Sagar _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org with subject "unsubscribe".
Hello there, Show us the full, uncut command and the console output. Reminder: Only git head is supported here, FYI.
a problem in which the ffmpeg shut down automatically in 2-3 days
log files are generated in order of 100s of gbs
wow. I am curious, but you haven’t told us anything about the command except that it crashes. The “open file limit” is probably one of several limits the process was nearing.
I am sorry for the late reply, i found another way of doing the same. the command i was using in concat script was ffmpeg -y -re -safe 0 -report -loglevel warning -i "${concat_pls:?}" -codec copy -b 4000k -minrate 4000k -maxrate 4000k -bufsize 1835k -copyts -strict -2 -mpegts_service_id $PID -f mpegts -localaddr $ipout udp://$outip:$outport?pkt_size=1316 and the ffmpeg was shutting down on its own, i am also sorry that currently i don't have the report or console log from the ffmpeg, but i am sure that there was nothing there in the report when it is shutting down. On Thu, Feb 14, 2019 at 12:04 AM Ted Park <kumowoon1025@gmail.com> wrote:
a problem in which the ffmpeg shut down automatically in 2-3 days
log files are generated in order of 100s of gbs
wow.
I am curious, but you haven’t told us anything about the command except that it crashes. The “open file limit” is probably one of several limits the process was nearing. _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org with subject "unsubscribe".
participants (3)
-
Dennis Mungai -
Sagar Lakhani -
Ted Park