Hi,
I want to do live video streaming and encoding. I am using Leopardboard DM365. I can capture and encode live video into H264 and then stream using gstreamer plugins but how do I capture the rtp packets on windows? I can capture on vlc using sdp file, but I do not want to just view using VLC. I need to capture the buffer and then pass it ahead to my application. How can I do this? What should I use? Can someone provide any examples?
I am using the following gstreamer plugin on server side:
gst-launch -v -e v4l2src always-copy=FALSE input-src=composite chain-ipipe=true ! video/x-raw-yuv,format=\(fourcc\)NV12, width=640, height=480 ! queue ! dmaiaccel ! dmaienc_h264 encodingpreset=2 ratecontrol=2 intraframeinterval=23 idrinterval=46 targetbitrate=3000000 ! rtph264pay ! udpsink port=3000 host=192.168.1.102 sync=false enable-last-buffer=false
Thank you,
Maz
hey did you solve this issue .I tried to capture via vlc .My sdp file is
v=0
o=- 2110055936 1 IN IP4 172.20.142.132
s=Gstreamer
i=Streaming via network test
c=IN IP4 172.20.142.107
t=0 0
a=type:broadcast
m=video 3000 RTP/AVP 96
a=rtpmap:96 H264/90000
a=cliprect:0,0,480,640
a=framesize:96 640-480
a=tool:Gstreamer
a=fmtp:96 profile-level-id=0;
sprop-parameter-sets=Z2QAKK2EBUViuKxUdCAqKxXFYqOhAVFYrisVHQgKisVxWKjoQFRWK4rFR0ICorFcVio6ECSFITk8nyfk/k/J8nm5s00IEkKQnJ5Pk/J/J+T5PNzZprQFAeyA\,aO48sA\=\=
but i am still getting packetizer_h264 warning:waiting for sps/pps on vlc
Hi!
You can use gstreamer SDK for host application. For client side pipeline change this:
gst-launch-0.10 udpsrc port=3000 ! 'application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, sprop-parameter-sets=(string)'\"CHANGE_TO_YOUR_CAPS"', payload=(int)96' ! rtph264depay ! ffdec_h264 do-padding=false ! ffmpegcolorspace ! ximagesink sync=false
You can even discard sprop-parameter-sets if payloader have option `config-interval`.