Query:RTP BIN element

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

Query:RTP BIN element

ajitjohn
Hi all,

        I am using the following pipeline for streaming a h.264 file using rtpbin
element


gst-launch -v gstrtpbin name=rtpbin  filesrc
location=/root/Desktop/test24fpsaudvid.264 ! queue ! h264parse ! rtph264pay
! rtpbin.send_rtp_sink_0 rtpbin.send_rtp_src_0 ! udpsink host=10.60.3.64
port=5000 rtpbin.send_rtcp_src_0 ! udpsink host=10.60.3.63 port=5001
sync=false async=false udpsrc port=5005 ! rtpbin.recv_rtcp_sink_0


        But i am not able to stream the file .I am not getting any errors though
but at the receiver side i am not able to receive anything.

        thanks in advance.


The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Query:RTP BIN element

Wim Taymans
On Mon, 2008-10-06 at 20:14 +0530, ajitjohn wrote:

> Hi all,
>
> I am using the following pipeline for streaming a h.264 file using rtpbin
> element
>
>
> gst-launch -v gstrtpbin name=rtpbin  filesrc
> location=/root/Desktop/test24fpsaudvid.264 ! queue ! h264parse ! rtph264pay
> ! rtpbin.send_rtp_sink_0 rtpbin.send_rtp_src_0 ! udpsink host=10.60.3.64
> port=5000 rtpbin.send_rtcp_src_0 ! udpsink host=10.60.3.63 port=5001
> sync=false async=false udpsrc port=5005 ! rtpbin.recv_rtcp_sink_0

What's 'test24fpsaudvid.264'?

Wim

>
>
> But i am not able to stream the file .I am not getting any errors though
> but at the receiver side i am not able to receive anything.
>
> thanks in advance.
>
>
> The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Query:RTP BIN element

Irfan Shaikh-2
In reply to this post by ajitjohn
RE: [gst-devel] Query:RTP BIN element

hii ,

you can try using videotestsrc and respective encoders.
I think the filesrc does hav any capabilites attached to it , so you may not able to stream . Try a continous stream.

Hope it works ......
regards,
Irfan

-----Original Message-----
From: ajitjohn [[hidden email]]
Sent: Mon 10/6/2008 8:14 PM
To: [hidden email]
Subject: [gst-devel] Query:RTP BIN element

Hi all,

        I am using the following pipeline for streaming a h.264 file using rtpbin
element


gst-launch -v gstrtpbin name=rtpbin  filesrc
location=/root/Desktop/test24fpsaudvid.264 ! queue ! h264parse ! rtph264pay
! rtpbin.send_rtp_sink_0 rtpbin.send_rtp_src_0 ! udpsink host=10.60.3.64
port=5000 rtpbin.send_rtcp_src_0 ! udpsink host=10.60.3.63 port=5001
sync=false async=false udpsrc port=5005 ! rtpbin.recv_rtcp_sink_0


        But i am not able to stream the file .I am not getting any errors though
but at the receiver side i am not able to receive       anything.

        thanks in advance.


The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

This message (including any attachment) is confidential and may be legally privileged. Access to this message by anyone other than the intended recipient(s) listed above is unauthorized. If you are not the intended recipient you are hereby notified that any disclosure, copying, or distribution of the message, or any action taken or omission of action by you in reliance upon it, is prohibited and may be unlawful. Please immediately notify the sender by reply e-mail and permanently delete all copies of the message if you have received this message in error.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Query:RTP BIN element

Wim Taymans
In reply to this post by ajitjohn
On Tue, 2008-10-07 at 11:25 +0530, ajitjohn wrote:
> I wasnot using any sdp as config for streaming to vlc player.Do i need to
> send a sdp config file ?
>

So how do you tell vlc to start playing the stream?

Wim

> ~ajit
>
> -----Original Message-----
> From: Wim Taymans [mailto:[hidden email]]
> Sent: Monday, October 06, 2008 9:49 PM
> To: [hidden email]
> Subject: RE: [gst-devel] Query:RTP BIN element
>
>
> On Mon, 2008-10-06 at 21:46 +0530, ajitjohn wrote:
> > I am using vlc player at the receiver side.So how will it make the
> > difference if the pipeline seems to work.
>
> I assume you are using an SDP as the config for vlc then. Can you paste
> the SDP here?
>
> Wim
>
> >
> > thanks in advance .
> >
> > regards,
> >
> > -----Original Message-----
> > From: Wim Taymans [mailto:[hidden email]]
> > Sent: Monday, October 06, 2008 9:10 PM
> > To: [hidden email]
> > Subject: RE: [gst-devel] Query:RTP BIN element
> >
> >
> > On Mon, 2008-10-06 at 20:51 +0530, ajitjohn wrote:
> > > yeah it starts with 00 00 00 01 start code .I dont have much information
> > > about sps/pps information. Can u make me clear regarding this so that i
> > can
> > > investigate  further .
> >
> > They contain the Sequence and Picture parameter sets you will need to
> > initialize the decoder. I believe the h264 payloader will also look for
> > them.
> >
> > >
> > > Anywayz i wanted to get clear bout how do i stream h264 video file using
> > rtp
> > > bin.
> >
> > The pipeline you posted seems fine provided the file you stream can be
> > parsed by h264parse. What are you using to receive this stream?
> >
> > Wim
> >
> > >
> > > thanks in advance.
> > >
> > > Regards,
> > >
> > >
> > > -----Original Message-----
> > > From: Wim Taymans [mailto:[hidden email]]
> > > Sent: Monday, October 06, 2008 8:38 PM
> > > To: [hidden email]
> > > Subject: RE: [gst-devel] Query:RTP BIN element
> > >
> > >
> > > On Mon, 2008-10-06 at 20:37 +0530, ajitjohn wrote:
> > > >
> > > >
> > > > 1) Path of the file to be streamed /root/Desktop/test24fpsaudvid.264
> > > > 2) test24fpsaudvid.264 is h264 encoded file.
> > >
> > > What does 'h264 encoded file' mean? does it contain 00 00 01 start codes
> > > and SPS/PPS in the beginning or is it the quicktime AVC variant?
> > >
> > > Wim
> > >
> > >
> > > >
> > > > thanks in advance.
> > > >
> > > > Regards,
> > > >
> > > > -----Original Message-----
> > > > From: Wim Taymans [mailto:[hidden email]]
> > > > Sent: Monday, October 06, 2008 8:25 PM
> > > > To: [hidden email]; Discussion of the development of
> GStreamer
> > > > Subject: Re: [gst-devel] Query:RTP BIN element
> > > >
> > > >
> > > > On Mon, 2008-10-06 at 20:14 +0530, ajitjohn wrote:
> > > > > Hi all,
> > > > >
> > > > > I am using the following pipeline for streaming a h.264 file using
> > > rtpbin
> > > > > element
> > > > >
> > > > >
> > > > > gst-launch -v gstrtpbin name=rtpbin  filesrc
> > > > > location=/root/Desktop/test24fpsaudvid.264 ! queue ! h264parse !
> > > > rtph264pay
> > > > > ! rtpbin.send_rtp_sink_0 rtpbin.send_rtp_src_0 ! udpsink
> > host=10.60.3.64
> > > > > port=5000 rtpbin.send_rtcp_src_0 ! udpsink host=10.60.3.63 port=5001
> > > > > sync=false async=false udpsrc port=5005 ! rtpbin.recv_rtcp_sink_0
> > > >
> > > > What's 'test24fpsaudvid.264'?
> > > >
> > > > Wim
> > > > >
> > > > >
> > > > > But i am not able to stream the file .I am not getting any errors
> > > though
> > > > > but at the receiver side i am not able to receive anything.
> > > > >
> > > > > thanks in advance.
> > > > >
> > > > >
> > > > > The information contained in this electronic message and any
> > attachments
> > > > to this message are intended for the exclusive use of the addressee(s)
> > and
> > > > may contain proprietary, confidential or privileged information. If
> you
> > > are
> > > > not the intended recipient, you should not disseminate, distribute or
> > copy
> > > > this e-mail. Please notify the sender immediately and destroy all
> copies
> > > of
> > > > this message and any attachments contained in it.
> > > > >
> > > >
> > >
> >
> > -------------------------------------------------------------------------
> > > > > This SF.Net email is sponsored by the Moblin Your Move Developer's
> > > > challenge
> > > > > Build the coolest Linux based applications with Moblin SDK & win
> great
> > > > prizes
> > > > > Grand prize is a trip for two to an Open Source event anywhere in
> the
> > > > world
> > > > > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > > > > _______________________________________________
> > > > > gstreamer-devel mailing list
> > > > > [hidden email]
> > > > > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> > > >
> > > >
> > > > The information contained in this electronic message and any
> attachments
> > > to this message are intended for the exclusive use of the addressee(s)
> and
> > > may contain proprietary, confidential or privileged information. If you
> > are
> > > not the intended recipient, you should not disseminate, distribute or
> copy
> > > this e-mail. Please notify the sender immediately and destroy all copies
> > of
> > > this message and any attachments contained in it.
> > >
> > >
> > > The information contained in this electronic message and any attachments
> > to this message are intended for the exclusive use of the addressee(s) and
> > may contain proprietary, confidential or privileged information. If you
> are
> > not the intended recipient, you should not disseminate, distribute or copy
> > this e-mail. Please notify the sender immediately and destroy all copies
> of
> > this message and any attachments contained in it.
> >
> >
> > The information contained in this electronic message and any attachments
> to this message are intended for the exclusive use of the addressee(s) and
> may contain proprietary, confidential or privileged information. If you are
> not the intended recipient, you should not disseminate, distribute or copy
> this e-mail. Please notify the sender immediately and destroy all copies of
> this message and any attachments contained in it.
>
>
> The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Query:RTP BIN element

Wim Taymans
In reply to this post by ajitjohn
On Tue, 2008-10-07 at 14:51 +0530, ajitjohn wrote:

Please keep the list in CC so that other people can look in the archives
when they encounter the same question.

> So what i understand now is that i have to send the sdp information  while
> streaming through gstreamer.

Yes, you make an SDP with the media type and ports and other config data
required by the respective RFCs. Then you start the gstreamer streaming
pipeline and then you launch vlc with the sdp file. Like so:

Run this pipeline:

 gst-launch gstrtpbin name=rtpbin videotestsrc is-live=1 !
   video/x-raw-yuv,width=352,height=288,framerate=15/1 ! ffenc_h263p !
   rtph263ppay ! rtpbin.send_rtp_sink_2 rtpbin.send_rtp_src_2 ! udpsink
   port=5000 host=127.0.0.1 name=vrtpsink
   rtpbin.send_rtcp_src_2 ! udpsink port=5001 host=127.0.0.1 sync=false
   async=false name=vrtcpsink udpsrc port=5005 name=vrtpsrc !
   rtpbin.recv_rtcp_sink_2

Then make an SDP file like this (name it client.sdp or so):

 v=0
 o=- 1188340656180883 1 IN IP4 127.0.0.1
 s=Session streamed by GStreamer
 i=server.sh
 t=0 0
 a=tool:GStreamer
 a=type:broadcast
 m=video 5000 RTP/AVP 96
 c=IN IP4 127.0.0.1
 a=rtpmap:96 H263-1998/90000

Then launch vlc like:

  vlc client.sdp

And watch the videotestsrc streamed over udp.

More examples are here:

http://webcvs.freedesktop.org/gstreamer/gst-plugins-good/tests/examples/rtp/

Wim


>
> So now my doubt is how to send this sdp information , i mean how to
> incorporate this sdp information in the pipeline , i hope i am not
> irritating u..
>
> thanks in advance ...
>
> ajit
>
> -----Original Message-----
> From: Wim Taymans [mailto:[hidden email]]
> Sent: Tuesday, October 07, 2008 2:20 PM
> To: [hidden email]
> Subject: RE: [gst-devel] Query:RTP BIN element
>
>
> On Tue, 2008-10-07 at 14:22 +0530, ajitjohn wrote:
> > I thought vlc wil directly play the file as the port and the ip were
> > specified while streaming through gstreamer.
> >
> > Is this the case with all elementary streams or h.264 in particular.
>
> That sounds very unlikely. How is vlc going to figure out the payload
> type, typefinding RTP packets sounds like a bad idea. I would suggest to
> make an SDP and use that in vlc, works fine for me.
>
> Wim
>
> >
> > ~ajit
> >
> > -----Original Message-----
> > From: Wim Taymans [mailto:[hidden email]]
> > Sent: Tuesday, October 07, 2008 1:58 PM
> > To: [hidden email]
> > Cc: [hidden email]
> > Subject: RE: [gst-devel] Query:RTP BIN element
> >
> >
> > On Tue, 2008-10-07 at 11:25 +0530, ajitjohn wrote:
> > > I wasnot using any sdp as config for streaming to vlc player.Do i need
> to
> > > send a sdp config file ?
> > >
> >
> > So how do you tell vlc to start playing the stream?
> >
> > Wim
> >
> > > ~ajit
> > >
> > > -----Original Message-----
> > > From: Wim Taymans [mailto:[hidden email]]
> > > Sent: Monday, October 06, 2008 9:49 PM
> > > To: [hidden email]
> > > Subject: RE: [gst-devel] Query:RTP BIN element
> > >
> > >
> > > On Mon, 2008-10-06 at 21:46 +0530, ajitjohn wrote:
> > > > I am using vlc player at the receiver side.So how will it make the
> > > > difference if the pipeline seems to work.
> > >
> > > I assume you are using an SDP as the config for vlc then. Can you paste
> > > the SDP here?
> > >
> > > Wim
> > >
> > > >
> > > > thanks in advance .
> > > >
> > > > regards,
> > > >
> > > > -----Original Message-----
> > > > From: Wim Taymans [mailto:[hidden email]]
> > > > Sent: Monday, October 06, 2008 9:10 PM
> > > > To: [hidden email]
> > > > Subject: RE: [gst-devel] Query:RTP BIN element
> > > >
> > > >
> > > > On Mon, 2008-10-06 at 20:51 +0530, ajitjohn wrote:
> > > > > yeah it starts with 00 00 00 01 start code .I dont have much
> > information
> > > > > about sps/pps information. Can u make me clear regarding this so
> that
> > i
> > > > can
> > > > > investigate  further .
> > > >
> > > > They contain the Sequence and Picture parameter sets you will need to
> > > > initialize the decoder. I believe the h264 payloader will also look
> for
> > > > them.
> > > >
> > > > >
> > > > > Anywayz i wanted to get clear bout how do i stream h264 video file
> > using
> > > > rtp
> > > > > bin.
> > > >
> > > > The pipeline you posted seems fine provided the file you stream can be
> > > > parsed by h264parse. What are you using to receive this stream?
> > > >
> > > > Wim
> > > >
> > > > >
> > > > > thanks in advance.
> > > > >
> > > > > Regards,
> > > > >
> > > > >
> > > > > -----Original Message-----
> > > > > From: Wim Taymans [mailto:[hidden email]]
> > > > > Sent: Monday, October 06, 2008 8:38 PM
> > > > > To: [hidden email]
> > > > > Subject: RE: [gst-devel] Query:RTP BIN element
> > > > >
> > > > >
> > > > > On Mon, 2008-10-06 at 20:37 +0530, ajitjohn wrote:
> > > > > >
> > > > > >
> > > > > > 1) Path of the file to be streamed
> /root/Desktop/test24fpsaudvid.264
> > > > > > 2) test24fpsaudvid.264 is h264 encoded file.
> > > > >
> > > > > What does 'h264 encoded file' mean? does it contain 00 00 01 start
> > codes
> > > > > and SPS/PPS in the beginning or is it the quicktime AVC variant?
> > > > >
> > > > > Wim
> > > > >
> > > > >
> > > > > >
> > > > > > thanks in advance.
> > > > > >
> > > > > > Regards,
> > > > > >
> > > > > > -----Original Message-----
> > > > > > From: Wim Taymans [mailto:[hidden email]]
> > > > > > Sent: Monday, October 06, 2008 8:25 PM
> > > > > > To: [hidden email]; Discussion of the development of
> > > GStreamer
> > > > > > Subject: Re: [gst-devel] Query:RTP BIN element
> > > > > >
> > > > > >
> > > > > > On Mon, 2008-10-06 at 20:14 +0530, ajitjohn wrote:
> > > > > > > Hi all,
> > > > > > >
> > > > > > > I am using the following pipeline for streaming a h.264 file
> > using
> > > > > rtpbin
> > > > > > > element
> > > > > > >
> > > > > > >
> > > > > > > gst-launch -v gstrtpbin name=rtpbin  filesrc
> > > > > > > location=/root/Desktop/test24fpsaudvid.264 ! queue ! h264parse !
> > > > > > rtph264pay
> > > > > > > ! rtpbin.send_rtp_sink_0 rtpbin.send_rtp_src_0 ! udpsink
> > > > host=10.60.3.64
> > > > > > > port=5000 rtpbin.send_rtcp_src_0 ! udpsink host=10.60.3.63
> > port=5001
> > > > > > > sync=false async=false udpsrc port=5005 !
> rtpbin.recv_rtcp_sink_0
> > > > > >
> > > > > > What's 'test24fpsaudvid.264'?
> > > > > >
> > > > > > Wim
> > > > > > >
> > > > > > >
> > > > > > > But i am not able to stream the file .I am not getting any
> errors
> > > > > though
> > > > > > > but at the receiver side i am not able to receive anything.
> > > > > > >
> > > > > > > thanks in advance.
> > > > > > >
> > > > > > >
> > > > > > > The information contained in this electronic message and any
> > > > attachments
> > > > > > to this message are intended for the exclusive use of the
> > addressee(s)
> > > > and
> > > > > > may contain proprietary, confidential or privileged information.
> If
> > > you
> > > > > are
> > > > > > not the intended recipient, you should not disseminate, distribute
> > or
> > > > copy
> > > > > > this e-mail. Please notify the sender immediately and destroy all
> > > copies
> > > > > of
> > > > > > this message and any attachments contained in it.
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> > -------------------------------------------------------------------------
> > > > > > > This SF.Net email is sponsored by the Moblin Your Move
> Developer's
> > > > > > challenge
> > > > > > > Build the coolest Linux based applications with Moblin SDK & win
> > > great
> > > > > > prizes
> > > > > > > Grand prize is a trip for two to an Open Source event anywhere
> in
> > > the
> > > > > > world
> > > > > > > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > > > > > > _______________________________________________
> > > > > > > gstreamer-devel mailing list
> > > > > > > [hidden email]
> > > > > > > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> > > > > >
> > > > > >
> > > > > > The information contained in this electronic message and any
> > > attachments
> > > > > to this message are intended for the exclusive use of the
> addressee(s)
> > > and
> > > > > may contain proprietary, confidential or privileged information. If
> > you
> > > > are
> > > > > not the intended recipient, you should not disseminate, distribute
> or
> > > copy
> > > > > this e-mail. Please notify the sender immediately and destroy all
> > copies
> > > > of
> > > > > this message and any attachments contained in it.
> > > > >
> > > > >
> > > > > The information contained in this electronic message and any
> > attachments
> > > > to this message are intended for the exclusive use of the addressee(s)
> > and
> > > > may contain proprietary, confidential or privileged information. If
> you
> > > are
> > > > not the intended recipient, you should not disseminate, distribute or
> > copy
> > > > this e-mail. Please notify the sender immediately and destroy all
> copies
> > > of
> > > > this message and any attachments contained in it.
> > > >
> > > >
> > > > The information contained in this electronic message and any
> attachments
> > > to this message are intended for the exclusive use of the addressee(s)
> and
> > > may contain proprietary, confidential or privileged information. If you
> > are
> > > not the intended recipient, you should not disseminate, distribute or
> copy
> > > this e-mail. Please notify the sender immediately and destroy all copies
> > of
> > > this message and any attachments contained in it.
> > >
> > >
> > > The information contained in this electronic message and any attachments
> > to this message are intended for the exclusive use of the addressee(s) and
> > may contain proprietary, confidential or privileged information. If you
> are
> > not the intended recipient, you should not disseminate, distribute or copy
> > this e-mail. Please notify the sender immediately and destroy all copies
> of
> > this message and any attachments contained in it.
> >
> >
> > The information contained in this electronic message and any attachments
> to this message are intended for the exclusive use of the addressee(s) and
> may contain proprietary, confidential or privileged information. If you are
> not the intended recipient, you should not disseminate, distribute or copy
> this e-mail. Please notify the sender immediately and destroy all copies of
> this message and any attachments contained in it.
>
>
> The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Query:RTP BIN element

ajitjohn
But my vlc player is on windows so how can i launch vlc like vlc client.sdp

thanks in advance

ajit

-----Original Message-----
From: Wim Taymans [mailto:[hidden email]]
Sent: Tuesday, October 07, 2008 3:08 PM
To: [hidden email]
Cc: [hidden email]
Subject: RE: [gst-devel] Query:RTP BIN element


On Tue, 2008-10-07 at 14:51 +0530, ajitjohn wrote:

Please keep the list in CC so that other people can look in the archives
when they encounter the same question.

> So what i understand now is that i have to send the sdp information  while
> streaming through gstreamer.

Yes, you make an SDP with the media type and ports and other config data
required by the respective RFCs. Then you start the gstreamer streaming
pipeline and then you launch vlc with the sdp file. Like so:

Run this pipeline:

 gst-launch gstrtpbin name=rtpbin videotestsrc is-live=1 !
   video/x-raw-yuv,width=352,height=288,framerate=15/1 ! ffenc_h263p !
   rtph263ppay ! rtpbin.send_rtp_sink_2 rtpbin.send_rtp_src_2 ! udpsink
   port=5000 host=127.0.0.1 name=vrtpsink
   rtpbin.send_rtcp_src_2 ! udpsink port=5001 host=127.0.0.1 sync=false
   async=false name=vrtcpsink udpsrc port=5005 name=vrtpsrc !
   rtpbin.recv_rtcp_sink_2

Then make an SDP file like this (name it client.sdp or so):

 v=0
 o=- 1188340656180883 1 IN IP4 127.0.0.1
 s=Session streamed by GStreamer
 i=server.sh
 t=0 0
 a=tool:GStreamer
 a=type:broadcast
 m=video 5000 RTP/AVP 96
 c=IN IP4 127.0.0.1
 a=rtpmap:96 H263-1998/90000

Then launch vlc like:

  vlc client.sdp

And watch the videotestsrc streamed over udp.

More examples are here:

http://webcvs.freedesktop.org/gstreamer/gst-plugins-good/tests/examples/rtp/

Wim


>
> So now my doubt is how to send this sdp information , i mean how to
> incorporate this sdp information in the pipeline , i hope i am not
> irritating u..
>
> thanks in advance ...
>
> ajit
>
> -----Original Message-----
> From: Wim Taymans [mailto:[hidden email]]
> Sent: Tuesday, October 07, 2008 2:20 PM
> To: [hidden email]
> Subject: RE: [gst-devel] Query:RTP BIN element
>
>
> On Tue, 2008-10-07 at 14:22 +0530, ajitjohn wrote:
> > I thought vlc wil directly play the file as the port and the ip were
> > specified while streaming through gstreamer.
> >
> > Is this the case with all elementary streams or h.264 in particular.
>
> That sounds very unlikely. How is vlc going to figure out the payload
> type, typefinding RTP packets sounds like a bad idea. I would suggest to
> make an SDP and use that in vlc, works fine for me.
>
> Wim
>
> >
> > ~ajit
> >
> > -----Original Message-----
> > From: Wim Taymans [mailto:[hidden email]]
> > Sent: Tuesday, October 07, 2008 1:58 PM
> > To: [hidden email]
> > Cc: [hidden email]
> > Subject: RE: [gst-devel] Query:RTP BIN element
> >
> >
> > On Tue, 2008-10-07 at 11:25 +0530, ajitjohn wrote:
> > > I wasnot using any sdp as config for streaming to vlc player.Do i need
> to
> > > send a sdp config file ?
> > >
> >
> > So how do you tell vlc to start playing the stream?
> >
> > Wim
> >
> > > ~ajit
> > >
> > > -----Original Message-----
> > > From: Wim Taymans [mailto:[hidden email]]
> > > Sent: Monday, October 06, 2008 9:49 PM
> > > To: [hidden email]
> > > Subject: RE: [gst-devel] Query:RTP BIN element
> > >
> > >
> > > On Mon, 2008-10-06 at 21:46 +0530, ajitjohn wrote:
> > > > I am using vlc player at the receiver side.So how will it make the
> > > > difference if the pipeline seems to work.
> > >
> > > I assume you are using an SDP as the config for vlc then. Can you
paste

> > > the SDP here?
> > >
> > > Wim
> > >
> > > >
> > > > thanks in advance .
> > > >
> > > > regards,
> > > >
> > > > -----Original Message-----
> > > > From: Wim Taymans [mailto:[hidden email]]
> > > > Sent: Monday, October 06, 2008 9:10 PM
> > > > To: [hidden email]
> > > > Subject: RE: [gst-devel] Query:RTP BIN element
> > > >
> > > >
> > > > On Mon, 2008-10-06 at 20:51 +0530, ajitjohn wrote:
> > > > > yeah it starts with 00 00 00 01 start code .I dont have much
> > information
> > > > > about sps/pps information. Can u make me clear regarding this so
> that
> > i
> > > > can
> > > > > investigate  further .
> > > >
> > > > They contain the Sequence and Picture parameter sets you will need
to

> > > > initialize the decoder. I believe the h264 payloader will also look
> for
> > > > them.
> > > >
> > > > >
> > > > > Anywayz i wanted to get clear bout how do i stream h264 video file
> > using
> > > > rtp
> > > > > bin.
> > > >
> > > > The pipeline you posted seems fine provided the file you stream can
be

> > > > parsed by h264parse. What are you using to receive this stream?
> > > >
> > > > Wim
> > > >
> > > > >
> > > > > thanks in advance.
> > > > >
> > > > > Regards,
> > > > >
> > > > >
> > > > > -----Original Message-----
> > > > > From: Wim Taymans [mailto:[hidden email]]
> > > > > Sent: Monday, October 06, 2008 8:38 PM
> > > > > To: [hidden email]
> > > > > Subject: RE: [gst-devel] Query:RTP BIN element
> > > > >
> > > > >
> > > > > On Mon, 2008-10-06 at 20:37 +0530, ajitjohn wrote:
> > > > > >
> > > > > >
> > > > > > 1) Path of the file to be streamed
> /root/Desktop/test24fpsaudvid.264
> > > > > > 2) test24fpsaudvid.264 is h264 encoded file.
> > > > >
> > > > > What does 'h264 encoded file' mean? does it contain 00 00 01 start
> > codes
> > > > > and SPS/PPS in the beginning or is it the quicktime AVC variant?
> > > > >
> > > > > Wim
> > > > >
> > > > >
> > > > > >
> > > > > > thanks in advance.
> > > > > >
> > > > > > Regards,
> > > > > >
> > > > > > -----Original Message-----
> > > > > > From: Wim Taymans [mailto:[hidden email]]
> > > > > > Sent: Monday, October 06, 2008 8:25 PM
> > > > > > To: [hidden email]; Discussion of the development of
> > > GStreamer
> > > > > > Subject: Re: [gst-devel] Query:RTP BIN element
> > > > > >
> > > > > >
> > > > > > On Mon, 2008-10-06 at 20:14 +0530, ajitjohn wrote:
> > > > > > > Hi all,
> > > > > > >
> > > > > > > I am using the following pipeline for streaming a h.264 file
> > using
> > > > > rtpbin
> > > > > > > element
> > > > > > >
> > > > > > >
> > > > > > > gst-launch -v gstrtpbin name=rtpbin  filesrc
> > > > > > > location=/root/Desktop/test24fpsaudvid.264 ! queue ! h264parse
!

> > > > > > rtph264pay
> > > > > > > ! rtpbin.send_rtp_sink_0 rtpbin.send_rtp_src_0 ! udpsink
> > > > host=10.60.3.64
> > > > > > > port=5000 rtpbin.send_rtcp_src_0 ! udpsink host=10.60.3.63
> > port=5001
> > > > > > > sync=false async=false udpsrc port=5005 !
> rtpbin.recv_rtcp_sink_0
> > > > > >
> > > > > > What's 'test24fpsaudvid.264'?
> > > > > >
> > > > > > Wim
> > > > > > >
> > > > > > >
> > > > > > > But i am not able to stream the file .I am not getting any
> errors
> > > > > though
> > > > > > > but at the receiver side i am not able to receive anything.
> > > > > > >
> > > > > > > thanks in advance.
> > > > > > >
> > > > > > >
> > > > > > > The information contained in this electronic message and any
> > > > attachments
> > > > > > to this message are intended for the exclusive use of the
> > addressee(s)
> > > > and
> > > > > > may contain proprietary, confidential or privileged information.
> If
> > > you
> > > > > are
> > > > > > not the intended recipient, you should not disseminate,
distribute
> > or
> > > > copy
> > > > > > this e-mail. Please notify the sender immediately and destroy
all

> > > copies
> > > > > of
> > > > > > this message and any attachments contained in it.
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> -------------------------------------------------------------------------
> > > > > > > This SF.Net email is sponsored by the Moblin Your Move
> Developer's
> > > > > > challenge
> > > > > > > Build the coolest Linux based applications with Moblin SDK &
win

> > > great
> > > > > > prizes
> > > > > > > Grand prize is a trip for two to an Open Source event anywhere
> in
> > > the
> > > > > > world
> > > > > > > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > > > > > > _______________________________________________
> > > > > > > gstreamer-devel mailing list
> > > > > > > [hidden email]
> > > > > > > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> > > > > >
> > > > > >
> > > > > > The information contained in this electronic message and any
> > > attachments
> > > > > to this message are intended for the exclusive use of the
> addressee(s)
> > > and
> > > > > may contain proprietary, confidential or privileged information.
If

> > you
> > > > are
> > > > > not the intended recipient, you should not disseminate, distribute
> or
> > > copy
> > > > > this e-mail. Please notify the sender immediately and destroy all
> > copies
> > > > of
> > > > > this message and any attachments contained in it.
> > > > >
> > > > >
> > > > > The information contained in this electronic message and any
> > attachments
> > > > to this message are intended for the exclusive use of the
addressee(s)
> > and
> > > > may contain proprietary, confidential or privileged information. If
> you
> > > are
> > > > not the intended recipient, you should not disseminate, distribute
or

> > copy
> > > > this e-mail. Please notify the sender immediately and destroy all
> copies
> > > of
> > > > this message and any attachments contained in it.
> > > >
> > > >
> > > > The information contained in this electronic message and any
> attachments
> > > to this message are intended for the exclusive use of the addressee(s)
> and
> > > may contain proprietary, confidential or privileged information. If
you
> > are
> > > not the intended recipient, you should not disseminate, distribute or
> copy
> > > this e-mail. Please notify the sender immediately and destroy all
copies
> > of
> > > this message and any attachments contained in it.
> > >
> > >
> > > The information contained in this electronic message and any
attachments
> > to this message are intended for the exclusive use of the addressee(s)
and
> > may contain proprietary, confidential or privileged information. If you
> are
> > not the intended recipient, you should not disseminate, distribute or
copy
> > this e-mail. Please notify the sender immediately and destroy all copies
> of
> > this message and any attachments contained in it.
> >
> >
> > The information contained in this electronic message and any attachments
> to this message are intended for the exclusive use of the addressee(s) and
> may contain proprietary, confidential or privileged information. If you
are
> not the intended recipient, you should not disseminate, distribute or copy
> this e-mail. Please notify the sender immediately and destroy all copies
of
> this message and any attachments contained in it.
>
>
> The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s) and
may contain proprietary, confidential or privileged information. If you are
not the intended recipient, you should not disseminate, distribute or copy
this e-mail. Please notify the sender immediately and destroy all copies of
this message and any attachments contained in it.


The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Query:RTP BIN element

Wim Taymans
On Tue, 2008-10-07 at 15:19 +0530, ajitjohn wrote:
> But my vlc player is on windows so how can i launch vlc like vlc client.sdp

Use notepad to edit the SDP file, save the file in the Desktop folder as
client.sdp.

In vlc, move the mouse to the file menu, click 'open file', click browse
and locate the client.sdp file in the Desktop folder, click ok.

Something like that, I think

Wim

>
> thanks in advance
>
> ajit
>
> -----Original Message-----
> From: Wim Taymans [mailto:[hidden email]]
> Sent: Tuesday, October 07, 2008 3:08 PM
> To: [hidden email]
> Cc: [hidden email]
> Subject: RE: [gst-devel] Query:RTP BIN element
>
>
> On Tue, 2008-10-07 at 14:51 +0530, ajitjohn wrote:
>
> Please keep the list in CC so that other people can look in the archives
> when they encounter the same question.
>
> > So what i understand now is that i have to send the sdp information  while
> > streaming through gstreamer.
>
> Yes, you make an SDP with the media type and ports and other config data
> required by the respective RFCs. Then you start the gstreamer streaming
> pipeline and then you launch vlc with the sdp file. Like so:
>
> Run this pipeline:
>
>  gst-launch gstrtpbin name=rtpbin videotestsrc is-live=1 !
>    video/x-raw-yuv,width=352,height=288,framerate=15/1 ! ffenc_h263p !
>    rtph263ppay ! rtpbin.send_rtp_sink_2 rtpbin.send_rtp_src_2 ! udpsink
>    port=5000 host=127.0.0.1 name=vrtpsink
>    rtpbin.send_rtcp_src_2 ! udpsink port=5001 host=127.0.0.1 sync=false
>    async=false name=vrtcpsink udpsrc port=5005 name=vrtpsrc !
>    rtpbin.recv_rtcp_sink_2
>
> Then make an SDP file like this (name it client.sdp or so):
>
>  v=0
>  o=- 1188340656180883 1 IN IP4 127.0.0.1
>  s=Session streamed by GStreamer
>  i=server.sh
>  t=0 0
>  a=tool:GStreamer
>  a=type:broadcast
>  m=video 5000 RTP/AVP 96
>  c=IN IP4 127.0.0.1
>  a=rtpmap:96 H263-1998/90000
>
> Then launch vlc like:
>
>   vlc client.sdp
>
> And watch the videotestsrc streamed over udp.
>
> More examples are here:
>
> http://webcvs.freedesktop.org/gstreamer/gst-plugins-good/tests/examples/rtp/
>
> Wim
>
>
> >
> > So now my doubt is how to send this sdp information , i mean how to
> > incorporate this sdp information in the pipeline , i hope i am not
> > irritating u..
> >
> > thanks in advance ...
> >
> > ajit
> >
> > -----Original Message-----
> > From: Wim Taymans [mailto:[hidden email]]
> > Sent: Tuesday, October 07, 2008 2:20 PM
> > To: [hidden email]
> > Subject: RE: [gst-devel] Query:RTP BIN element
> >
> >
> > On Tue, 2008-10-07 at 14:22 +0530, ajitjohn wrote:
> > > I thought vlc wil directly play the file as the port and the ip were
> > > specified while streaming through gstreamer.
> > >
> > > Is this the case with all elementary streams or h.264 in particular.
> >
> > That sounds very unlikely. How is vlc going to figure out the payload
> > type, typefinding RTP packets sounds like a bad idea. I would suggest to
> > make an SDP and use that in vlc, works fine for me.
> >
> > Wim
> >
> > >
> > > ~ajit
> > >
> > > -----Original Message-----
> > > From: Wim Taymans [mailto:[hidden email]]
> > > Sent: Tuesday, October 07, 2008 1:58 PM
> > > To: [hidden email]
> > > Cc: [hidden email]
> > > Subject: RE: [gst-devel] Query:RTP BIN element
> > >
> > >
> > > On Tue, 2008-10-07 at 11:25 +0530, ajitjohn wrote:
> > > > I wasnot using any sdp as config for streaming to vlc player.Do i need
> > to
> > > > send a sdp config file ?
> > > >
> > >
> > > So how do you tell vlc to start playing the stream?
> > >
> > > Wim
> > >
> > > > ~ajit
> > > >
> > > > -----Original Message-----
> > > > From: Wim Taymans [mailto:[hidden email]]
> > > > Sent: Monday, October 06, 2008 9:49 PM
> > > > To: [hidden email]
> > > > Subject: RE: [gst-devel] Query:RTP BIN element
> > > >
> > > >
> > > > On Mon, 2008-10-06 at 21:46 +0530, ajitjohn wrote:
> > > > > I am using vlc player at the receiver side.So how will it make the
> > > > > difference if the pipeline seems to work.
> > > >
> > > > I assume you are using an SDP as the config for vlc then. Can you
> paste
> > > > the SDP here?
> > > >
> > > > Wim
> > > >
> > > > >
> > > > > thanks in advance .
> > > > >
> > > > > regards,
> > > > >
> > > > > -----Original Message-----
> > > > > From: Wim Taymans [mailto:[hidden email]]
> > > > > Sent: Monday, October 06, 2008 9:10 PM
> > > > > To: [hidden email]
> > > > > Subject: RE: [gst-devel] Query:RTP BIN element
> > > > >
> > > > >
> > > > > On Mon, 2008-10-06 at 20:51 +0530, ajitjohn wrote:
> > > > > > yeah it starts with 00 00 00 01 start code .I dont have much
> > > information
> > > > > > about sps/pps information. Can u make me clear regarding this so
> > that
> > > i
> > > > > can
> > > > > > investigate  further .
> > > > >
> > > > > They contain the Sequence and Picture parameter sets you will need
> to
> > > > > initialize the decoder. I believe the h264 payloader will also look
> > for
> > > > > them.
> > > > >
> > > > > >
> > > > > > Anywayz i wanted to get clear bout how do i stream h264 video file
> > > using
> > > > > rtp
> > > > > > bin.
> > > > >
> > > > > The pipeline you posted seems fine provided the file you stream can
> be
> > > > > parsed by h264parse. What are you using to receive this stream?
> > > > >
> > > > > Wim
> > > > >
> > > > > >
> > > > > > thanks in advance.
> > > > > >
> > > > > > Regards,
> > > > > >
> > > > > >
> > > > > > -----Original Message-----
> > > > > > From: Wim Taymans [mailto:[hidden email]]
> > > > > > Sent: Monday, October 06, 2008 8:38 PM
> > > > > > To: [hidden email]
> > > > > > Subject: RE: [gst-devel] Query:RTP BIN element
> > > > > >
> > > > > >
> > > > > > On Mon, 2008-10-06 at 20:37 +0530, ajitjohn wrote:
> > > > > > >
> > > > > > >
> > > > > > > 1) Path of the file to be streamed
> > /root/Desktop/test24fpsaudvid.264
> > > > > > > 2) test24fpsaudvid.264 is h264 encoded file.
> > > > > >
> > > > > > What does 'h264 encoded file' mean? does it contain 00 00 01 start
> > > codes
> > > > > > and SPS/PPS in the beginning or is it the quicktime AVC variant?
> > > > > >
> > > > > > Wim
> > > > > >
> > > > > >
> > > > > > >
> > > > > > > thanks in advance.
> > > > > > >
> > > > > > > Regards,
> > > > > > >
> > > > > > > -----Original Message-----
> > > > > > > From: Wim Taymans [mailto:[hidden email]]
> > > > > > > Sent: Monday, October 06, 2008 8:25 PM
> > > > > > > To: [hidden email]; Discussion of the development of
> > > > GStreamer
> > > > > > > Subject: Re: [gst-devel] Query:RTP BIN element
> > > > > > >
> > > > > > >
> > > > > > > On Mon, 2008-10-06 at 20:14 +0530, ajitjohn wrote:
> > > > > > > > Hi all,
> > > > > > > >
> > > > > > > > I am using the following pipeline for streaming a h.264 file
> > > using
> > > > > > rtpbin
> > > > > > > > element
> > > > > > > >
> > > > > > > >
> > > > > > > > gst-launch -v gstrtpbin name=rtpbin  filesrc
> > > > > > > > location=/root/Desktop/test24fpsaudvid.264 ! queue ! h264parse
> !
> > > > > > > rtph264pay
> > > > > > > > ! rtpbin.send_rtp_sink_0 rtpbin.send_rtp_src_0 ! udpsink
> > > > > host=10.60.3.64
> > > > > > > > port=5000 rtpbin.send_rtcp_src_0 ! udpsink host=10.60.3.63
> > > port=5001
> > > > > > > > sync=false async=false udpsrc port=5005 !
> > rtpbin.recv_rtcp_sink_0
> > > > > > >
> > > > > > > What's 'test24fpsaudvid.264'?
> > > > > > >
> > > > > > > Wim
> > > > > > > >
> > > > > > > >
> > > > > > > > But i am not able to stream the file .I am not getting any
> > errors
> > > > > > though
> > > > > > > > but at the receiver side i am not able to receive anything.
> > > > > > > >
> > > > > > > > thanks in advance.
> > > > > > > >
> > > > > > > >
> > > > > > > > The information contained in this electronic message and any
> > > > > attachments
> > > > > > > to this message are intended for the exclusive use of the
> > > addressee(s)
> > > > > and
> > > > > > > may contain proprietary, confidential or privileged information.
> > If
> > > > you
> > > > > > are
> > > > > > > not the intended recipient, you should not disseminate,
> distribute
> > > or
> > > > > copy
> > > > > > > this e-mail. Please notify the sender immediately and destroy
> all
> > > > copies
> > > > > > of
> > > > > > > this message and any attachments contained in it.
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> > -------------------------------------------------------------------------
> > > > > > > > This SF.Net email is sponsored by the Moblin Your Move
> > Developer's
> > > > > > > challenge
> > > > > > > > Build the coolest Linux based applications with Moblin SDK &
> win
> > > > great
> > > > > > > prizes
> > > > > > > > Grand prize is a trip for two to an Open Source event anywhere
> > in
> > > > the
> > > > > > > world
> > > > > > > > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > > > > > > > _______________________________________________
> > > > > > > > gstreamer-devel mailing list
> > > > > > > > [hidden email]
> > > > > > > > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> > > > > > >
> > > > > > >
> > > > > > > The information contained in this electronic message and any
> > > > attachments
> > > > > > to this message are intended for the exclusive use of the
> > addressee(s)
> > > > and
> > > > > > may contain proprietary, confidential or privileged information.
> If
> > > you
> > > > > are
> > > > > > not the intended recipient, you should not disseminate, distribute
> > or
> > > > copy
> > > > > > this e-mail. Please notify the sender immediately and destroy all
> > > copies
> > > > > of
> > > > > > this message and any attachments contained in it.
> > > > > >
> > > > > >
> > > > > > The information contained in this electronic message and any
> > > attachments
> > > > > to this message are intended for the exclusive use of the
> addressee(s)
> > > and
> > > > > may contain proprietary, confidential or privileged information. If
> > you
> > > > are
> > > > > not the intended recipient, you should not disseminate, distribute
> or
> > > copy
> > > > > this e-mail. Please notify the sender immediately and destroy all
> > copies
> > > > of
> > > > > this message and any attachments contained in it.
> > > > >
> > > > >
> > > > > The information contained in this electronic message and any
> > attachments
> > > > to this message are intended for the exclusive use of the addressee(s)
> > and
> > > > may contain proprietary, confidential or privileged information. If
> you
> > > are
> > > > not the intended recipient, you should not disseminate, distribute or
> > copy
> > > > this e-mail. Please notify the sender immediately and destroy all
> copies
> > > of
> > > > this message and any attachments contained in it.
> > > >
> > > >
> > > > The information contained in this electronic message and any
> attachments
> > > to this message are intended for the exclusive use of the addressee(s)
> and
> > > may contain proprietary, confidential or privileged information. If you
> > are
> > > not the intended recipient, you should not disseminate, distribute or
> copy
> > > this e-mail. Please notify the sender immediately and destroy all copies
> > of
> > > this message and any attachments contained in it.
> > >
> > >
> > > The information contained in this electronic message and any attachments
> > to this message are intended for the exclusive use of the addressee(s) and
> > may contain proprietary, confidential or privileged information. If you
> are
> > not the intended recipient, you should not disseminate, distribute or copy
> > this e-mail. Please notify the sender immediately and destroy all copies
> of
> > this message and any attachments contained in it.
> >
> >
> > The information contained in this electronic message and any attachments
> to this message are intended for the exclusive use of the addressee(s) and
> may contain proprietary, confidential or privileged information. If you are
> not the intended recipient, you should not disseminate, distribute or copy
> this e-mail. Please notify the sender immediately and destroy all copies of
> this message and any attachments contained in it.
>
>
> The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Query:RTP BIN element

