Streaming over UDP from Rpi camera

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Streaming over UDP from Rpi camera

Aditya Oza

hello,

I try to stream over udp from Raspberry Pi camera using Gstreamer.

I use 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 ! h264parse ! mpegtsmux ! rtpmp2tpay   ! multiudpsink clients=192.168.5.255:1234 ttl=1 auto-multicast=true


After run this pipeline, i check ouput in command prompt of linux using this command.

ffplay udp://192.168.5.255:1234

log generated but stream dont appear.

Anyone suggest me where i am wrong?

Any imorovement in my pipeline?








_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Streaming over UDP from Rpi camera

Nicolas Dufresne-5
Le dimanche 02 juin 2019 à 15:04 +0530, Aditya Oza a écrit :

hello,

I try to stream over udp from Raspberry Pi camera using Gstreamer.

I use 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 ! h264parse ! mpegtsmux ! rtpmp2tpay   ! multiudpsink clients=192.168.5.255:1234 ttl=1 auto-multicast=true


I don't know the omx264enc interface, but did you forgot to set a key frame interval ? If the default is no keyframe, then it's quite likely the receiver will never be able to start. Let us know if you find a configuration and if it helps.


After run this pipeline, i check ouput in command prompt of linux using this command.

ffplay udp://192.168.5.255:1234

log generated but stream dont appear.

Anyone suggest me where i am wrong?

Any imorovement in my pipeline?







_______________________________________________
gstreamer-devel mailing list
[hidden email]

https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel