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

FFmpeg trac at avcodec.org
Tue Oct 17 22:00:33 EEST 2017


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

Comment (by DJX):

 Still failing:
 {{{
 ffmpeg -f lavfi -i testsrc -f rtsp rtsp://localhost:554/live

 ffmpeg version N-87871-g7480f232d2 Copyright (c) 2000-2017 the FFmpeg
 developers
   built with gcc 7.2.0 (GCC)
   configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-
 bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass
 --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-
 libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy
 --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx
 --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265
 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp
 --enable-libvidstab --enable-libvorbis --enable-cuda --enable-cuvid
 --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth --enable-
 libmfx
   libavutil      55. 79.100 / 55. 79.100
   libavcodec     57.108.100 / 57.108.100
   libavformat    57. 84.100 / 57. 84.100
   libavdevice    57. 11.100 / 57. 11.100
   libavfilter     6.108.100 /  6.108.100
   libswscale      4.  9.100 /  4.  9.100
   libswresample   2. 10.100 /  2. 10.100
   libpostproc    54.  8.100 / 54.  8.100
 Input #0, lavfi, from 'testsrc':
   Duration: N/A, start: 0.000000, bitrate: N/A
     Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 320x240
 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
 Stream mapping:
   Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
 Press [q] to stop, [?] for help
 Could not write header for output file #0 (incorrect codec parameters ?):
 Immediate exit requested
 Error initializing output stream 0:0 --
 Exiting normally, received signal 2.
 }}}

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


More information about the FFmpeg-trac mailing list