Hi, I run from console the gst rstp server example: test-video.c. (It compiles ok)
I configured VLC to RTP over RTSP and then I open rtsp://192.168.1.4:8554/test to play. It says connection failed. VLC isn't able to open MRL «rtsp://192.168.1.4:8554/test» I did netstat and it didn't list the 8554 port. any suggestion? thanks Rossana _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Does test-video say anything? (any error message?)
My first guess is it doesn't have enough privileges to bind a listening socket; try running it as root (or sudo). Federico _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Federico, the test-video say nothing, it simply close according to debug information.
I did what you suggested I run it as a root, same problem. It couldn't open. I don't even see the 8554 port listed (netstat | grep 8554) I appreciate any suggestion. thanks for your tip anyway. Regards Rossana 2012/4/10 Federico Zamperini <[hidden email]> Does test-video say anything? (any error message?) _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On 2012-04-10 11:49, Rossana Guerra wrote:
> Federico, the test-video say nothing, it simply close according to debug information. > I did what you suggested I run it as a root, same problem. It couldn't open. I don't even see the 8554 port listed (netstat | grep 8554) Did you use 'netstat -an'? If not, you might miss it as port 8554 is identified as 'rtsp-alt' Also, make sure you have all the components in the pipeline that's being used: gst_rtsp_media_factory_set_launch (factory, "( " "videotestsrc ! video/x-raw-yuv,width=352,height=288,framerate=15/1 ! " "x264enc ! rtph264pay name=pay0 pt=96 " "audiotestsrc ! audio/x-raw-int,rate=8000 ! " "alawenc ! rtppcmapay name=pay1 pt=97 " ")"); > > I appreciate any suggestion. > > thanks for your tip anyway. Regards > > Rossana > > 2012/4/10 Federico Zamperini <[hidden email] <mailto:[hidden email]>> > > Does test-video say anything? (any error message?) > My first guess is it doesn't have enough privileges to bind a listening socket; try running it as root (or sudo). -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
I tryed again. Actually I run this pipeline (the one that comes with the example):
gst_rtsp_media_factory_set_launch (factory, "( " "videotestsrc ! video/x-raw-yuv,width=352,height=288,framerate=15/1 ! " "x264enc ! rtph264pay name=pay0 pt=96 " "audiotestsrc ! audio/x-raw-int,rate=8000 ! " "alawenc ! rtppcmapay name=pay1 pt=97 " ")"); In the bin folder I have a test folder, because of this: gst_rtsp_media_mapping_add_factory (mapping, "/test", factory); The result netstat -an tcp 0 0 0.0.0.0:8554 0.0.0.0:* ESCUCHAR //LISTEN VLC: same error, couldn't open. I am clueless. Thanks again, regards Rossana gst_rtsp_media_factory_set_launch (factory, "( " "videotestsrc ! video/x-raw-yuv,width=352,height=288,framerate=15/1 ! " "x264enc ! rtph264pay name=pay0 pt=96 " "audiotestsrc ! audio/x-raw-int,rate=8000 ! " "alawenc ! rtppcmapay name=pay1 pt=97 " ")"); 2012/4/10 Gary Thomas <[hidden email]> On 2012-04-10 11:49, Rossana Guerra wrote: _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Hi Rossana,
are the client and the server on the same machine? If not, check the firewall; anyway, try to connect to the server using telnet: telnet <rtsp server ip address> 8554 and then type: DESCRIBE rtsp://<rtsp server ip address>/test RTSP/1.0 CSeq: 1 You should see something like RTSP/1.0 200 OK CSeq: 1 Content-Type: application/sdp [more lines] _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Hu Fererico, thanks for the tips. Yes, they are in the same machine (Ubuntu 11.04)
Anyway I did telnet 192.168.1.4 8554 it says: "Trying 192.168.1.4... telnet: Unable to connect to remote host: Connection refused" Thanks I hope I could resolve this as soon as is possible. Regards Rossana 2012/4/10 Federico Zamperini <[hidden email]> Hi Rossana, _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |