[FFmpeg-trac] #3702(undetermined:new): RTSP Streaming fails with "Could not write header for output file"

FFmpeg trac at avcodec.org
Fri Nov 6 16:26:58 EET 2020


#3702: RTSP Streaming fails with "Could not write header for output file"
-------------------------------------+-------------------------------------
             Reporter:  DJX          |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  git-master   |               Resolution:
             Keywords:  rtsp         |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by DJX):

 I thought you had to start streaming with FFmpeg before you could play it
 back with FFplay?
 If I'm fast enough with starting FFplay and then FFmpeg, it does receive
 content using your commands.

 That does not work for my original command though: ffmpeg -f lavfi -i
 testsrc -f rtsp rtsp://localhost:554/live

 My use case was to stream content via RTSP. So FFmpeg would be acting as a
 server; Running first and then clients connect later.

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


More information about the FFmpeg-trac mailing list