Rtsp-server receiver side error

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Rtsp-server receiver side error

vaisakhn7
Dear all,

 I was trying to stream mp3 files using  rtsp server
so i installed the gst-rtsp-server
and run the test program ( Edited the test-readme.c file in the examples directory )
and made the pipeline like this
    "str =g_strdup_printf( "filesrc location=1.mp3!" " rtpmpapay name=pay0 pt=96 "")" );
and run the server
./gst-rtsp-server

And inthe receiver side

./gst-launch-0.10 -v rtspsrc location=rtsp://10.1.11.33:8554/test   !  rtpmpadepay ! mad ! audioconvert   ! osssink

/************************GOT ERROR LIKE THIS *********************************/

Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: The stream is in the wrong format.
Additional debug info:
gstrtspsrc.c(4104): gst_rtspsrc_setup_streams (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
No supported stream was found.
Setting pipeline to NULL ...
Freeing pipeline ...
/****************************************************************************/

How can i solve this ?
Please help me ...





Reply | Threaded
Open this post in threaded view
|

Re: Rtsp-server receiver side error

Wim Taymans
On Thu, 2009-05-14 at 06:35 -0700, vaisakhn7 wrote:

> Dear all,
>
>  I was trying to stream mp3 files using  rtsp server
> so i installed the gst-rtsp-server
> and run the test program ( Edited the test-readme.c file in the examples
> directory )
> and made the pipeline like this
>     "str =g_strdup_printf( "filesrc location=1.mp3!" " rtpmpapay name=pay0
> pt=96 "")" );
> and run the server
> ./gst-rtsp-server
>
> And inthe receiver side
>
> ./gst-launch-0.10 -v rtspsrc location=rtsp://10.1.11.33:8554/test   !
> rtpmpadepay ! mad ! audioconvert   ! osssink
>
> /************************GOT ERROR LIKE THIS
> *********************************/
>
> Setting pipeline to PAUSED ...
> ERROR: Pipeline doesn't want to pause.
> ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: The stream
> is in the wrong format.
> Additional debug info:
> gstrtspsrc.c(4104): gst_rtspsrc_setup_streams ():
> /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
> No supported stream was found.
> Setting pipeline to NULL ...
> Freeing pipeline ...
> /****************************************************************************/
>
> How can i solve this ?
> Please help me ...

Add mp3parse between the filesrc and the payloader.

Wim
>
>
>
>
>
>


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel