[Yocto]unable to play the video full screen

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

[Yocto]unable to play the video full screen

907 Views
charleshuang
Senior Contributor II

Base on Yocto 1.8

My dts file as below

        mxcfb1: fb@0 {

                compatible = "fsl,mxc_sdc_fb";

                disp_dev = "ldb";

                interface_pix_fmt = "RGB666";

                default_bpp = <16>;

                int_clk = <0>;

                late_init = <0>;

                status = "disabled";

        };

        mxcfb2: fb@1 {

                compatible = "fsl,mxc_sdc_fb";

                disp_dev = "lcd";

                interface_pix_fmt = "RGB24";

                mode_str ="1920x1080M@60";

                default_bpp = <16>;

                int_clk = <0>;

                late_init = <0>;

                status = "disabled";

        };

        mxcfb3: fb@2 {

                compatible = "fsl,mxc_sdc_fb";

                disp_dev = "ldb";

                interface_pix_fmt = "RGB666";

                default_bpp = <16>;

                int_clk = <0>;

                late_init = <0>;

                status = "disabled";

        };

        mxcfb4: fb@3 {

                compatible = "fsl,mxc_sdc_fb";

                disp_dev = "hdmi";

                interface_pix_fmt = "RGB24";

                mode_str ="1920x1080M@60";

                default_bpp = <16>;

                int_clk = <0>;

                late_init = <0>;

                status = "disabled";

        };

I want to know why I'm using this command " gst-launch-1.0 playbin uri=file:////test.mp4 video-sink="imxv4l2sink device=/dev/video21" " to play video on hdmi(fb4), the video is not full screen ?
But it can be display correctly on lcd (fb2).
Also, can imx6  support different framebuffer to play video simultaneously?
Labels (3)
0 Kudos
1 Reply

569 Views
joanxie
NXP TechSupport
NXP TechSupport

one can try to add width and height you need in the gstreamer commands

and mx6 can support different frambuffer in the same time for more detailed information, pls refer to the chapter 7.3.1.6 Video Playback to Multiple Displays of enclosed file@

0 Kudos