iMX6 Video playback not working

cancel
Showing results for 
Search instead for 
Did you mean: 

iMX6 Video playback not working

1,182 Views
hareeshdas
Contributor II

Hi all,

I am trying to play a video file on custom imx6q board using gplay, but nothing displays on HDMI screen. I have copied the gplay console messages below.

I am new to imx and gstreamer. Please let me know if anyone have clue on this.

$./gplay fast_n_furious.avi

playbin2 is employed!

fsl_player_init(): Successfully initialize!

fsl_player_set_media_location(): filename=fast_n_furious.avi

[Stopped  ][Vol=01][00:00:00/00:00:00][fps:0][INFO]     Product Info: i.MX6Q/D/S

vpudec versions :smileyhappy:

        plugin: 3.0.11

        wrapper: 1.0.46(VPUWRAPPER_ARM_LINUX Build on Dec 31 2014 16:49:13)

        vpulib: 5.4.23

        firmware: 3.1.1.46056

get GST_MESSAGE_ELEMENT missing-plugin, type=(string)decoder, detail=(GstCaps)audio/mpeg, mpegversion=(int)1, layer=(int)3, name=(string)"MPEG-1\ Layer\ 3\ \(MP3\)\ dec;

FOUND GST_MESSAGE_TAG!

    video codec: XVID MPEG-4

FOUND GST_MESSAGE_TAG!

    audio codec: MPEG-1 layer 3

FOUND GST_MESSAGE_TAG!

        encoder: SUPER(C) - by eRightSoft

         artist: created.with.SUPER(C).v2009.bld.35

container format: AVI

set color key failed.

MFW_GST_V4LSINK_PLUGIN 3.0.11 build on Dec 31 2014 16:59:47.

[INFO]  bitstreamMode 1, chromaInterleave 0, mapType 0, tiled2LinearEnable 0

[WARN]  VPU iram is less than needed, some parts don't use iram

>>V4L_SINK: Actually buffer status:

        hardware buffer : 10

        software buffer : 0

FOUND GST_MESSAGE_TAG!

    image width: 720

   image height: 400

get GST_MESSAGE_ELEMENT prepare-xwindow-id;

set global alpha failed.

fsl_player_play()

FSL_PLAYER_01.00_LINUX build on Dec 31 2014 17:00:27

        [h]display the operation Help

        [p]Play

        [s]Stop

        [e]Seek

        [a]Pause when playing, play when paused

        [v]Volume

        [m]Switch to mute or not

        [>]Play next file

        [<]Play previous file

        [r]Switch to repeated mode or not

        [f]Set full screen or not

        [z]resize the width and height

        [t]Rotate

        [c]Setting play rate

        [i]Display the metadata

        [x]eXit

get GST_MESSAGE_ELEMENT playbin2-stream-changed, uri=(string)file:///home/G_Streamer/fast_n_furious.avi;

[Playing  ][Vol=01][00:00:59/00:01:00][fps:0]EOS Found!

FSL_PLAYER_UI_MSG_EOS

Running time 0:01:00.027005340 render fps 0.000

Total rendered:0

fsl_player_stop()

fsl_player_stop()

player_exit(): No more multimedia files, exit.

[--->FINALIZE v4l_sink

[Stopped  ][Vol=01][00:00:00/00:00:00][fps:0]g_main_loop_thread_fun() quit!

fsl_player_deinit

Thanks,

Hari

Labels (5)
0 Kudos
5 Replies

160 Views
peixiuhui
Contributor I

I also have the same problem, can you solve it?

0 Kudos

160 Views
joanxie
NXP TechSupport
NXP TechSupport

what bsp do yo use ? and what video file format do you  use? if the file contain some formats which the standard pacakge doesn't support, gstreamer couldn't play it.

0 Kudos

160 Views
hareeshdas
Contributor II

Hi,

Sorry for the late response. I use imx 3.18 kernel and ported VPU/IPU drivers and libraries from 3.14 kernel released by freescale. Video file format I used is .avi. I think gstreamer support .avi file format,  tested with SABRE platform.  Please refer the complete issue description on  Video playback on 3.18 imx kernel ?.

Thanks,

Hari

0 Kudos

160 Views
joanxie
NXP TechSupport
NXP TechSupport

the latest version for yocto is Linux 3.14.28, so do  you have any issue on the 3.14? if yes, pls send the avi file to me, let me reproduce it on my mx6q board.

0 Kudos

160 Views
hareeshdas
Contributor II

   With latest yocto release (3.14.28) I can able to play the same video file on SABRE platform.  As I said, I am getting difficulties when I try to test with 3.18 kernel after I ported video playback related sources from 3.14 kernel.

   We are using custom board and it boots successfully with an hdmi display connected. After boot in the /dev I can see "mxc_vpu, mxc_ipu, mxc_hdmi, fb0 and fb1" devices are registered. And I can see login prompt on hdmi display. When I play a video file using "./gplay fast_n_furious.avi" from minicom, it does not show video on hdmi.

Thanks & Regards,

Hari

0 Kudos