Hi!
I have a little problem.
I wanted to send and receive raw video data on the same PC via rtp. But I couldn't do that properly. It froze after getting the first frame.
Then I tried to do this via tcp and searched for the problem I found this solution:
sender:
1, videotestsrc
gst-launch videotestsrc pattern=snow do-timestamp=true is-live=true ! gdppay ! queue ! tcpserversink port=1234 host=localhost
2, or webcam
gst-launch v4lsrc device=/dev/video0 ! gdppay ! queue ! tcpserversink port=1234 host=localhost
receiver:
gst-launch -v tcpclientsrc port=1234 host=localhost ! gdpdepay ! queue ! ffmpegcolorspace ! xvimagesink
This works well. But when I tried to do the rtp the way like this...
sender:
gst-launch -v gstrtpbin name=rtpbin videotestsrc pattern=snow ! ffenc_h263p ! rtph263ppay ! queue ! rtpbin.send_rtp_sink_0 rtpbin.send_rtp_src_0 ! udpsink host=localhost port=5000 rtpbin.send_rtcp_src_0 ! udpsink port=5001 sync=false async=false udpsrc port=5005 ! rtpbin.recv_rtcp_sink_0
receiver:
gst-launch -v gstrtpbin name=rtpbin udpsrc caps="application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H263-1998" port=5000 ! rtpbin.recv_rtp_sink_0 rtpbin. ! rtph263pdepay ! ffdec_h263 ! queue ! xvimagesink udpsrc port=5001 ! rtpbin.recv_rtcp_sink_0 rtpbin.send_rtcp_src_0 ! udpsink port=5005 sync=false async=false
... it still didn't work.
Any help? Thx in advance.
Zoli
________________________________________________________
Elvéreztek a kabriók a törésteszten!
Megdöbbentő törésteszt eredmények az automenedzser.hu-n fotóval és videóval:
www.automenedzser.hu/top/kabrio_toresteszt
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel