[gst-devel] Audio + video with RTP

Wim Taymans wim.taymans at gmail.com
Tue Aug 26 11:13:25 CEST 2008


On Tue, 2008-08-26 at 11:06 +0200, Rémi BUISSON wrote:
> Hi,

Hi,

<snip>


> It works perfectly with GStreamer, VLC and MPlayer (I didn't test more 
> ;-)) but the sever don't stop at the end of the stream whereas the 
> client does ... is it normal ?

Good to hear! I think it's currently normal that the server does not
stop but that can be fixed it you file a bug.

Wim

> 
> Rémi
> 
> Rémi BUISSON wrote:
> > Thanks !!
> >
> > It is just what I wanted !
> >
> > ++
> >
> > Wim Taymans wrote:
> >   
> >> On Mon, 2008-08-25 at 16:42 +0200, Rémi BUISSON wrote:
> >>   
> >>     
> >>> Hi,
> >>>
> >>> How can I send both audio and video with RTP ?
> >>>
> >>> I tried this but it doesn't seem to work :
> >>>
> >>> sender:
> >>> gst-launch filesrc 
> >>> location=../../../partage/Videos/superman_originale.avi ! decodebin 
> >>> name=dec \ dec. ! queue ! x264enc ! rtph264pay ! rtpbin localport=5001 
> >>> destinations=192.168.1.2:5000 sync=false \ dec. ! queue ! x264enc ! 
> >>> rtph264pay ! rtpbin localport=5003 destinations=192.168.1.2:5002 sync=false
> >>>
> >>> receiver:
> >>> gst-launch udpsrc port=5000 caps="application/x-rtp,media=(string)video" 
> >>> ! rtph264depay ! decodebin ! xvimagesink (just for video for now)
> >>>
> >>>     
> >>>       
> >> That's old deprecated rtpbin, use the new gstrtpbin element instead.
> >> Here are some examples of audio and video sending and receiving
> >> pipelines: 
> >>
> >> http://webcvs.freedesktop.org/gstreamer/gst-plugins-good/tests/examples/rtp/
> >>
> >>
> >>   
> >>     
> >>> without "\ dec. ! queue ! x264enc ! rtph264pay ! rtpbin localport=5003 
> >>> destinations=192.168.1.2:5002 sync=false" it works.
> >>>
> >>> I thought audio could be encoded with h264 ... ?
> >>>     
> >>>       
> >> It can't, H264 is a video only codec.
> >>
> >> Wim
> >>   
> >>     
> >>> Thanks for your reply.
> >>>
> >>> -------------------------------------------------------------------------
> >>> 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
> >>> gstreamer-devel at lists.sourceforge.net
> >>> 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
> >> gstreamer-devel at lists.sourceforge.net
> >> 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
> > gstreamer-devel at lists.sourceforge.net
> > 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
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel





More information about the gstreamer-devel mailing list