[FFmpeg-trac] #7547(avformat:new): When relaying RTMP streams ffmpeg quits with av_interleaved_write_frame message

FFmpeg trac at avcodec.org
Fri Feb 22 20:08:40 EET 2019


#7547: When relaying RTMP streams ffmpeg quits with av_interleaved_write_frame
message
-------------------------------------+-------------------------------------
             Reporter:  regstuff     |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  important    |                Component:  avformat
              Version:  git-master   |               Resolution:
             Keywords:  regression   |               Blocked By:
  librtmp                            |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by ruddell):

 @danman Please check the issue's attachments at the top.  And the command
 (copied from my first message): `ffmpeg -re -i issue7547.mp4 -vcodec copy
 -acodec copy -bsf:a aac_adtstoasc -f flv 'rtmp://a.rtmp.youtube.com/live2
 /stream-key-here'`

 I tested `if (!ret && size)` but it did not cause any difference.  The
 value of `size` is `3` at the failing point.

 {{{
 ...
 Write Size: 361
 Write Size: 55
 Write Size: 32768
 Write Size: 3
 Write Size: 3
 }}}

 I also tried `if (!ret && size > 3)` but it infinitely loops with `Write
 Size: 3` (which is what happens before
 `ed647ab79f9a54d8d3a8e345f6a1643b60b849f4`)

 Again, the issue occurs because of the other commit
 `858db4b01fa2b55ee55056c033054ca54ac9b0fd` in my previous message.  The
 `ed647ab79f9a54d8d3a8e345f6a1643b60b849f4` commit simply makes FFMPEG
 print an error message instead of hanging.

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


More information about the FFmpeg-trac mailing list