RTSP Server - running test-video.c example failed

Gary Thomas gary at mlbassoc.com
Tue Apr 10 12:29:12 PDT 2012


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
------------------------------------------------------------


More information about the gstreamer-devel mailing list