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

FFmpeg trac at avcodec.org
Sat Jun 13 12:59:28 EEST 2020


#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            |
-------------------------------------+-------------------------------------
Changes (by terry):

 * cc: 9036178@… (added)


Comment:

 hi all:
      I have the same problem.
 reproduce steps:
 1. send the stream some seconds (about 10 seconds).
 2. stop the stream 5~10 seconds
 3. resend the stream, the ffmpeg exit with:
 [flv @ 0x3e733c0] Failed to update header with correct duration.
 [flv @ 0x3e733c0] Failed to update header with correct filesize.
 Error writing trailer of rtmp://xxxxx
 I have try:
    --disable-librtmp but no effect, the problem cause again.


 ffmpeg version:
 ================================================================================
 ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers
 built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.12) 20160609
 configuration: --prefix=/usr/sourcecode/ffmpegout --pkg-config-
 flags=--static --
 extra-cflags=-I/usr/sourcecode/ffmpegout/include --extra-
 ldflags=-L/usr/sourceco
 de/ffmpegout/lib --enable-gpl --enable-libass --enable-libfdk-aac
 --enable-libfr
 eetype --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-
 nonfre
 e --enable-shared --enable-postproc --enable-zlib --enable-libxvid
 --enable-libo
 pencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-
 libx264 --di
 sable-debug
 libavutil      56. 31.100 / 56. 31.100
 libavcodec     58. 54.100 / 58. 54.100
 libavformat    58. 29.100 / 58. 29.100
 libavdevice    58.  8.100 / 58.  8.100
 libavfilter     7. 57.100 /  7. 57.100
 libswscale      5.  5.100 /  5.  5.100
 libswresample   3.  5.100 /  3.  5.100
 libpostproc    55.  5.100 / 55.  5.100

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


More information about the FFmpeg-trac mailing list