rtsp stream problem
Thabelo Mmbengeni
thabelo at gmail.com
Tue Aug 16 02:21:05 PDT 2011
I am having this command line for 4 local video sources
(1)
THIS WORKS
gst-launch -e \
videomixer name=mix sink_0::zorder=0 \
sink_1::xpos=5 sink_1::ypos=5 sink_1::alpha=1 sink_1::zorder=1 \
sink_2::xpos=595 sink_2::ypos=5 sink_2::alpha=1 sink_2::zorder=2 \
sink_3::xpos=5 sink_3::ypos=395 sink_3::alpha=1 sink_3::zorder=3 \
sink_4::xpos=475 sink_4::ypos=355 sink_4::alpha=1 sink_4::zorder=4 ! \
ffmpegcolorspace ! xvimagesink \
videotestsrc pattern=3 ! video/x-raw-yuv, framerate=10/1, width=800,
height=600 ! mix.sink_0 \
videotestsrc pattern=1 ! video/x-raw-yuv, framerate=10/1, width=200,
height=200 ! mix.sink_1 \
videotestsrc pattern=2 ! video/x-raw-yuv, framerate=10/1, width=200,
height=200 ! mix.sink_2 \
videotestsrc pattern=2 ! video/x-raw-yuv, framerate=10/1, width=200,
height=200 ! mix.sink_3 \
v4l2src ! video/x-raw-yuv,width=320,height=240 ! ffmpegcolorspace !
mix.sink_4
And I also have this one for a camera streaming rtsp
(2)THIS WORKS
gst-launch-0.10 -e \
rtspsrc location=rtsp://root:icontrol@192.168.0.93/mpeg4/media.amp ! \
rtpmp4vdepay ! mpeg4videoparse ! ffdec_mpeg4 ! xvimagesink
(3)THIS DOESN'T WORK: after changing one sink_3 to read from the rtsp stream
FROM AN AXIS CAMERA, commandline just hangs.
gst-launch -e \
videomixer name=mix sink_0::zorder=0 \
sink_1::xpos=5 sink_1::ypos=5 sink_1::alpha=1 sink_1::zorder=1 \
sink_2::xpos=595 sink_2::ypos=5 sink_2::alpha=1 sink_2::zorder=2 \
sink_3::xpos=5 sink_3::ypos=395 sink_3::alpha=1 sink_3::zorder=3 \
sink_4::xpos=595 sink_4::ypos=395 sink_4::alpha=1 sink_4::zorder=4 ! \
ffmpegcolorspace ! xvimagesink \
videotestsrc pattern=3 ! video/x-raw-yuv, framerate=10/1, width=800,
height=600 ! mix.sink_0 \
videotestsrc pattern=1 ! video/x-raw-yuv, framerate=10/1, width=200,
height=200 ! mix.sink_1 \
videotestsrc pattern=2 ! video/x-raw-yuv, framerate=10/1, width=200,
height=200 ! mix.sink_2 \
rtspsrc location=rtsp://my_username:my_password@192.168.0.93/mpeg4/media.amp!
rtpmp4vdepay ! mpeg4videoparse ! ffdec_mpeg4 ! mix.sink_3 \
v4l2src ! video/x-raw-yuv,width=320,height=240 ! ffmpegcolorspace !
mix.sink_4
--
Regards
Thabelo Mmbengeni (TMT Services Cape Town HO, Engineering dep)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110816/6d54b74b/attachment.html>
More information about the gstreamer-devel
mailing list