RTSP Server - running test-video.c example failed
Rossana Guerra
guerra.rossana at gmail.com
Tue Apr 10 12:49:05 PDT 2012
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 <gary at mlbassoc.com>
> 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 <fzamperini at tiscali.it <mailto:
>> fzamperini at tiscali.it>**>
>>
>> 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
> gstreamer-devel at lists.**freedesktop.org<gstreamer-devel at lists.freedesktop.org>
> http://lists.freedesktop.org/**mailman/listinfo/gstreamer-**devel<http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120410/0bccbd8e/attachment.htm>
More information about the gstreamer-devel
mailing list