[FFmpeg-trac] #8580(undetermined:new): Corrupted video files resulting from attempting to download a livestream using youtube-dl

FFmpeg trac at avcodec.org
Tue Mar 24 16:28:52 EET 2020


#8580: Corrupted video files resulting from attempting to download a livestream
using youtube-dl
-------------------------------------+-------------------------------------
             Reporter:  infinity     |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  git-master   |               Resolution:
             Keywords:  youtube-dl,  |               Blocked By:
  ffmpeg, corrupt, video,            |
  livestream, moov atom              |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by Gyan):

 As per the ffmpeg log, ffmpeg was killed abruptly, which prevented ffmpeg
 from flushing out the moov box to the output file. When ffmpeg directly
 receives a single SIGINT, it will print at the end `Exiting normally,
 received signal 2.`. I suspect the SIGINT is received by yt-dl which does
 not relay it to ffmpeg but kills it, in which case, ffmpeg won't wait for
 the output trailer to be written. But this is a guess.

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


More information about the FFmpeg-trac mailing list