imx6+totem+gstreamer doesn't work

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

imx6+totem+gstreamer doesn't work

Jump to solution
1,779 Views
milanobit
Contributor II

Hi all,

in our environment: linux kernel 3.0.35 from L3.0.35_12.09.03_ER, and Linaro Oneiric, Totem does not play well video file. We only see a blank screen.

Same result with the former relase :3.0.15

The problem seem to be correlated to video sink output, and is quite similar to this one (but we are working on i.MX6 platform),

https://community.freescale.com/thread/243915

Is any one using Totem player on Ubuntu MX6 file system ? I'm interested to know if Totem plays video file under this platform.

Thanks,

Giuseppe

Labels (3)
0 Kudos
1 Solution
995 Views
RandyKrakora
NXP Employee
NXP Employee

totem has a "--display" option via the command line or you could try "gstreamer-properties" to change the default output for gstreamer. Probably has a config file somewhere that you could edit also.

View solution in original post

0 Kudos
5 Replies
995 Views
小辉尤
Contributor III

hi:

     I have the same quesition.

IMX535:

totem    //why? how to use it?

root@freescale /video$ totem zhongguoweidao.mkv

Cannot open display:

Run 'totem --help' to see a full list of available command line options.

root@freescale /video$

0 Kudos
995 Views
RandyKrakora
NXP Employee
NXP Employee

What imx6 system are you using? Sabre Lite? Sabre AI? Sabre SD? Or your own design?

Can you send uboot environment variables?

What kind of display ( what interface - HDMI? ) do you have connected?

What does this do:

gst-launch videotestsrc ! autovideosink

0 Kudos
995 Views
milanobit
Contributor II

It is a custom design based on Sabre SD.

Relevant u-boot environment are:

console=ttymxc1,115200 video=mxcfb0:dev=ldb,LDB-WSXGA,if=RGB666 fixrtc mem=2800MB root=/dev/mmcblk1p2 rootwait

Normally we use LVDS display 800x480.

We also tested with HDMI output (video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24), but always no video outbput.

Our video play well with gstreamer using this command:

gst-launch playbin2 uri=file:///home/linaro/big_buck_bunny_720p_surround.avi video-sink="mfw_isink display=WVGA"

Should totem do the same ?

I noticed totem doesn't' use video-sink="mfw_isink display=WVGA" option, it use the default display. There is a configuration file to force that output ?

root@linaro-ubuntu-desktop:~# gst-launch videotestsrc ! autovideosink

Setting pipeline to PAUSED ...

this is powerful mx6q

MFW_GST_V4LSINK_PLUGIN 2.0.6 build on Feb 24 2012 13:29:02.

Pipeline is PREROLLING ...

>>V4L_SINK: Actually buffer status:

        hardware buffer : 12

        software buffer : 0

Pipeline is PREROLLED ...

Setting pipeline to PLAYING ...

full screen size:800x480

[V4L Update Display]: left=0, top=0, width=800, height=480

New clock: GstSystemClock

Thanks

Giuseppe

0 Kudos
996 Views
RandyKrakora
NXP Employee
NXP Employee

totem has a "--display" option via the command line or you could try "gstreamer-properties" to change the default output for gstreamer. Probably has a config file somewhere that you could edit also.

0 Kudos
995 Views
小辉尤
Contributor III

hi:

     I have the same quesition.

IMX535:

totem    //why? how to use it?

root@freescale /video$ totem zhongguoweidao.mkv

Cannot open display:

Run 'totem --help' to see a full list of available command line options.

root@freescale /video$

0 Kudos