[gst-devel] Audio + video with RTP

Rémi BUISSON remi.buisson at viotech.net
Mon Aug 25 16:42:33 CEST 2008


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)


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

Thanks for your reply.




More information about the gstreamer-devel mailing list