Streaming 1080p 30FPS from i.Mx6 to X86 Platform with minimum latency.

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

Streaming 1080p 30FPS from i.Mx6 to X86 Platform with minimum latency.

418 Views
kailas_kharse
Contributor IV

Hello,

We are trying to stream 1080p 30FPS from i.MX6 to X86 platform. We are us using UVC Camera module connected to i.MX6 board and streaming data over Wi-Fi to Laptop (X86 Platform).


USB 2.0 Camera supports 1080p 30FPS, we are able to capture the video and verified that camera is capable of streaming 30FPS with 1080p resolution by recording the video using the below command.

Save Video Command:  (Command run on i.MX6)
$ gst-launch-1.0 -e v4l2src device=/dev/video0 num-buffers=1 ! image/jpeg,width=1920,height=1080,framerate=30/1 !  avimux ! filesink location=newtest.avi
 
We are also able to stream 720p with 1080p 30FPSresolution with approx 200milisec latency with below commands.

i.MX6 ( Server):

$ gst-launch-1.0  v4l2src  device=/dev/video0 !  image/jpeg, width=1280, height=720, framerate=30/1 ! jpegdec ! videoscale ! videoconvert  ! queue ! 

X86 Platform ( Laptop):

$ gst-launch-1.0 -vc udpsrc port=5000 ! application/x-rtp, payload=96 ! rtpjitterbuffer ! rtph264depay ! avdec_h264 ! fpsdisplaysink  sync=false async=false

 When we try to sync 1080p by modifying the above command we are getting dropped frame rate. As per data sheet USB Camera supports MJPEG @30FPS and YUV upto 5FPS for 1080p resolution.

We are trying to achieve 1080p with 30FPS with minimum latency, can you please guide us to achieve the same.

Thanks in Advance.

Tags (1)
0 Kudos
1 Reply

402 Views
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hi @kailas_kharse 

I hope you are doing well.
 
It seems that gstreamer pipeline is not properly utilizing VPU.
 
Please try using vpuenc_xxx plugin in gstreamer pipeline.
 
One can refer to commands in 7.3.10 Web camera in i.MX Linux User's Guide.
 
Please refer to Chapter 7 Multimedia in i.MX Linux Release Notes for architecture-specific plugins.
 
Thanks & Regards,
Sanket Parekh
0 Kudos