Need support for streaming camera video feed to remote server over ethernet for imx93 FRDM dev board

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Need support for streaming camera video feed to remote server over ethernet for imx93 FRDM dev board

1,788 Views
Aditya_Vashista
Contributor II

Hello,

I am trying to build a python application using the GStreamer to stream the video stream from v4l2src via /dev/device0 to the Ethernet for FRDM imx93 Development board using the imx-full-image (available for download on the NXP  product page).

I also want to perform encoding of the video frame before forwarding it as input for the UDP sink.I know there is no VPU on imx932, so is there a way to perform this operation via any Gstreamer plugin on software side?

 

Can you please provide a suitable sample Gstreamer string for execution to achieve this? Also, is there any new plugin/recipe to be added on top of the full image, to achieve this? If yes, can you also suggest the necessary modifications in the Yocto setup as well.

0 Kudos
Reply
2 Replies

1,755 Views
Manuel_Salas
NXP TechSupport
NXP TechSupport

Hello @Aditya_Vashista 

I hope you are doing very well.

Please refer to the UM11933: RPi-CAM-MIPI Board User Manual in Software chapter.

There is described how you can capture the camera data, preview them on screen or save them to a file using the "gstreamer" commands, like:

$ gst-launch-1.0 -v v4l2src device=/dev/video0 ! "video/x-raw,format=YUY2,width=1280,height=800" ! queue ! waylandsink

 

I test it by my side and it is working well.

 

Best regards,

Salas.

0 Kudos
Reply

1,738 Views
Aditya_Vashista
Contributor II
Hi @Manuel_Salas,
Thanks for your reply. I already know the Gstreamer string you have provided. Let me clarify my query a bit.
I am able to access the video frames from attached camera and get bounding box information from NPU (both using a single Gstreamer pipeline). What i am actually looking for is the Gstreamer pipeline string to push this processed data (raw frame+ overlay of bounding boxes) over the ethernet using RTSP. Can you please provide a Gstreamer pipeline example for sending any video from any source(custom source or directly from camera) over the etherent, which is also doing compression of video frames for easy and fast communication between the development board and a remote host PC
0 Kudos
Reply