[FFmpeg-user] unable to receive an rtsp stream
Roger Pack
rogerdpack2 at gmail.com
Fri Nov 16 18:16:58 CET 2012
It was made aware to me that if you start vlc sending an rtsp stream, like this:
$ vlc <INPUT> :sout=#transcode{vcodec=h264,vb=300,scale=0.25,acodec=mp4a,ab=128,channels=2,samplerate=22050}:rtp{mux=ts,sdp=rtsp://:8554/test.sdp}
:sout-keep
vlc is able to receive the stream, like
$ vlc rtsp://localhost:8554/test.sdp
however, ffmpeg seems to fail with:
$ ffmpeg-distro-static-2012-10-10-42212c664c24d813ff5d843dd04aac5cf6d7de45/ffmpeg-32
-i rtsp://localhost:8554/test.sdp -acodec copy -vcodec copy -y yo.avi
ffmpeg version N-45279-g6b86dd5 Copyright (c) 2000-2012 the FFmpeg developers
built on Oct 10 2012 17:30:47 with gcc 4.7.1 (GCC)
configuration: --enable-memalign-hack --arch=x86 --enable-gpl
--enable-libx264 --enable-avisynth --enable-libxvid
--target-os=mingw32
--cross-prefix=/home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/bin/i686-w64-mingw32-
--pkg-config=pkg-config --enable-libmp3lame --enable-version3
--enable-libvpx --extra-libs=-lws2_32 --extra-libs=-lpthread
--enable-zlib --extra-libs=-lwinmm --extra-libs=-lgdi32
--enable-librtmp --enable-libvorbis --enable-libtheora
--enable-libspeex --enable-libopenjpeg --enable-gnutls --enable-libgsm
--enable-libfreetype --disable-optimizations --enable-mmx
--disable-postproc --enable-fontconfig --enable-libass
--enable-libutvideo --enable-libopus --disable-w32threads
--extra-cflags=-DPTW32_STATIC_LIB --enable-frei0r
--enable-filter=frei0r --enable-libvo-aacenc
--enable-runtime-cpudetect
libavutil 51. 74.100 / 51. 74.100
libavcodec 54. 65.100 / 54. 65.100
libavformat 54. 31.100 / 54. 31.100
libavdevice 54. 3.100 / 54. 3.100
libavfilter 3. 19.102 / 3. 19.102
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 16.100 / 0. 16.100
[rtsp @ 03A4F540] method SETUP failed: 459 Aggregate operation not allowed
rtsp://localhost:8554/test.sdp: Invalid data found when processing input
Should I file a trac?
Thanks!
-roger-
More information about the ffmpeg-user
mailing list