Multi-display on yocto-linux

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

Multi-display on yocto-linux

679 Views
charleshuang
Senior Contributor II

We would like to multi-display on 3 different interface, HDMI、LCD and LVDS

We use this command to play video on specific framebuffer

"gst-launch filesrc location=/test.avi typefind=true ! aiurdemux ! queue ! vpudec ! mfw_v4lsink device=/dev/video16"

We found that if we put lvds on fb1

Using the above-mentioned command, it can play video correctly on specific framebuffer(fb1).

But if we found that if we play video on fb2(hdmi), the video size on fb2 is not correct

Could you tell me how to solve this problem?

thanks

Labels (3)
0 Kudos
1 Reply

387 Views
qiang_li-mpu_se
NXP Employee
NXP Employee

Hi Charles, the fb1 is the overlay, so it can be any resolution, for fb2, it is the main display, so its resolution is fixed, for this case, the mfw_v4lsink can only render in full screen mode. If you want to play video in window mode on main frame buffer, you can use the mfw_isink.

But the mfw_isink performance is poor than mfw_v4lsink, because it need combine the video with main frame buffer.

0 Kudos