GStreamer i.MX6 Multi-Display

Multiple-Display means video playback on multiple screens. In case playback needs to be in a unique screen, the mfw_isink element must be used and some pipelines examples can be found on this link: GStreamer i.MX6 Multi-Overlay.

 

 

Number of DisplaysDisplay typeKernel parameters
Pipelines

# Set these shells variables before running the pipelines

alias gl=gst-launch

SINK_1="\"mfw_v4lsink device=/dev/video17\""

SINK_2="\"mfw_v4lsink device=/dev/video18\""

SINK_3="\"mfw_v4lsink device=/dev/video20\""

media1=file:///root/media1

media2=file:///root/media2

media3=file:///root/media3

2hdmi + lvds

video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24

video=mxcfb1:dev=ldb,LDB-XGA,if=RGB666

gl playbin2 uri=$media1 video-sink=$SINK_1 playbin2 uri=$media2 video-sink=$SINK_2
2lvds + lvds

video=mxcfb0:dev=ldb,LDB-XGA,if=RGB666

video=mxcfb1:dev=ldb,LDB-XGA,if=RGB666

gl playbin2 uri=$media1 video-sink=$SINK_1 playbin2 uri=$media2 video-sink=$SINK_2
2lcd + lvds

video=mxcfb0:dev=lcd,800x480M@55,if=RGB565

video=mxcfb1:dev=ldb,LDB-XGA,if=RGB666

gl playbin2 uri=$media1 video-sink=$SINK_1 playbin2 uri=$media2 video-sink=$SINK_2
3


hdmi + lvds + lvds

video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24

video=mxcfb1:dev=ldb,LDB-XGA,if=RGB6

video=mxcfb2:dev=ldb,LDB-XGA,if=RGB666

gl playbin2 uri=$media1 video-sink=$SINK_1 playbin2 uri=$media2 video-sink=$SINK_2 playbin2 uri=$media3 video-sink=$SINK_3