minimize latency in video streaming

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

minimize latency in video streaming

1,540 次查看
zohargolan
Contributor III

Hi All,

I am in the evaluation phase of the i.mx8m plus for a camera application. I am using boundary device nitrogen8mp for the evaluation purpose.

I am running the following GStream command: gst-launch-1.0 v4l2sink ! waylandsrc

I can stream video from the camera to display with several issues:

1. The video is not occupying the whole display and I still have the desktop header shown on the top

2. I have a latency of about 1/4 sec from camera to display. This is a critical parameter for me and will not work for my requirements. 

Is there a way to reduce the latency to a sub frame latency?

I appreciate any comment,

Zohar

0 项奖励
5 回复数

1,487 次查看
zohargolan
Contributor III

This doesn't work in the configuration I have and I am getting

 

root@nitrogen8mp:~# gst-launch-1.0 v4l2src latency=50 ! waylandsink
WARNING: erroneous pipeline: no property "latency" in element "v4l2src0"

0 项奖励

1,327 次查看
EESTE
Contributor I

I'm running into the same issue.

Did you get a solution to this by any chance?

0 项奖励

1,531 次查看
b36401
NXP Employee
NXP Employee

As far as I know default latency in gstreamer is 200ms as a compromise between realtime and quality.
You can set something like latency=100 to low the latency.

0 项奖励

1,528 次查看
zohargolan
Contributor III

Hi b36401, 

Thank you for your answer. 

I would you go about setting the latency to latency =100 like you've mentioned?  Where would you set it up?

 

Zohar

0 项奖励

1,512 次查看
b36401
NXP Employee
NXP Employee

I mean you can add "latency=100" into the commandline parameters you pass to gstreamer.

0 项奖励