STREAMING OVER UDP FROM RASPBERRY PI CAMERA USING GSTREAMER
Arnaud Loonstra
arnaud at sphaero.org
Fri May 3 09:12:34 UTC 2019
doesn't look too bad. Try receiving with gstreamer first
gst-launch-1.0 udpsrc port=5000 ! \
application/x-rtp,\
encoding-name=H264,payload=96 ! \
rtph264depay ! h264parse ! avdec_h264 ! \
autovideosink
There's also a special element for the RPI camera (gst-rpicamsrc) which
already does the h264 encoding.
You can also try first without hardware encoding:
gst-launch-1.0 v4l2src ! \
video/x-raw,width=640,height=480 ! \
x264enc ! h264parse ! rtph264pay ! \
udpsink host=127.0.0.1 port=5000
*Disclaimer: I haven't tried these commands with a recent Gstreamer
Rg,
Arnaud
On 5/3/19 11:05 AM, Aditya Oza wrote:
> Hello Experts,
>
> My objective is I have try to stream a video from raspberry pi camera
> over UDP.
>
> I used following pipeline:
>
> gst-launch-1.0 --gst-debug-level=3 -v v4l2src device=/dev/video0 !
> capsfilter caps="video/x-raw,width=640,height=480,framerate=30/1" !
> queue! omxh264enc! queue ! rtph264pay ! udpsink host=192.168.5.1 port=8080
>
> RESULT: After I Run above pipeline,
> I will not get any kind of error and I check in VLC Player(Client side)
> but streaming video is not display.
> Please suggest me This is Right pipelining or not ? OR
> Any missing element in this pipeline ?
> Thanks,
> Aditya Oza
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
More information about the gstreamer-devel
mailing list