[FFmpeg-trac] #8695(undetermined:new): Keep ffmpeg running when using SRT as output and in listener mode

FFmpeg trac at avcodec.org
Sat May 30 12:12:48 EEST 2020


#8695: Keep ffmpeg running when using SRT as output  and in  listener mode
-------------------------------------+-------------------------------------
             Reporter:  longkas      |                     Type:
                                     |  enhancement
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:
 Using SRT as the output and set SRT to listener mode, when the caller
 quits the ffmpeg quits also, it would be great if keep ffmpeg running and
 listening for new caller connections

 How to reproduce:
 {{{
 % LISTENER:
    ffmpeg -re -i file.mp4 -c copy -f mpegts
 "srt://:8686?mode=listener&transtype=live"

   CALLER:
    ffmpeg -i "srt://:8686?mode=caller&transtype=live" -c copy -f mpegts
 file.ts


 #ffmpeg -version
 ffmpeg version N-97994-g83fa39e Copyright (c) 2000-2020 the FFmpeg
 developers
 built with gcc 9 (GCC)
 configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static
 --extra-cflags=-I/root/ffmpeg_build/include --extra-
 ldflags=-L/root/ffmpeg_build/lib --extra-libs=-lpthread --extra-libs=-lm
 --bindir=/root/bin --enable-gpl --enable-libfdk_aac --enable-libfreetype
 --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libx264
 --enable-libx265 --enable-libsrt --enable-nonfree
 libavutil      56. 49.100 / 56. 49.100
 libavcodec     58. 89.100 / 58. 89.100
 libavformat    58. 43.100 / 58. 43.100
 libavdevice    58.  9.103 / 58.  9.103
 libavfilter     7. 83.100 /  7. 83.100
 libswscale      5.  6.101 /  5.  6.101
 libswresample   3.  6.100 /  3.  6.100
 libpostproc    55.  6.100 / 55.  6.100

 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/8695>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list