Regarding streaming using rtspsrc

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

Regarding streaming using rtspsrc

Jyoti-2
Hi all,

I am developing an application that requires streaming a media file using rtsp server.
I am using the following pipeline.

gst-launch-0.10 -v rtspsrc location=rtsp://192.168.1.212:8554/new_264.mp4 ! rtpmp4vdepay ! ffdec_mpeg4 ! ffmpegcolorspace ! xvimagesink

But this gives me the following error messages:
***************************************
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Resource not found.
Additional debug info:
gstrtspsrc.c(3444): gst_rtspsrc_send (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
Stream Not Found
Setting pipeline to NULL ...
FREEING pipeline ...
************************************

But if I play the same URL(rtsp://192.168.1.212:8554/new_264.mp4) in the VLC using (File->Open Network stream->RTSP) RTSP streaming option the file does play well.

Could somebody help me regarding the same.

Regards,
Jyoti



------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Bulk] Regarding streaming using rtspsrc

Aurelien Grimaud (elzz)
Hi,
What is playbin result for this file ? Playing or not ?
Try gst-launch -v to figure out what the proble is .
Try gst-launch -v rtspsrc location=rtsp:// ! "application/x-rtp,
media=video" ! decodebin2 ! ffmpegcolorspace ! xvimagesink
Is it working ?

Aurelien

Jyoti D a écrit :

> Hi all,
>
> I am developing an application that requires streaming a media file
> using rtsp server.
> I am using the following pipeline.
>
> *gst-launch-0.10 -v rtspsrc
> location=rtsp://192.168.1.212:8554/new_264.mp4
> <http://192.168.1.212:8554/new_264.mp4> ! rtpmp4vdepay ! ffdec_mpeg4 !
> ffmpegcolorspace ! xvimagesink*
>
> But this gives me the following error messages:
> ***************************************
> Setting pipeline to PAUSED ...
> ERROR: Pipeline doesn't want to pause.
> ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
> Resource not found.
> Additional debug info:
> gstrtspsrc.c(3444): gst_rtspsrc_send ():
> /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
> Stream Not Found
> Setting pipeline to NULL ...
> FREEING pipeline ...
> ************************************
>
> But if I play the same URL(rtsp://192.168.1.212:8554/new_264.mp4
> <http://192.168.1.212:8554/new_264.mp4>) in the VLC using (File->Open
> Network stream->RTSP) RTSP streaming option the file does play well.
>
> Could somebody help me regarding the same.
>
> Regards,
> Jyoti
>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> The future of the web can't happen without you.  Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> ------------------------------------------------------------------------
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>  



------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Bulk] Regarding streaming using rtspsrc

Jyoti-2
Thanks I got the pipeline working.

I had one more query.
Say I want to use udpsink as my sink element and this is my first pipeline. Then I copy the udpsink caps on to the udpsrc element of the second pipeline. The sink of the second pipeline would be a xvimagesink.

I am using udpsink as a sink element as below.

First Pipeline:
gst-launch -v rtspsrc location=rtsp:// ! "application/x-rtp,
media=video" ! decodebin2 ! ffmpegcolorspace ! udpsink

But my pipeline doesn't work. The udpsink capabilities are shown as NULL.

Shouldn't the pipeline be working?


Thanks,
Jyoti


On Sat, Dec 6, 2008 at 4:49 PM, Aurelien Grimaud <[hidden email]> wrote:
Hi,
What is playbin result for this file ? Playing or not ?
Try gst-launch -v to figure out what the proble is .
Try gst-launch -v rtspsrc location=rtsp:// ! "application/x-rtp,
media=video" ! decodebin2 ! ffmpegcolorspace ! xvimagesink
Is it working ?

Aurelien

Jyoti D a écrit :
> Hi all,
>
> I am developing an application that requires streaming a media file
> using rtsp server.
> I am using the following pipeline.
>
> *gst-launch-0.10 -v rtspsrc
> location=rtsp://192.168.1.212:8554/new_264.mp4
> <http://192.168.1.212:8554/new_264.mp4> ! rtpmp4vdepay ! ffdec_mpeg4 !
> ffmpegcolorspace ! xvimagesink*
>
> But this gives me the following error messages:
> ***************************************
> Setting pipeline to PAUSED ...
> ERROR: Pipeline doesn't want to pause.
> ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
> Resource not found.
> Additional debug info:
> gstrtspsrc.c(3444): gst_rtspsrc_send ():
> /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
> Stream Not Found
> Setting pipeline to NULL ...
> FREEING pipeline ...
> ************************************
>
> But if I play the same URL(rtsp://192.168.1.212:8554/new_264.mp4
> <http://192.168.1.212:8554/new_264.mp4>) in the VLC using (File->Open
> Network stream->RTSP) RTSP streaming option the file does play well.
>
> Could somebody help me regarding the same.
>
> Regards,
> Jyoti
>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> The future of the web can't happen without you.  Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> ------------------------------------------------------------------------
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>



