[FFmpeg-trac] #5902(undetermined:new): ffmpeg freezes while converting live stream to hls
FFmpeg
trac at avcodec.org
Fri Oct 21 22:10:00 EEST 2016
#5902: ffmpeg freezes while converting live stream to hls
-------------------------------------+-------------------------------------
Reporter: ballot | Type: defect
Status: new | Priority: critical
Component: | Version:
undetermined | unspecified
Keywords: ffmpeg hls | Blocked By:
live stream | Reproduced by developer: 0
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Hi guys i am just trying to restream a live stream as hls
and my batch file just restarts ffmpeg if my source stream goes down as
you see
but ffmpeg doesnt give an error doesnt crash does not exit process
it just hangs,stucks because of that my live stream stops and i have to
restart it every half hour and not sure what is the reason
{{{
SETLOCAL
set bitrate=1200k
set yayinid=%random%%random%
:loop
ffmpeg -i "http://185.59.222.55:1935/edge/ch104/yayin.m3u8" -i ayay.png
-filter_complex "overlay=main_w-overlay_w-69:50,fps=35" -strict -2 -vcodec
libx264 -preset veryfast -maxrate %bitrate% -minrate %bitrate% -minrate
%bitrate% -r 30 -g 60 -c:a aac -b:a 128k -ar 44100 -f hls -hls_time 5
-hls_list_size 5 -hls_allow_cache 1 -hls_flags delete_segments
-segment_list_flags +live -hls_base_url "../ts/" -hls_segment_filename
"C:\nginx\html\ts\yay-%random%%random%-%%3d.svgz" -y
"C:\nginx\html\hls\yay.m3u8"
goto loop
}}}
i have no idea how can i fix it, as i see it just stucks at writing last
.ts file and freezes
this is how it looks when freezes
[[Image(http://i.hizliresim.com/kEPPJv.jpg)]]
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5902>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list