Reference
http://processors.wiki.ti.com/index.php/Example_GStreamer_Pipelines
http://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/gst/rtp/README
1.Camera preview
gst-launch-0.10 v4l2src ! video/x-raw-yuv,width=320,height=240 ! ffmpegcolorspace ! ximagesink
2.Video Source (192.168.168.90)
gst-launch -v v4l2src ! video/x-raw-yuv,width=640,height=480,framerate=30/1 ! x264enc ! rtph264pay pt=96 ! multiudpsink clients="192.168.168.75:1234"
另外一種方式
http://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/tests/examples/rtp/server-v4l2-H264-alsasrc-PCMA.sh
3.Video Sink (192.168.168.75)
gst-launch udpsrc port=1234 caps="application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H264" ! gstrtpjitterbuffer latency=100 ! rtph264depay ! ffdec_h264 ! xvimagesink
另外一種方式
http://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/tests/examples/rtp/client-H264.sh
http://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/tests/examples/rtp/client-H264-PCMA.sh
4.轉載一篇很詳細的文章
http://www.twm-kd.com/computers/software/webcam-and-linux-gstreamer-tutorial/
沒有留言:
張貼留言