------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Bulk] Re: [Bulk] Regarding streaming using rtspsrc

Aurelien Grimaud (elzz)
Jyoti D a écrit :

> Thanks I got the pipeline working.
>
> I had one more query.
> Say I want to use udpsink as my sink element and this is my first
> pipeline. Then I copy the udpsink caps on to the udpsrc element of the
> second pipeline. The sink of the second pipeline would be a xvimagesink.
>
> I am using udpsink as a sink element as below.
>
> First Pipeline:
> gst-launch -v rtspsrc location=rtsp:// ! "application/x-rtp,
> media=video" ! decodebin2 ! ffmpegcolorspace ! udpsink
>
> But my pipeline doesn't work. The udpsink capabilities are shown as NULL.
Could you post the output of the command ?
Try with GST_DEBUG=*sink*:5 for more informations about what is udpsink
doing.
Try GST_DEBUG=3 or 4 or 5 for full debugging mode ... huge verbose !

Aurelien

>
> Shouldn't the pipeline be working?
>
>
> Thanks,
> Jyoti
>
>
> On Sat, Dec 6, 2008 at 4:49 PM, Aurelien Grimaud <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     Hi,
>     What is playbin result for this file ? Playing or not ?
>     Try gst-launch -v to figure out what the proble is .
>     Try gst-launch -v rtspsrc location=rtsp:// ! "application/x-rtp,
>     media=video" ! decodebin2 ! ffmpegcolorspace ! xvimagesink
>     Is it working ?
>
>     Aurelien
>
>     Jyoti D a écrit :
>     > Hi all,
>     >
>     > I am developing an application that requires streaming a media file
>     > using rtsp server.
>     > I am using the following pipeline.
>     >
>     > *gst-launch-0.10 -v rtspsrc
>     > location=rtsp://192.168.1.212:8554/new_264.mp4
>     <http://192.168.1.212:8554/new_264.mp4>
>     > <http://192.168.1.212:8554/new_264.mp4> ! rtpmp4vdepay !
>     ffdec_mpeg4 !
>     > ffmpegcolorspace ! xvimagesink*
>     >
>     > But this gives me the following error messages:
>     > ***************************************
>     > Setting pipeline to PAUSED ...
>     > ERROR: Pipeline doesn't want to pause.
>     > ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
>     > Resource not found.
>     > Additional debug info:
>     > gstrtspsrc.c(3444): gst_rtspsrc_send ():
>     > /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
>     > Stream Not Found
>     > Setting pipeline to NULL ...
>     > FREEING pipeline ...
>     > ************************************
>     >
>     > But if I play the same URL(rtsp://192.168.1.212:8554/new_264.mp4
>     <http://192.168.1.212:8554/new_264.mp4>
>     > <http://192.168.1.212:8554/new_264.mp4>) in the VLC using
>     (File->Open
>     > Network stream->RTSP) RTSP streaming option the file does play well.
>     >
>     > Could somebody help me regarding the same.
>     >
>     > Regards,
>     > Jyoti
>     >
>     >
>     >
>     ------------------------------------------------------------------------
>     >
>     >
>     ------------------------------------------------------------------------------
>     > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las
>     Vegas, Nevada.
>     > The future of the web can't happen without you.  Join us at
>     MIX09 to help
>     > pave the way to the Next Web now. Learn more and register at
>     >
>     http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
>     >
>     ------------------------------------------------------------------------
>     >
>     > _______________________________________________
>     > gstreamer-devel mailing list
>     > [hidden email]
>     <mailto:[hidden email]>
>     > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>     >
>
>
>
>     ------------------------------------------------------------------------------
>     SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las
>     Vegas, Nevada.
>     The future of the web can't happen without you.  Join us at MIX09
>     to help
>     pave the way to the Next Web now. Learn more and register at
>     http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
>     _______________________________________________
>     gstreamer-devel mailing list
>     [hidden email]
>     <mailto:[hidden email]>
>     https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> The future of the web can't happen without you.  Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> ------------------------------------------------------------------------
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>  



------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel