[FFmpeg-trac] #9268(avformat:closed): return code 0 when SRT stream fails

FFmpeg trac at avcodec.org
Sat May 29 00:52:17 EEST 2021

#9268: return code 0 when SRT stream fails
             Reporter:  Elliott     |                    Owner:  (none)
                 Type:  defect      |                   Status:  closed
             Priority:  normal      |                Component:  avformat
              Version:  git-master  |               Resolution:  invalid
             Keywords:  libsrt      |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
Changes (by Marton Balint):

 * status:  new => closed
 * resolution:   => invalid


 This looks invalid, if you don't specify -xerror then don't expect ffmpeg
 to report input errors as failure.

 The usecase seems fishy as well. If ffmpeg quits during a live stream
 session, how can that be a success? Also -re is harmful for such use, and
 for passing through mpegts stream from srt, you are most probably better
 off with srt-live-transmit, remuxing the stream is not necessary / harmful
 in fact.
Ticket URL: <https://trac.ffmpeg.org/ticket/9268#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list