ajitjohn
I am running the following pipeline at the gstreamer end

 gst-launch gstrtpbin name=rtpbin videotestsrc is-live=1 !
video/x-raw-yuv,width=352,height=288,framerate=15/1 ! ffenc_mpeg4 !
rtpmp4vpay ! rtpbin.send_rtp_sink_2 rtpbin.send_rtp_src_2 ! udpsink
port=5000 host=10.60.3.104 name=vrtpsink  rtpbin.send_rtcp_src_2 ! udpsink
port=5001 host=10.60.3.104 sync=false async=false name=vrtcpsink udpsrc
port=5005 name=vrtpsrc ! rtpbin.recv_rtcp_sink_2


i have made the necessary modifications in the sdp file and have located the
sdp file  based on ur response and then i used the above mentioned pipeline
to stream it to the vlc player and i am getting the following errors at the
vlc players end.

ffmpeg error: av_find_stream_info failed
ps error: cannot peek
main error: no suitable demux module for `udp/://@:5000'
ts error: cannot peek


thanks in advance
ajit
-----Original Message-----
From: Wim Taymans [mailto:[hidden email]]
Sent: Tuesday, October 07, 2008 3:21 PM
To: [hidden email]
Cc: [hidden email]
Subject: RE: [gst-devel] Query:RTP BIN element


On Tue, 2008-10-07 at 15:19 +0530, ajitjohn wrote:
> But my vlc player is on windows so how can i launch vlc like vlc
client.sdp

Use notepad to edit the SDP file, save the file in the Desktop folder as
client.sdp.

In vlc, move the mouse to the file menu, click 'open file', click browse
and locate the client.sdp file in the Desktop folder, click ok.

Something like that, I think

Wim

>
> thanks in advance
>
> ajit
>
> -----Original Message-----
> From: Wim Taymans [mailto:[hidden email]]
> Sent: Tuesday, October 07, 2008 3:08 PM
> To: [hidden email]
> Cc: [hidden email]
> Subject: RE: [gst-devel] Query:RTP BIN element
>
>
> On Tue, 2008-10-07 at 14:51 +0530, ajitjohn wrote:
>
> Please keep the list in CC so that other people can look in the archives
> when they encounter the same question.
>
> > So what i understand now is that i have to send the sdp information
while

> > streaming through gstreamer.
>
> Yes, you make an SDP with the media type and ports and other config data
> required by the respective RFCs. Then you start the gstreamer streaming
> pipeline and then you launch vlc with the sdp file. Like so:
>
> Run this pipeline:
>
>  gst-launch gstrtpbin name=rtpbin videotestsrc is-live=1 !
>    video/x-raw-yuv,width=352,height=288,framerate=15/1 ! ffenc_h263p !
>    rtph263ppay ! rtpbin.send_rtp_sink_2 rtpbin.send_rtp_src_2 ! udpsink
>    port=5000 host=127.0.0.1 name=vrtpsink
>    rtpbin.send_rtcp_src_2 ! udpsink port=5001 host=127.0.0.1 sync=false
>    async=false name=vrtcpsink udpsrc port=5005 name=vrtpsrc !
>    rtpbin.recv_rtcp_sink_2
>
> Then make an SDP file like this (name it client.sdp or so):
>
>  v=0
>  o=- 1188340656180883 1 IN IP4 127.0.0.1
>  s=Session streamed by GStreamer
>  i=server.sh
>  t=0 0
>  a=tool:GStreamer
>  a=type:broadcast
>  m=video 5000 RTP/AVP 96
>  c=IN IP4 127.0.0.1
>  a=rtpmap:96 H263-1998/90000
>
> Then launch vlc like:
>
>   vlc client.sdp
>
> And watch the videotestsrc streamed over udp.
>
> More examples are here:
>
>
http://webcvs.freedesktop.org/gstreamer/gst-plugins-good/tests/examples/rtp/

>
> Wim
>
>
> >
> > So now my doubt is how to send this sdp information , i mean how to
> > incorporate this sdp information in the pipeline , i hope i am not
> > irritating u..
> >
> > thanks in advance ...
> >
> > ajit
> >
> > -----Original Message-----
> > From: Wim Taymans [mailto:[hidden email]]
> > Sent: Tuesday, October 07, 2008 2:20 PM
> > To: [hidden email]
> > Subject: RE: [gst-devel] Query:RTP BIN element
> >
> >
> > On Tue, 2008-10-07 at 14:22 +0530, ajitjohn wrote:
> > > I thought vlc wil directly play the file as the port and the ip were
> > > specified while streaming through gstreamer.
> > >
> > > Is this the case with all elementary streams or h.264 in particular.
> >
> > That sounds very unlikely. How is vlc going to figure out the payload
> > type, typefinding RTP packets sounds like a bad idea. I would suggest to
> > make an SDP and use that in vlc, works fine for me.
> >
> > Wim
> >
> > >
> > > ~ajit
> > >
> > > -----Original Message-----
> > > From: Wim Taymans [mailto:[hidden email]]
> > > Sent: Tuesday, October 07, 2008 1:58 PM
> > > To: [hidden email]
> > > Cc: [hidden email]
> > > Subject: RE: [gst-devel] Query:RTP BIN element
> > >
> > >
> > > On Tue, 2008-10-07 at 11:25 +0530, ajitjohn wrote:
> > > > I wasnot using any sdp as config for streaming to vlc player.Do i
need

> > to
> > > > send a sdp config file ?
> > > >
> > >
> > > So how do you tell vlc to start playing the stream?
> > >
> > > Wim
> > >
> > > > ~ajit
> > > >
> > > > -----Original Message-----
> > > > From: Wim Taymans [mailto:[hidden email]]
> > > > Sent: Monday, October 06, 2008 9:49 PM
> > > > To: [hidden email]
> > > > Subject: RE: [gst-devel] Query:RTP BIN element
> > > >
> > > >
> > > > On Mon, 2008-10-06 at 21:46 +0530, ajitjohn wrote:
> > > > > I am using vlc player at the receiver side.So how will it make the
> > > > > difference if the pipeline seems to work.
> > > >
> > > > I assume you are using an SDP as the config for vlc then. Can you
> paste
> > > > the SDP here?
> > > >
> > > > Wim
> > > >
> > > > >
> > > > > thanks in advance .
> > > > >
> > > > > regards,
> > > > >
> > > > > -----Original Message-----
> > > > > From: Wim Taymans [mailto:[hidden email]]
> > > > > Sent: Monday, October 06, 2008 9:10 PM
> > > > > To: [hidden email]
> > > > > Subject: RE: [gst-devel] Query:RTP BIN element
> > > > >
> > > > >
> > > > > On Mon, 2008-10-06 at 20:51 +0530, ajitjohn wrote:
> > > > > > yeah it starts with 00 00 00 01 start code .I dont have much
> > > information
> > > > > > about sps/pps information. Can u make me clear regarding this so
> > that
> > > i
> > > > > can
> > > > > > investigate  further .
> > > > >
> > > > > They contain the Sequence and Picture parameter sets you will need
> to
> > > > > initialize the decoder. I believe the h264 payloader will also
look
> > for
> > > > > them.
> > > > >
> > > > > >
> > > > > > Anywayz i wanted to get clear bout how do i stream h264 video
file
> > > using
> > > > > rtp
> > > > > > bin.
> > > > >
> > > > > The pipeline you posted seems fine provided the file you stream
can

> be
> > > > > parsed by h264parse. What are you using to receive this stream?
> > > > >
> > > > > Wim
> > > > >
> > > > > >
> > > > > > thanks in advance.
> > > > > >
> > > > > > Regards,
> > > > > >
> > > > > >
> > > > > > -----Original Message-----
> > > > > > From: Wim Taymans [mailto:[hidden email]]
> > > > > > Sent: Monday, October 06, 2008 8:38 PM
> > > > > > To: [hidden email]
> > > > > > Subject: RE: [gst-devel] Query:RTP BIN element
> > > > > >
> > > > > >
> > > > > > On Mon, 2008-10-06 at 20:37 +0530, ajitjohn wrote:
> > > > > > >
> > > > > > >
> > > > > > > 1) Path of the file to be streamed
> > /root/Desktop/test24fpsaudvid.264
> > > > > > > 2) test24fpsaudvid.264 is h264 encoded file.
> > > > > >
> > > > > > What does 'h264 encoded file' mean? does it contain 00 00 01
start

> > > codes
> > > > > > and SPS/PPS in the beginning or is it the quicktime AVC variant?
> > > > > >
> > > > > > Wim
> > > > > >
> > > > > >
> > > > > > >
> > > > > > > thanks in advance.
> > > > > > >
> > > > > > > Regards,
> > > > > > >
> > > > > > > -----Original Message-----
> > > > > > > From: Wim Taymans [mailto:[hidden email]]
> > > > > > > Sent: Monday, October 06, 2008 8:25 PM
> > > > > > > To: [hidden email]; Discussion of the development of
> > > > GStreamer
> > > > > > > Subject: Re: [gst-devel] Query:RTP BIN element
> > > > > > >
> > > > > > >
> > > > > > > On Mon, 2008-10-06 at 20:14 +0530, ajitjohn wrote:
> > > > > > > > Hi all,
> > > > > > > >
> > > > > > > > I am using the following pipeline for streaming a h.264
file
> > > using
> > > > > > rtpbin
> > > > > > > > element
> > > > > > > >
> > > > > > > >
> > > > > > > > gst-launch -v gstrtpbin name=rtpbin  filesrc
> > > > > > > > location=/root/Desktop/test24fpsaudvid.264 ! queue !
h264parse

> !
> > > > > > > rtph264pay
> > > > > > > > ! rtpbin.send_rtp_sink_0 rtpbin.send_rtp_src_0 ! udpsink
> > > > > host=10.60.3.64
> > > > > > > > port=5000 rtpbin.send_rtcp_src_0 ! udpsink host=10.60.3.63
> > > port=5001
> > > > > > > > sync=false async=false udpsrc port=5005 !
> > rtpbin.recv_rtcp_sink_0
> > > > > > >
> > > > > > > What's 'test24fpsaudvid.264'?
> > > > > > >
> > > > > > > Wim
> > > > > > > >
> > > > > > > >
> > > > > > > > But i am not able to stream the file .I am not getting any
> > errors
> > > > > > though
> > > > > > > > but at the receiver side i am not able to receive anything.
> > > > > > > >
> > > > > > > > thanks in advance.
> > > > > > > >
> > > > > > > >
> > > > > > > > The information contained in this electronic message and any
> > > > > attachments
> > > > > > > to this message are intended for the exclusive use of the
> > > addressee(s)
> > > > > and
> > > > > > > may contain proprietary, confidential or privileged
information.

> > If
> > > > you
> > > > > > are
> > > > > > > not the intended recipient, you should not disseminate,
> distribute
> > > or
> > > > > copy
> > > > > > > this e-mail. Please notify the sender immediately and destroy
> all
> > > > copies
> > > > > > of
> > > > > > > this message and any attachments contained in it.
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> -------------------------------------------------------------------------
> > > > > > > > This SF.Net email is sponsored by the Moblin Your Move
> > Developer's
> > > > > > > challenge
> > > > > > > > Build the coolest Linux based applications with Moblin SDK &
> win
> > > > great
> > > > > > > prizes
> > > > > > > > Grand prize is a trip for two to an Open Source event
anywhere

> > in
> > > > the
> > > > > > > world
> > > > > > > > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > > > > > > > _______________________________________________
> > > > > > > > gstreamer-devel mailing list
> > > > > > > > [hidden email]
> > > > > > > > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> > > > > > >
> > > > > > >
> > > > > > > The information contained in this electronic message and any
> > > > attachments
> > > > > > to this message are intended for the exclusive use of the
> > addressee(s)
> > > > and
> > > > > > may contain proprietary, confidential or privileged information.
> If
> > > you
> > > > > are
> > > > > > not the intended recipient, you should not disseminate,
distribute
> > or
> > > > copy
> > > > > > this e-mail. Please notify the sender immediately and destroy
all

> > > copies
> > > > > of
> > > > > > this message and any attachments contained in it.
> > > > > >
> > > > > >
> > > > > > The information contained in this electronic message and any
> > > attachments
> > > > > to this message are intended for the exclusive use of the
> addressee(s)
> > > and
> > > > > may contain proprietary, confidential or privileged information.
If

> > you
> > > > are
> > > > > not the intended recipient, you should not disseminate, distribute
> or
> > > copy
> > > > > this e-mail. Please notify the sender immediately and destroy all
> > copies
> > > > of
> > > > > this message and any attachments contained in it.
> > > > >
> > > > >
> > > > > The information contained in this electronic message and any
> > attachments
> > > > to this message are intended for the exclusive use of the
addressee(s)
> > and
> > > > may contain proprietary, confidential or privileged information. If
> you
> > > are
> > > > not the intended recipient, you should not disseminate, distribute
or

> > copy
> > > > this e-mail. Please notify the sender immediately and destroy all
> copies
> > > of
> > > > this message and any attachments contained in it.
> > > >
> > > >
> > > > The information contained in this electronic message and any
> attachments
> > > to this message are intended for the exclusive use of the addressee(s)
> and
> > > may contain proprietary, confidential or privileged information. If
you
> > are
> > > not the intended recipient, you should not disseminate, distribute or
> copy
> > > this e-mail. Please notify the sender immediately and destroy all
copies
> > of
> > > this message and any attachments contained in it.
> > >
> > >
> > > The information contained in this electronic message and any
attachments
> > to this message are intended for the exclusive use of the addressee(s)
and
> > may contain proprietary, confidential or privileged information. If you
> are
> > not the intended recipient, you should not disseminate, distribute or
copy
> > this e-mail. Please notify the sender immediately and destroy all copies
> of
> > this message and any attachments contained in it.
> >
> >
> > The information contained in this electronic message and any attachments
> to this message are intended for the exclusive use of the addressee(s) and
> may contain proprietary, confidential or privileged information. If you
are
> not the intended recipient, you should not disseminate, distribute or copy
> this e-mail. Please notify the sender immediately and destroy all copies
of
> this message and any attachments contained in it.
>
>
> The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s) and
may contain proprietary, confidential or privileged information. If you are
not the intended recipient, you should not disseminate, distribute or copy
this e-mail. Please notify the sender immediately and destroy all copies of
this message and any attachments contained in it.


The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

rtpsend element of farsight

Irfan Shaikh-2
In reply to this post by Wim Taymans
rtpsend element of farsight

Hi All,

     I have been trying using rtpsend element in gst-plugins-farsight-0.12.1 . But i found that element rtpsend here does not has ip property which is must in rtpsend element.

     Please can anyone help me regarding this issue ? Is there any other working rtpsend element in any other package other than farsight ?

Regards,
Irfan

This message (including any attachment) is confidential and may be legally privileged. Access to this message by anyone other than the intended recipient(s) listed above is unauthorized. If you are not the intended recipient you are hereby notified that any disclosure, copying, or distribution of the message, or any action taken or omission of action by you in reliance upon it, is prohibited and may be unlawful. Please immediately notify the sender by reply e-mail and permanently delete all copies of the message if you have received this message in error.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: rtpsend element of farsight

Olivier Crête-2
On Tue, 2008-10-07 at 17:50 +0530, Irfan Shaikh wrote:
> Hi All,
>
>      I have been trying using rtpsend element in
> gst-plugins-farsight-0.12.1 . But i found that element rtpsend here
> does not has ip property which is must in rtpsend element.
>
>      Please can anyone help me regarding this issue ? Is there any
> other working rtpsend element in any other package other than
> farsight ?

Please don't use the rtp elements in gst-p-farsight, they have been
fully superseeded by gstrtpbin from gst-p-bad.


--
Olivier Crête
[hidden email]
Collabora Ltd

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

signature.asc (204 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: rtpsend element of farsight

Irfan Shaikh-2
Hi

Can you please suggest me some other alternative ??


-----Original Message-----
From: Olivier Crête [mailto:[hidden email]]
Sent: Tue 10/7/2008 7:28 PM
To: [hidden email]
Subject: Re: [gst-devel] rtpsend element of farsight

On Tue, 2008-10-07 at 17:50 +0530, Irfan Shaikh wrote:
> Hi All,
>
>      I have been trying using rtpsend element in
> gst-plugins-farsight-0.12.1 . But i found that element rtpsend here
> does not has ip property which is must in rtpsend element.
>
>      Please can anyone help me regarding this issue ? Is there any
> other working rtpsend element in any other package other than
> farsight ?

Please don't use the rtp elements in gst-p-farsight, they have been
fully superseeded by gstrtpbin from gst-p-bad.


--
Olivier Crête
[hidden email]
Collabora Ltd


This message (including any attachment) is confidential and may be legally privileged.  Access to this message by anyone other than the intended recipient(s) listed above is unauthorized.  If you are not the intended recipient you are hereby notified that any disclosure, copying, or distribution of the message, or any action taken or omission of action by you in reliance upon it, is prohibited and may be unlawful.  Please immediately notify the sender by reply e-mail and permanently delete all copies of the message if you have received this message in error.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

winmail.dat (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: rtpsend element of farsight

Olivier Crête-2
On Tue, 2008-10-07 at 21:00 +0530, Irfan Shaikh wrote:
> Hi
>
> Can you please suggest me some other alternative ??

gstrtpbin in gst-plugins-bad

> -----Original Message-----
> From: Olivier Crête [mailto:[hidden email]]
> Sent: Tue 10/7/2008 7:28 PM
> To: [hidden email]
> Subject: Re: [gst-devel] rtpsend element of farsight
>  
> On Tue, 2008-10-07 at 17:50 +0530, Irfan Shaikh wrote:
> > Hi All,
> >
> >      I have been trying using rtpsend element in
> > gst-plugins-farsight-0.12.1 . But i found that element rtpsend here
> > does not has ip property which is must in rtpsend element.
> >
> >      Please can anyone help me regarding this issue ? Is there any
> > other working rtpsend element in any other package other than
> > farsight ?
>
> Please don't use the rtp elements in gst-p-farsight, they have been
> fully superseeded by gstrtpbin from gst-p-bad.
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
--
Olivier Crête
[hidden email]
Collabora Ltd

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

signature.asc (204 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: rtpsend element of farsight

Francesco Argese
In reply to this post by Irfan Shaikh-2
2008/10/7 Irfan Shaikh <[hidden email]>:
> Hi
>
> Can you please suggest me some other alternative ??

Currently, gstreamer rtp elements, as you can see here [1], are
included in gst-plugins-bad.

You can download the latest source release here [2].

Hi
Francesco

[1]http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-bad-plugins/html/gst-plugins-bad-plugins-plugin-gstrtpmanager.html
[2]http://gstreamer.freedesktop.org/src/gst-plugins-bad/

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Query:RTP BIN element

ajitjohn
In reply to this post by Wim Taymans
Hii Wim,

        The gstrtpbin element that u have send me in the pipeline belongs to
gst-plugins-bad .
There is one more such element "rtpbin" in the farsight pacvkage ,its based
on jrtplib.Whether both the gst-plugins-bad plugin and the farsight plugin
are based on jrtplib,if yes then whats the difference between the two.

thanks in advance...

regards,


-----Original Message-----
From: Wim Taymans [mailto:[hidden email]]
Sent: Tuesday, October 07, 2008 3:21 PM
To: [hidden email]
Cc: [hidden email]
Subject: RE: [gst-devel] Query:RTP BIN element


On Tue, 2008-10-07 at 15:19 +0530, ajitjohn wrote:
> But my vlc player is on windows so how can i launch vlc like vlc
client.sdp

Use notepad to edit the SDP file, save the file in the Desktop folder as
client.sdp.

In vlc, move the mouse to the file menu, click 'open file', click browse
and locate the client.sdp file in the Desktop folder, click ok.

Something like that, I think

Wim

>
> thanks in advance
>
> ajit
>
> -----Original Message-----
> From: Wim Taymans [mailto:[hidden email]]
> Sent: Tuesday, October 07, 2008 3:08 PM
> To: [hidden email]
> Cc: [hidden email]
> Subject: RE: [gst-devel] Query:RTP BIN element
>
>
> On Tue, 2008-10-07 at 14:51 +0530, ajitjohn wrote:
>
> Please keep the list in CC so that other people can look in the archives
> when they encounter the same question.
>
> > So what i understand now is that i have to send the sdp information
while

> > streaming through gstreamer.
>
> Yes, you make an SDP with the media type and ports and other config data
> required by the respective RFCs. Then you start the gstreamer streaming
> pipeline and then you launch vlc with the sdp file. Like so:
>
> Run this pipeline:
>
>  gst-launch gstrtpbin name=rtpbin videotestsrc is-live=1 !
>    video/x-raw-yuv,width=352,height=288,framerate=15/1 ! ffenc_h263p !
>    rtph263ppay ! rtpbin.send_rtp_sink_2 rtpbin.send_rtp_src_2 ! udpsink
>    port=5000 host=127.0.0.1 name=vrtpsink
>    rtpbin.send_rtcp_src_2 ! udpsink port=5001 host=127.0.0.1 sync=false
>    async=false name=vrtcpsink udpsrc port=5005 name=vrtpsrc !
>    rtpbin.recv_rtcp_sink_2
>
> Then make an SDP file like this (name it client.sdp or so):
>
>  v=0
>  o=- 1188340656180883 1 IN IP4 127.0.0.1
>  s=Session streamed by GStreamer
>  i=server.sh
>  t=0 0
>  a=tool:GStreamer
>  a=type:broadcast
>  m=video 5000 RTP/AVP 96
>  c=IN IP4 127.0.0.1
>  a=rtpmap:96 H263-1998/90000
>
> Then launch vlc like:
>
>   vlc client.sdp
>
> And watch the videotestsrc streamed over udp.
>
> More examples are here:
>
>
http://webcvs.freedesktop.org/gstreamer/gst-plugins-good/tests/examples/rtp/

>
> Wim
>
>
> >
> > So now my doubt is how to send this sdp information , i mean how to
> > incorporate this sdp information in the pipeline , i hope i am not
> > irritating u..
> >
> > thanks in advance ...
> >
> > ajit
> >
> > -----Original Message-----
> > From: Wim Taymans [mailto:[hidden email]]
> > Sent: Tuesday, October 07, 2008 2:20 PM
> > To: [hidden email]
> > Subject: RE: [gst-devel] Query:RTP BIN element
> >
> >
> > On Tue, 2008-10-07 at 14:22 +0530, ajitjohn wrote:
> > > I thought vlc wil directly play the file as the port and the ip were
> > > specified while streaming through gstreamer.
> > >
> > > Is this the case with all elementary streams or h.264 in particular.
> >
> > That sounds very unlikely. How is vlc going to figure out the payload
> > type, typefinding RTP packets sounds like a bad idea. I would suggest to
> > make an SDP and use that in vlc, works fine for me.
> >
> > Wim
> >
> > >
> > > ~ajit
> > >
> > > -----Original Message-----
> > > From: Wim Taymans [mailto:[hidden email]]
> > > Sent: Tuesday, October 07, 2008 1:58 PM
> > > To: [hidden email]
> > > Cc: [hidden email]
> > > Subject: RE: [gst-devel] Query:RTP BIN element
> > >
> > >
> > > On Tue, 2008-10-07 at 11:25 +0530, ajitjohn wrote:
> > > > I wasnot using any sdp as config for streaming to vlc player.Do i
need

> > to
> > > > send a sdp config file ?
> > > >
> > >
> > > So how do you tell vlc to start playing the stream?
> > >
> > > Wim
> > >
> > > > ~ajit
> > > >
> > > > -----Original Message-----
> > > > From: Wim Taymans [mailto:[hidden email]]
> > > > Sent: Monday, October 06, 2008 9:49 PM
> > > > To: [hidden email]
> > > > Subject: RE: [gst-devel] Query:RTP BIN element
> > > >
> > > >
> > > > On Mon, 2008-10-06 at 21:46 +0530, ajitjohn wrote:
> > > > > I am using vlc player at the receiver side.So how will it make the
> > > > > difference if the pipeline seems to work.
> > > >
> > > > I assume you are using an SDP as the config for vlc then. Can you
> paste
> > > > the SDP here?
> > > >
> > > > Wim
> > > >
> > > > >
> > > > > thanks in advance .
> > > > >
> > > > > regards,
> > > > >
> > > > > -----Original Message-----
> > > > > From: Wim Taymans [mailto:[hidden email]]
> > > > > Sent: Monday, October 06, 2008 9:10 PM
> > > > > To: [hidden email]
> > > > > Subject: RE: [gst-devel] Query:RTP BIN element
> > > > >
> > > > >
> > > > > On Mon, 2008-10-06 at 20:51 +0530, ajitjohn wrote:
> > > > > > yeah it starts with 00 00 00 01 start code .I dont have much
> > > information
> > > > > > about sps/pps information. Can u make me clear regarding this so
> > that
> > > i
> > > > > can
> > > > > > investigate  further .
> > > > >
> > > > > They contain the Sequence and Picture parameter sets you will need
> to
> > > > > initialize the decoder. I believe the h264 payloader will also
look
> > for
> > > > > them.
> > > > >
> > > > > >
> > > > > > Anywayz i wanted to get clear bout how do i stream h264 video
file
> > > using
> > > > > rtp
> > > > > > bin.
> > > > >
> > > > > The pipeline you posted seems fine provided the file you stream
can

> be
> > > > > parsed by h264parse. What are you using to receive this stream?
> > > > >
> > > > > Wim
> > > > >
> > > > > >
> > > > > > thanks in advance.
> > > > > >
> > > > > > Regards,
> > > > > >
> > > > > >
> > > > > > -----Original Message-----
> > > > > > From: Wim Taymans [mailto:[hidden email]]
> > > > > > Sent: Monday, October 06, 2008 8:38 PM
> > > > > > To: [hidden email]
> > > > > > Subject: RE: [gst-devel] Query:RTP BIN element
> > > > > >
> > > > > >
> > > > > > On Mon, 2008-10-06 at 20:37 +0530, ajitjohn wrote:
> > > > > > >
> > > > > > >
> > > > > > > 1) Path of the file to be streamed
> > /root/Desktop/test24fpsaudvid.264
> > > > > > > 2) test24fpsaudvid.264 is h264 encoded file.
> > > > > >
> > > > > > What does 'h264 encoded file' mean? does it contain 00 00 01
start

> > > codes
> > > > > > and SPS/PPS in the beginning or is it the quicktime AVC variant?
> > > > > >
> > > > > > Wim
> > > > > >
> > > > > >
> > > > > > >
> > > > > > > thanks in advance.
> > > > > > >
> > > > > > > Regards,
> > > > > > >
> > > > > > > -----Original Message-----
> > > > > > > From: Wim Taymans [mailto:[hidden email]]
> > > > > > > Sent: Monday, October 06, 2008 8:25 PM
> > > > > > > To: [hidden email]; Discussion of the development of
> > > > GStreamer
> > > > > > > Subject: Re: [gst-devel] Query:RTP BIN element
> > > > > > >
> > > > > > >
> > > > > > > On Mon, 2008-10-06 at 20:14 +0530, ajitjohn wrote:
> > > > > > > > Hi all,
> > > > > > > >
> > > > > > > > I am using the following pipeline for streaming a h.264
file
> > > using
> > > > > > rtpbin
> > > > > > > > element
> > > > > > > >
> > > > > > > >
> > > > > > > > gst-launch -v gstrtpbin name=rtpbin  filesrc
> > > > > > > > location=/root/Desktop/test24fpsaudvid.264 ! queue !
h264parse

> !
> > > > > > > rtph264pay
> > > > > > > > ! rtpbin.send_rtp_sink_0 rtpbin.send_rtp_src_0 ! udpsink
> > > > > host=10.60.3.64
> > > > > > > > port=5000 rtpbin.send_rtcp_src_0 ! udpsink host=10.60.3.63
> > > port=5001
> > > > > > > > sync=false async=false udpsrc port=5005 !
> > rtpbin.recv_rtcp_sink_0
> > > > > > >
> > > > > > > What's 'test24fpsaudvid.264'?
> > > > > > >
> > > > > > > Wim
> > > > > > > >
> > > > > > > >
> > > > > > > > But i am not able to stream the file .I am not getting any
> > errors
> > > > > > though
> > > > > > > > but at the receiver side i am not able to receive anything.
> > > > > > > >
> > > > > > > > thanks in advance.
> > > > > > > >
> > > > > > > >
> > > > > > > > The information contained in this electronic message and any
> > > > > attachments
> > > > > > > to this message are intended for the exclusive use of the
> > > addressee(s)
> > > > > and
> > > > > > > may contain proprietary, confidential or privileged
information.

> > If
> > > > you
> > > > > > are
> > > > > > > not the intended recipient, you should not disseminate,
> distribute
> > > or
> > > > > copy
> > > > > > > this e-mail. Please notify the sender immediately and destroy
> all
> > > > copies
> > > > > > of
> > > > > > > this message and any attachments contained in it.
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> -------------------------------------------------------------------------
> > > > > > > > This SF.Net email is sponsored by the Moblin Your Move
> > Developer's
> > > > > > > challenge
> > > > > > > > Build the coolest Linux based applications with Moblin SDK &
> win
> > > > great
> > > > > > > prizes
> > > > > > > > Grand prize is a trip for two to an Open Source event
anywhere

> > in
> > > > the
> > > > > > > world
> > > > > > > > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > > > > > > > _______________________________________________
> > > > > > > > gstreamer-devel mailing list
> > > > > > > > [hidden email]
> > > > > > > > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> > > > > > >
> > > > > > >
> > > > > > > The information contained in this electronic message and any
> > > > attachments
> > > > > > to this message are intended for the exclusive use of the
> > addressee(s)
> > > > and
> > > > > > may contain proprietary, confidential or privileged information.
> If
> > > you
> > > > > are
> > > > > > not the intended recipient, you should not disseminate,
distribute
> > or
> > > > copy
> > > > > > this e-mail. Please notify the sender immediately and destroy
all

> > > copies
> > > > > of
> > > > > > this message and any attachments contained in it.
> > > > > >
> > > > > >
> > > > > > The information contained in this electronic message and any
> > > attachments
> > > > > to this message are intended for the exclusive use of the
> addressee(s)
> > > and
> > > > > may contain proprietary, confidential or privileged information.
If

> > you
> > > > are
> > > > > not the intended recipient, you should not disseminate, distribute
> or
> > > copy
> > > > > this e-mail. Please notify the sender immediately and destroy all
> > copies
> > > > of
> > > > > this message and any attachments contained in it.
> > > > >
> > > > >
> > > > > The information contained in this electronic message and any
> > attachments
> > > > to this message are intended for the exclusive use of the
addressee(s)
> > and
> > > > may contain proprietary, confidential or privileged information. If
> you
> > > are
> > > > not the intended recipient, you should not disseminate, distribute
or

> > copy
> > > > this e-mail. Please notify the sender immediately and destroy all
> copies
> > > of
> > > > this message and any attachments contained in it.
> > > >
> > > >
> > > > The information contained in this electronic message and any
> attachments
> > > to this message are intended for the exclusive use of the addressee(s)
> and
> > > may contain proprietary, confidential or privileged information. If
you
> > are
> > > not the intended recipient, you should not disseminate, distribute or
> copy
> > > this e-mail. Please notify the sender immediately and destroy all
copies
> > of
> > > this message and any attachments contained in it.
> > >
> > >
> > > The information contained in this electronic message and any
attachments
> > to this message are intended for the exclusive use of the addressee(s)
and
> > may contain proprietary, confidential or privileged information. If you
> are
> > not the intended recipient, you should not disseminate, distribute or
copy
> > this e-mail. Please notify the sender immediately and destroy all copies
> of
> > this message and any attachments contained in it.
> >
> >
> > The information contained in this electronic message and any attachments
> to this message are intended for the exclusive use of the addressee(s) and
> may contain proprietary, confidential or privileged information. If you
are
> not the intended recipient, you should not disseminate, distribute or copy
> this e-mail. Please notify the sender immediately and destroy all copies
of
> this message and any attachments contained in it.
>
>
> The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s) and
may contain proprietary, confidential or privileged information. If you are
not the intended recipient, you should not disseminate, distribute or copy
this e-mail. Please notify the sender immediately and destroy all copies of
this message and any attachments contained in it.


The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Query:RTP BIN element

ajitjohn
In reply to this post by Wim Taymans
hii Wim,

        i tried the same for mpeg4 elementary streams it worked for me.i used the
following pipeline.

gst-launch gstrtpbin name=rtpbin videotestsrc is-live=1 !
video/x-raw-yuv,width=352,height=288,framerate=15/1 ! ffenc_mpeg4 !
rtpmp4vpay ! rtpbin.send_rtp_sink_2 rtpbin.send_rtp_src_2 ! udpsink
port=5000 host=10.60.3.104 name=vrtpsink rtpbin.send_rtcp_src_2 ! udpsink
port=5001 host=10.60.3.104 sync=false async=false name=vrtcpsink udpsrc
port=5005 name=vrtpsrc ! rtpbin.recv_rtcp_sink_2


and on the receiver side i dragged the following sdp file named mpeg4.sdp to
vlc player

v=0
o=- 1223457093460663 1 IN IP4 10.60.3.55
s=RTSP Server
i=Codec00
t=0 0
a=tool:LIVE555 Streaming Media v2008.07.24
a=type roadcast
a=control:*
a=source-filter: incl IN IP4 10.60.3.55
a=rtcp-unicast: reflection
m=video 5000 RTP/AVP 96
a=rtpmap:96 MP4V-ES/90000
a=fmtp:96
profile-level-id=1;config=00000100000001200086c4002a85020f0a21000001b3001007

and i was able to stream the mpeg4 file generated from videotestsrc .thanks
for your valuable inputs.

The above sdp i have got from the net.

I dont know how to generate an sdp file for a particular stream,is there any
tool for doing so ?

Regards,


-----Original Message-----
From: Wim Taymans [mailto:[hidden email]]
Sent: Tuesday, October 07, 2008 3:08 PM
To: [hidden email]
Cc: [hidden email]
Subject: RE: [gst-devel] Query:RTP BIN element


On Tue, 2008-10-07 at 14:51 +0530, ajitjohn wrote:

Please keep the list in CC so that other people can look in the archives
when they encounter the same question.

> So what i understand now is that i have to send the sdp information  while
> streaming through gstreamer.

Yes, you make an SDP with the media type and ports and other config data
required by the respective RFCs. Then you start the gstreamer streaming
pipeline and then you launch vlc with the sdp file. Like so:

Run this pipeline:

 gst-launch gstrtpbin name=rtpbin videotestsrc is-live=1 !
   video/x-raw-yuv,width=352,height=288,framerate=15/1 ! ffenc_h263p !
   rtph263ppay ! rtpbin.send_rtp_sink_2 rtpbin.send_rtp_src_2 ! udpsink
   port=5000 host=127.0.0.1 name=vrtpsink
   rtpbin.send_rtcp_src_2 ! udpsink port=5001 host=127.0.0.1 sync=false
   async=false name=vrtcpsink udpsrc port=5005 name=vrtpsrc !
   rtpbin.recv_rtcp_sink_2

Then make an SDP file like this (name it client.sdp or so):

 v=0
 o=- 1188340656180883 1 IN IP4 127.0.0.1
 s=Session streamed by GStreamer
 i=server.sh
 t=0 0
 a=tool:GStreamer
 a=type:broadcast
 m=video 5000 RTP/AVP 96
 c=IN IP4 127.0.0.1
 a=rtpmap:96 H263-1998/90000

Then launch vlc like:

  vlc client.sdp

And watch the videotestsrc streamed over udp.

More examples are here:

http://webcvs.freedesktop.org/gstreamer/gst-plugins-good/tests/examples/rtp/

Wim


>
> So now my doubt is how to send this sdp information , i mean how to
> incorporate this sdp information in the pipeline , i hope i am not
> irritating u..
>
> thanks in advance ...
>
> ajit
>
> -----Original Message-----
> From: Wim Taymans [mailto:[hidden email]]
> Sent: Tuesday, October 07, 2008 2:20 PM
> To: [hidden email]
> Subject: RE: [gst-devel] Query:RTP BIN element
>
>
> On Tue, 2008-10-07 at 14:22 +0530, ajitjohn wrote:
> > I thought vlc wil directly play the file as the port and the ip were
> > specified while streaming through gstreamer.
> >
> > Is this the case with all elementary streams or h.264 in particular.
>
> That sounds very unlikely. How is vlc going to figure out the payload
> type, typefinding RTP packets sounds like a bad idea. I would suggest to
> make an SDP and use that in vlc, works fine for me.
>
> Wim
>
> >
> > ~ajit
> >
> > -----Original Message-----
> > From: Wim Taymans [mailto:[hidden email]]
> > Sent: Tuesday, October 07, 2008 1:58 PM
> > To: [hidden email]
> > Cc: [hidden email]
> > Subject: RE: [gst-devel] Query:RTP BIN element
> >
> >
> > On Tue, 2008-10-07 at 11:25 +0530, ajitjohn wrote:
> > > I wasnot using any sdp as config for streaming to vlc player.Do i need
> to
> > > send a sdp config file ?
> > >
> >
> > So how do you tell vlc to start playing the stream?
> >
> > Wim
> >
> > > ~ajit
> > >
> > > -----Original Message-----
> > > From: Wim Taymans [mailto:[hidden email]]
> > > Sent: Monday, October 06, 2008 9:49 PM
> > > To: [hidden email]
> > > Subject: RE: [gst-devel] Query:RTP BIN element
> > >
> > >
> > > On Mon, 2008-10-06 at 21:46 +0530, ajitjohn wrote:
> > > > I am using vlc player at the receiver side.So how will it make the
> > > > difference if the pipeline seems to work.
> > >
> > > I assume you are using an SDP as the config for vlc then. Can you
paste

> > > the SDP here?
> > >
> > > Wim
> > >
> > > >
> > > > thanks in advance .
> > > >
> > > > regards,
> > > >
> > > > -----Original Message-----
> > > > From: Wim Taymans [mailto:[hidden email]]
> > > > Sent: Monday, October 06, 2008 9:10 PM
> > > > To: [hidden email]
> > > > Subject: RE: [gst-devel] Query:RTP BIN element
> > > >
> > > >
> > > > On Mon, 2008-10-06 at 20:51 +0530, ajitjohn wrote:
> > > > > yeah it starts with 00 00 00 01 start code .I dont have much
> > information
> > > > > about sps/pps information. Can u make me clear regarding this so
> that
> > i
> > > > can
> > > > > investigate  further .
> > > >
> > > > They contain the Sequence and Picture parameter sets you will need
to

> > > > initialize the decoder. I believe the h264 payloader will also look
> for
> > > > them.
> > > >
> > > > >
> > > > > Anywayz i wanted to get clear bout how do i stream h264 video file
> > using
> > > > rtp
> > > > > bin.
> > > >
> > > > The pipeline you posted seems fine provided the file you stream can
be

> > > > parsed by h264parse. What are you using to receive this stream?
> > > >
> > > > Wim
> > > >
> > > > >
> > > > > thanks in advance.
> > > > >
> > > > > Regards,
> > > > >
> > > > >
> > > > > -----Original Message-----
> > > > > From: Wim Taymans [mailto:[hidden email]]
> > > > > Sent: Monday, October 06, 2008 8:38 PM
> > > > > To: [hidden email]
> > > > > Subject: RE: [gst-devel] Query:RTP BIN element
> > > > >
> > > > >
> > > > > On Mon, 2008-10-06 at 20:37 +0530, ajitjohn wrote:
> > > > > >
> > > > > >
> > > > > > 1) Path of the file to be streamed
> /root/Desktop/test24fpsaudvid.264
> > > > > > 2) test24fpsaudvid.264 is h264 encoded file.
> > > > >
> > > > > What does 'h264 encoded file' mean? does it contain 00 00 01 start
> > codes
> > > > > and SPS/PPS in the beginning or is it the quicktime AVC variant?
> > > > >
> > > > > Wim
> > > > >
> > > > >
> > > > > >
> > > > > > thanks in advance.
> > > > > >
> > > > > > Regards,
> > > > > >
> > > > > > -----Original Message-----
> > > > > > From: Wim Taymans [mailto:[hidden email]]
> > > > > > Sent: Monday, October 06, 2008 8:25 PM
> > > > > > To: [hidden email]; Discussion of the development of
> > > GStreamer
> > > > > > Subject: Re: [gst-devel] Query:RTP BIN element
> > > > > >
> > > > > >
> > > > > > On Mon, 2008-10-06 at 20:14 +0530, ajitjohn wrote:
> > > > > > > Hi all,
> > > > > > >
> > > > > > > I am using the following pipeline for streaming a h.264 file
> > using
> > > > > rtpbin
> > > > > > > element
> > > > > > >
> > > > > > >
> > > > > > > gst-launch -v gstrtpbin name=rtpbin  filesrc
> > > > > > > location=/root/Desktop/test24fpsaudvid.264 ! queue ! h264parse
!

> > > > > > rtph264pay
> > > > > > > ! rtpbin.send_rtp_sink_0 rtpbin.send_rtp_src_0 ! udpsink
> > > > host=10.60.3.64
> > > > > > > port=5000 rtpbin.send_rtcp_src_0 ! udpsink host=10.60.3.63
> > port=5001
> > > > > > > sync=false async=false udpsrc port=5005 !
> rtpbin.recv_rtcp_sink_0
> > > > > >
> > > > > > What's 'test24fpsaudvid.264'?
> > > > > >
> > > > > > Wim
> > > > > > >
> > > > > > >
> > > > > > > But i am not able to stream the file .I am not getting any
> errors
> > > > > though
> > > > > > > but at the receiver side i am not able to receive anything.
> > > > > > >
> > > > > > > thanks in advance.
> > > > > > >
> > > > > > >
> > > > > > > The information contained in this electronic message and any
> > > > attachments
> > > > > > to this message are intended for the exclusive use of the
> > addressee(s)
> > > > and
> > > > > > may contain proprietary, confidential or privileged information.
> If
> > > you
> > > > > are
> > > > > > not the intended recipient, you should not disseminate,
distribute
> > or
> > > > copy
> > > > > > this e-mail. Please notify the sender immediately and destroy
all

> > > copies
> > > > > of
> > > > > > this message and any attachments contained in it.
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> -------------------------------------------------------------------------
> > > > > > > This SF.Net email is sponsored by the Moblin Your Move
> Developer's
> > > > > > challenge
> > > > > > > Build the coolest Linux based applications with Moblin SDK &
win

> > > great
> > > > > > prizes
> > > > > > > Grand prize is a trip for two to an Open Source event anywhere
> in
> > > the
> > > > > > world
> > > > > > > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > > > > > > _______________________________________________
> > > > > > > gstreamer-devel mailing list
> > > > > > > [hidden email]
> > > > > > > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> > > > > >
> > > > > >
> > > > > > The information contained in this electronic message and any
> > > attachments
> > > > > to this message are intended for the exclusive use of the
> addressee(s)
> > > and
> > > > > may contain proprietary, confidential or privileged information.
If

> > you
> > > > are
> > > > > not the intended recipient, you should not disseminate, distribute
> or
> > > copy
> > > > > this e-mail. Please notify the sender immediately and destroy all
> > copies
> > > > of
> > > > > this message and any attachments contained in it.
> > > > >
> > > > >
> > > > > The information contained in this electronic message and any
> > attachments
> > > > to this message are intended for the exclusive use of the
addressee(s)
> > and
> > > > may contain proprietary, confidential or privileged information. If
> you
> > > are
> > > > not the intended recipient, you should not disseminate, distribute
or

> > copy
> > > > this e-mail. Please notify the sender immediately and destroy all
> copies
> > > of
> > > > this message and any attachments contained in it.
> > > >
> > > >
> > > > The information contained in this electronic message and any
> attachments
> > > to this message are intended for the exclusive use of the addressee(s)
> and
> > > may contain proprietary, confidential or privileged information. If
you
> > are
> > > not the intended recipient, you should not disseminate, distribute or
> copy
> > > this e-mail. Please notify the sender immediately and destroy all
copies
> > of
> > > this message and any attachments contained in it.
> > >
> > >
> > > The information contained in this electronic message and any
attachments
> > to this message are intended for the exclusive use of the addressee(s)
and
> > may contain proprietary, confidential or privileged information. If you
> are
> > not the intended recipient, you should not disseminate, distribute or
copy
> > this e-mail. Please notify the sender immediately and destroy all copies
> of
> > this message and any attachments contained in it.
> >
> >
> > The information contained in this electronic message and any attachments
> to this message are intended for the exclusive use of the addressee(s) and
> may contain proprietary, confidential or privileged information. If you
are
> not the intended recipient, you should not disseminate, distribute or copy
> this e-mail. Please notify the sender immediately and destroy all copies
of
> this message and any attachments contained in it.
>
>
> The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s) and
may contain proprietary, confidential or privileged information. If you are
not the intended recipient, you should not disseminate, distribute or copy
this e-mail. Please notify the sender immediately and destroy all copies of
this message and any attachments contained in it.


The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Writing an application for gstrtpbin

ajitjohn
In reply to this post by Wim Taymans
hi Wim,
      please see the red colored font for specific information.

        i tried the same for mpeg4 elementary streams it worked for me.i used the
following pipeline.

gst-launch gstrtpbin name=rtpbin videotestsrc is-live=1 !
ffenc_mpeg4 !
rtpmp4vpay ! rtpbin.send_rtp_sink_2 rtpbin.send_rtp_src_2 ! udpsink
port=5000 host=10.60.3.104 name=vrtpsink rtpbin.send_rtcp_src_2 ! udpsink
port=5001 host=10.60.3.104 sync=false async=false name=vrtcpsink udpsrc
port=5005 name=vrtpsrc ! rtpbin.recv_rtcp_sink_2

and on the receiver side i dragged the following sdp file named mpeg4.sdp to
vlc player

v=0
o=- 1223457093460663 1 IN IP4 10.60.3.55
s=RTSP Server
i=Codec00
t=0 0
a=tool:LIVE555 Streaming Media v2008.07.24
a=type roadcast
a=control:*
a=source-filter: incl IN IP4 10.60.3.55
a=rtcp-unicast: reflection
m=video 5000 RTP/AVP 96
a=rtpmap:96 MP4V-ES/90000
a=fmtp:96
profile-level-id=1;config=00000100000001200086c4002a85020f0a21000001b3001007

and i was able to stream the mpeg4 file generated from videotestsrc .thanks
for your valuable inputs.

The above sdp i have got from the net.

Now i am in a process of writting an application for the same. I have read
the Application Development Manual for the GStreamer. But i am unable to
write it for the above mentioned pipeline. So, please suggest me on how to
write it?

Specifically, please suggest on how to set rtpbin.send_rtp_sink_2 and
rtpbin.send_rtp_src_2 in the application?

Regards,
ajitjohn
-----Original Message-----
From: Wim Taymans [mailto:[hidden email]]
Sent: Tuesday, October 07, 2008 3:08 PM
To: [hidden email]
Cc: [hidden email]
Subject: RE: [gst-devel] Query:RTP BIN element


On Tue, 2008-10-07 at 14:51 +0530, ajitjohn wrote:

Please keep the list in CC so that other people can look in the archives
when they encounter the same question.

> So what i understand now is that i have to send the sdp information  while
> streaming through gstreamer.

Yes, you make an SDP with the media type and ports and other config data
required by the respective RFCs. Then you start the gstreamer streaming
pipeline and then you launch vlc with the sdp file. Like so:

Run this pipeline:

 gst-launch gstrtpbin name=rtpbin videotestsrc is-live=1 !
   ffenc_h263p !
   rtph263ppay ! rtpbin.send_rtp_sink_2 rtpbin.send_rtp_src_2 ! udpsink
   port=5000 host=127.0.0.1 name=vrtpsink
   rtpbin.send_rtcp_src_2 ! udpsink port=5001 host=127.0.0.1 sync=false
   async=false name=vrtcpsink udpsrc port=5005 name=vrtpsrc !
   rtpbin.recv_rtcp_sink_2

Then make an SDP file like this (name it client.sdp or so):

 v=0
 o=- 1188340656180883 1 IN IP4 127.0.0.1
 s=Session streamed by GStreamer
 i=server.sh
 t=0 0
 a=tool:GStreamer
 a=type:broadcast
 m=video 5000 RTP/AVP 96
 c=IN IP4 127.0.0.1
 a=rtpmap:96 H263-1998/90000

Then launch vlc like:

  vlc client.sdp

And watch the videotestsrc streamed over udp.

More examples are here:

http://webcvs.freedesktop.org/gstreamer/gst-plugins-good/tests/examples/rtp/

Wim


>
> So now my doubt is how to send this sdp information , i mean how to
> incorporate this sdp information in the pipeline , i hope i am not
> irritating u..
>
> thanks in advance ...
>
> ajit
>
> -----Original Message-----
> From: Wim Taymans [mailto:[hidden email]]
> Sent: Tuesday, October 07, 2008 2:20 PM
> To: [hidden email]
> Subject: RE: [gst-devel] Query:RTP BIN element
>
>
> On Tue, 2008-10-07 at 14:22 +0530, ajitjohn wrote:
> > I thought vlc wil directly play the file as the port and the ip were
> > specified while streaming through gstreamer.
> >
> > Is this the case with all elementary streams or h.264 in particular.
>
> That sounds very unlikely. How is vlc going to figure out the payload
> type, typefinding RTP packets sounds like a bad idea. I would suggest to
> make an SDP and use that in vlc, works fine for me.
>
> Wim
>
> >
> > ~ajit
> >
> > -----Original Message-----
> > From: Wim Taymans [mailto:[hidden email]]
> > Sent: Tuesday, October 07, 2008 1:58 PM
> > To: [hidden email]
> > Cc: [hidden email]
> > Subject: RE: [gst-devel] Query:RTP BIN element
> >
> >
> > On Tue, 2008-10-07 at 11:25 +0530, ajitjohn wrote:
> > > I wasnot using any sdp as config for streaming to vlc player.Do i need
> to
> > > send a sdp config file ?
> > >
> >
> > So how do you tell vlc to start playing the stream?
> >
> > Wim
> >
> > > ~ajit
> > >
> > > -----Original Message-----
> > > From: Wim Taymans [mailto:[hidden email]]
> > > Sent: Monday, October 06, 2008 9:49 PM
> > > To: [hidden email]
> > > Subject: RE: [gst-devel] Query:RTP BIN element
> > >
> > >
> > > On Mon, 2008-10-06 at 21:46 +0530, ajitjohn wrote:
> > > > I am using vlc player at the receiver side.So how will it make the
> > > > difference if the pipeline seems to work.
> > >
> > > I assume you are using an SDP as the config for vlc then. Can you
paste

> > > the SDP here?
> > >
> > > Wim
> > >
> > > >
> > > > thanks in advance .
> > > >
> > > > regards,
> > > >
> > > > -----Original Message-----
> > > > From: Wim Taymans [mailto:[hidden email]]
> > > > Sent: Monday, October 06, 2008 9:10 PM
> > > > To: [hidden email]
> > > > Subject: RE: [gst-devel] Query:RTP BIN element
> > > >
> > > >
> > > > On Mon, 2008-10-06 at 20:51 +0530, ajitjohn wrote:
> > > > > yeah it starts with 00 00 00 01 start code .I dont have much
> > information
> > > > > about sps/pps information. Can u make me clear regarding this so
> that
> > i
> > > > can
> > > > > investigate  further .
> > > >
> > > > They contain the Sequence and Picture parameter sets you will need
to

> > > > initialize the decoder. I believe the h264 payloader will also look
> for
> > > > them.
> > > >
> > > > >
> > > > > Anywayz i wanted to get clear bout how do i stream h264 video file
> > using
> > > > rtp
> > > > > bin.
> > > >
> > > > The pipeline you posted seems fine provided the file you stream can
be

> > > > parsed by h264parse. What are you using to receive this stream?
> > > >
> > > > Wim
> > > >
> > > > >
> > > > > thanks in advance.
> > > > >
> > > > > Regards,
> > > > >
> > > > >
> > > > > -----Original Message-----
> > > > > From: Wim Taymans [mailto:[hidden email]]
> > > > > Sent: Monday, October 06, 2008 8:38 PM
> > > > > To: [hidden email]
> > > > > Subject: RE: [gst-devel] Query:RTP BIN element
> > > > >
> > > > >
> > > > > On Mon, 2008-10-06 at 20:37 +0530, ajitjohn wrote:
> > > > > >
> > > > > >
> > > > > > 1) Path of the file to be streamed
> /root/Desktop/test24fpsaudvid.264
> > > > > > 2) test24fpsaudvid.264 is h264 encoded file.
> > > > >
> > > > > What does 'h264 encoded file' mean? does it contain 00 00 01 start
> > codes
> > > > > and SPS/PPS in the beginning or is it the quicktime AVC variant?
> > > > >
> > > > > Wim
> > > > >
> > > > >
> > > > > >
> > > > > > thanks in advance.
> > > > > >
> > > > > > Regards,
> > > > > >
> > > > > > -----Original Message-----
> > > > > > From: Wim Taymans [mailto:[hidden email]]
> > > > > > Sent: Monday, October 06, 2008 8:25 PM
> > > > > > To: [hidden email]; Discussion of the development of
> > > GStreamer
> > > > > > Subject: Re: [gst-devel] Query:RTP BIN element
> > > > > >
> > > > > >
> > > > > > On Mon, 2008-10-06 at 20:14 +0530, ajitjohn wrote:
> > > > > > > Hi all,
> > > > > > >
> > > > > > > I am using the following pipeline for streaming a h.264 file
> > using
> > > > > rtpbin
> > > > > > > element
> > > > > > >
> > > > > > >
> > > > > > > gst-launch -v gstrtpbin name=rtpbin  filesrc
> > > > > > > location=/root/Desktop/test24fpsaudvid.264 ! queue ! h264parse
!

> > > > > > rtph264pay
> > > > > > > ! rtpbin.send_rtp_sink_0 rtpbin.send_rtp_src_0 ! udpsink
> > > > host=10.60.3.64
> > > > > > > port=5000 rtpbin.send_rtcp_src_0 ! udpsink host=10.60.3.63
> > port=5001
> > > > > > > sync=false async=false udpsrc port=5005 !
> rtpbin.recv_rtcp_sink_0
> > > > > >
> > > > > > What's 'test24fpsaudvid.264'?
> > > > > >
> > > > > > Wim
> > > > > > >
> > > > > > >
> > > > > > > But i am not able to stream the file .I am not getting any
> errors
> > > > > though
> > > > > > > but at the receiver side i am not able to receive anything.
> > > > > > >
> > > > > > > thanks in advance.
> > > > > > >
> > > > > > >
> > > > > > > The information contained in this electronic message and any
> > > > attachments
> > > > > > to this message are intended for the exclusive use of the
> > addressee(s)
> > > > and
> > > > > > may contain proprietary, confidential or privileged information.
> If
> > > you
> > > > > are
> > > > > > not the intended recipient, you should not disseminate,
distribute
> > or
> > > > copy
> > > > > > this e-mail. Please notify the sender immediately and destroy
all

> > > copies
> > > > > of
> > > > > > this message and any attachments contained in it.
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> -------------------------------------------------------------------------
> > > > > > > This SF.Net email is sponsored by the Moblin Your Move
> Developer's
> > > > > > challenge
> > > > > > > Build the coolest Linux based applications with Moblin SDK &
win

> > > great
> > > > > > prizes
> > > > > > > Grand prize is a trip for two to an Open Source event anywhere
> in
> > > the
> > > > > > world
> > > > > > > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > > > > > > _______________________________________________
> > > > > > > gstreamer-devel mailing list
> > > > > > > [hidden email]
> > > > > > > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> > > > > >
> > > > > >
> > > > > > The information contained in this electronic message and any
> > > attachments
> > > > > to this message are intended for the exclusive use of the
> addressee(s)
> > > and
> > > > > may contain proprietary, confidential or privileged information.
If

> > you
> > > > are
> > > > > not the intended recipient, you should not disseminate, distribute
> or
> > > copy
> > > > > this e-mail. Please notify the sender immediately and destroy all
> > copies
> > > > of
> > > > > this message and any attachments contained in it.
> > > > >
> > > > >
> > > > > The information contained in this electronic message and any
> > attachments
> > > > to this message are intended for the exclusive use of the
addressee(s)
> > and
> > > > may contain proprietary, confidential or privileged information. If
> you
> > > are
> > > > not the intended recipient, you should not disseminate, distribute
or

> > copy
> > > > this e-mail. Please notify the sender immediately and destroy all
> copies
> > > of
> > > > this message and any attachments contained in it.
> > > >
> > > >
> > > > The information contained in this electronic message and any
> attachments
> > > to this message are intended for the exclusive use of the addressee(s)
> and
> > > may contain proprietary, confidential or privileged information. If
you
> > are
> > > not the intended recipient, you should not disseminate, distribute or
> copy
> > > this e-mail. Please notify the sender immediately and destroy all
copies
> > of
> > > this message and any attachments contained in it.
> > >
> > >
> > > The information contained in this electronic message and any
attachments
> > to this message are intended for the exclusive use of the addressee(s)
and
> > may contain proprietary, confidential or privileged information. If you
> are
> > not the intended recipient, you should not disseminate, distribute or
copy
> > this e-mail. Please notify the sender immediately and destroy all copies
> of
> > this message and any attachments contained in it.
> >
> >
> > The information contained in this electronic message and any attachments
> to this message are intended for the exclusive use of the addressee(s) and
> may contain proprietary, confidential or privileged information. If you
are
> not the intended recipient, you should not disseminate, distribute or copy
> this e-mail. Please notify the sender immediately and destroy all copies
of
> this message and any attachments contained in it.
>
>
> The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s) and
may contain proprietary, confidential or privileged information. If you are
not the intended recipient, you should not disseminate, distribute or copy
this e-mail. Please notify the sender immediately and destroy all copies of
this message and any attachments contained in it.


The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel