[FFmpeg-trac] #3702(undetermined:new): Re-stream RTP to RTSP
FFmpeg
trac at avcodec.org
Thu Jun 5 21:04:05 CEST 2014
#3702: Re-stream RTP to RTSP
-------------------------------------+-------------------------------------
Reporter: DJX | Owner:
Type: defect | Status: new
Priority: normal | Component:
Version: git-master | undetermined
Keywords: | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by DJX):
Ah, I see what you're getting at...
Negative on both, looks like RTSP doesn't work at all.
testsrc:
{{{
ffmpeg -f lavfi -i testsrc-f rtsp rtsp://localhost:554/live
ffmpeg version N-63746-gfbaf73a Copyright (c) 2000-2014 the FFmpeg
developers
built on Jun 3 2014 22:10:20 with gcc 4.8.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls
--enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-
libfreetyp
e --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug
--enable-
libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-
libope
njpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-
libsox
r --enable-libspeex --enable-libtheora --enable-libtwolame --enable-
libvidstab -
-enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-
libvpx
--enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265
--enable-
libxavs --enable-libxvid --enable-decklink --enable-zlib
libavutil 52. 89.100 / 52. 89.100
libavcodec 55. 66.100 / 55. 66.100
libavformat 55. 42.100 / 55. 42.100
libavdevice 55. 13.101 / 55. 13.101
libavfilter 4. 5.100 / 4. 5.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.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
Output #0, rtsp, to 'rtsp://localhost:554/live':
Metadata:
encoder : Lavf55.42.100
Stream #0:0: Video: mpeg4, yuv420p, 320x240 [SAR 1:1 DAR 4:3], q=2-31,
200 k
b/s, 25 fps, 90k tbn, 25 tbc
Metadata:
encoder : Lavc55.66.100 mpeg4
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo -> mpeg4)
Could not write header for output file #0 (incorrect codec parameters ?):
Error
number -5 occurred
Received signal 2: terminating.
}}}
sine:
{{{
ffmpeg -f lavfi -i sine -frtsp rtsp://localhost:554/live
ffmpeg version N-63746-gfbaf73a Copyright (c) 2000-2014 the FFmpeg
developers
built on Jun 3 2014 22:10:20 with gcc 4.8.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls
--enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-
libfreetyp
e --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug
--enable-
libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-
libope
njpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-
libsox
r --enable-libspeex --enable-libtheora --enable-libtwolame --enable-
libvidstab -
-enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-
libvpx
--enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265
--enable-
libxavs --enable-libxvid --enable-decklink --enable-zlib
libavutil 52. 89.100 / 52. 89.100
libavcodec 55. 66.100 / 55. 66.100
libavformat 55. 42.100 / 55. 42.100
libavdevice 55. 13.101 / 55. 13.101
libavfilter 4. 5.100 / 4. 5.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100
Input #0, lavfi, from 'sine':
Duration: N/A, start: 0.000000, bitrate: 705 kb/s
Stream #0:0: Audio: pcm_s16le, 44100 Hz, mono, s16, 705 kb/s
Output #0, rtsp, to 'rtsp://localhost:554/live':
Metadata:
encoder : Lavf55.42.100
Stream #0:0: Audio: aac (libvo_aacenc), 44100 Hz, mono, s16, 128 kb/s
Metadata:
encoder : Lavc55.66.100 libvo_aacenc
Stream mapping:
Stream #0:0 -> #0:0 (pcm_s16le -> libvo_aacenc)
Could not write header for output file #0 (incorrect codec parameters ?):
Error
number -5 occurred
Received signal 2: terminating.
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/3702#comment:10>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list