GNOME Bugzilla – Bug 550167
rtsp don't support username/password
Last modified: 2009-08-09 00:42:31 UTC
rtsp don't support username/password in the uri. while this command works with vlc: vlc rtsp://admin:admin@192.168.2.109/ neither playbin nor playbin2 doesn't support it: gst-launch playbin uri=rtsp://user:user@192.168.2.109/ this is with linksys PVC2300 and it's not possible to use rtsp without password so this camera can't be used without this feature:-(
Digest password support was added in version 0.10.9 of gst-plugins-good. Please reopen if this is not working for you.
still not working:-( ----------------------------------------- # gst-launch playbin uri=rtsp://user:user@192.168.2.109/ Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... Setting pipeline to PLAYING ... New clock: GstSystemClock WARNING: from element /playbin0/source: Could not read from resource. Additional debug info: gstrtspsrc.c(2815): gst_rtspsrc_loop_udp (): /playbin0/source: Could not receive any UDP packets for 5.0000 seconds, maybe your firewall is blocking it. Retrying using a TCP connection. Caught interrupt -- handling interrupt. Interrupt: Stopping pipeline ... Execution ended after 26642759940 ns. Setting pipeline to PAUSED ... Setting pipeline to READY ... ----------------------------------------- # rpm -qa|grep gstreamer|sort gstreamer-0.10.20-1 gstreamer-plugins-base-0.10.20-1 gstreamer-plugins-good-0.10.9-2 gstreamer-tools-0.10.20-1 ----------------------------------------- and of course vlc still working with: ----------------------------------------- # vlc rtsp://user:user@192.168.2.109/ VLC media player 0.8.6i Janus Remote control interface initialized. Type `help' for help. status change: ( new input: rtsp://user:user@192.168.2.109/ ) status change: ( audio volume: 256 ) status change: ( play state: 1 ) status change: ( stop state: 0 ) status change: ( quit ) [00000301] main playlist: stopping playback -----------------------------------------
can you make a log for me like this: GST_DEBUG=*rtsp*:5,*udp*:5 gst-launch rtspsrc debug=1 location=rtsp://user:user@192.168.2.109/ ! fakesink -v >debug.log 2>&1 then gzip the resulting debug.log file and attach here.
Created attachment 119371 [details] the log file here is the debug log
It seems to authenticate fine, then it joins a multicast group but gets no data. Then it tries TCP but gets no data either. no idea what's going on, maybe you can try with protocol=1 and protocol=4 to make it try unicast and tcp only.
nothing else happened with protocol=1 and protocol=4. i investigate a bit further with this problem. i try to use it on rhel/centos-5. but by default it's only contains gstreamer-plugins-good-0.10.4-4.el5 os i've to rebuild rpm from fedora. but during rebuild it can't find proper soup: -------------------------------------------------- configure: *** checking feature: soup http client plugin (2.4) *** configure: *** for plug-ins: souphttpsrc *** checking for SOUP... no configure: *** These plugins will not be built: souphttpsrc -------------------------------------------------- and i can't rebuild fedora's libsoup since it's require newer glib2 which has far too much dependencies then it's worth to build. this means i build gstreamer-plugins-good for centos _without_ souphttpsrc. is this requires for user authentication? afais this is the only difference in the build log from the fedora build. is this means it's not possible to use rtsp with user auth in rhel/centos?
libsoup is not needed for anything rtsp related.
ok so what's the solution? if i put this ip camera into a public ip without any kind of firewall you can test it yourself too with vls and gstreamer. would it help to you? anyway it's a Linksys PVC2300 camera.
yes, that would help. Why don't you hop into IRC on irc.freenode.org #gstreamer.
ping?
it's working with fedora 11's gstreamer. thanks.