[FFmpeg-trac] #5898(ffmpeg:new): ffmpeg hang while converting live stream to hls
    FFmpeg 
    trac at avcodec.org
       
    Wed Oct 19 12:29:00 EEST 2016
    
    
  
#5898: ffmpeg hang while converting live stream to hls
-------------------------------------+-------------------------------------
             Reporter:  ballot       |                     Type:  defect
               Status:  new          |                 Priority:  important
            Component:  ffmpeg       |                  Version:
             Keywords:  ffmpeg hls   |  unspecified
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced 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
 :loop
 ffmpeg -i "http://x.com:8000/live/live.ts" -i logo.png -filter_complex
 "overlay=main_w-overlay_w-69:50,fps=30" -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 segment -hide_banner -loglevel panic
 -hls_flags delete_segments -segment_list "C:\nginx\html\hls\x.m3u8"
 -segment_time 5 -segment_list_size 5 -segment_list_flags +live
 -segment_list_entry_prefix "../ts/" "C:\nginx\html\ts\x-%%3d.ts" > NUL
 2>&1 < NUL
 goto loop
 }}}
 i have no idea how can i fix it, as i see it just stucks at writing last
 .ts file and freezes
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5898>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
    
    
More information about the FFmpeg-trac
mailing list