[FFmpeg-trac] #6859(undetermined:closed): 2pass moov not written and block ffmpeg if input live stream stops before

FFmpeg trac at avcodec.org
Wed Nov 29 12:34:14 EET 2017


#6859: 2pass moov not written and block ffmpeg if input live stream stops before
-------------------------------------+-------------------------------------
             Reporter:  zermok       |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |  needs_more_info
Analyzed by developer:  0            |               Blocked By:
                                     |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by zermok):

 I provided the command line already
 /usr/local/bin/ffmpeg - i'rtmp://xxxx:1935/app/instance/mp4:livestreamm
 live=1 swfVfy=1 swfUrl=​https://xxx/swf flashVer=11,2,0,0 buffer=9
 timeout=30' -map 0 -movflags +faststart -y '/out.mp4'
 for now I cannot reinstall the git version since my server is in
 production mode only.
 what I can say is if a live rtmp stream interrupts so ffmpeg stalled at
 the end,
 showing after the time out RTMP HEADER blablabla in red and no 2pass moov
 is written at all, ffmpeg just stalls for ever, making 100% cpu btw
 what else do you need?

--
Ticket URL: <https://trac.ffmpeg.org/ticket/6859#comment:7>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list