AnsweredAssumed Answered

Gplay problem MX28

Question asked by David Lawson on Oct 15, 2012
Latest reply on Oct 23, 2012 by Mark Talbot



I need to get a command line media player to work but I am having difficulties. I hope someone can help me.


I have an i.MX28 evaluation board with the LCD Seiko 4.3".


I have downloaded and installed LTIB on my Ubuntu 10.10 desktop PC. I have followed through the documentation i.MX28 Linux BSP User's Guide to get a build of Linux. For the packages profile selection in the LTIB config I selected "use packages in preconfig (Min profile)" as the document says. I installed this to SD card and it boots, I get the Penguin logo on the LCD.


I then follow the i.MX Linux Multimedia Framework User's Guide document to set up the media player and codecs. In LTIB I enable the option for fsl-mm-codec-libs, gstreamer-fsl-plugins and gstreamer-plugins-good. Once booted I try to use the gplay command to play some different types of video, mov / mp4 / avi but the player always fails. I can however use gplay to play a MP3 file which works.


Should this just work? Have I missed something important?


Below is the error reported for a .mov test file.





root@test ~$ gplay


playbin is employed!

fsl_player_init(): Successfully initialize!


[Stopped  ][Vol=01][00:00:00/00:00:00]Aiur Core Info:

  mime: video/quicktime; audio/x-m4a; application/x-3gp


  ver : MPEG4PARSER_06.03.12  build on Oct 21 2010 06:15:53

H264D_ARM9_02.06.01  build on Dec 21 2010 09:26:37.

MFW_GST_H264_DECODER_PLUGIN 1.9.6 build on Oct 11 2012 10:09:22.

BLN_MAD-MMCODECS_AACD_ARM_03.05.00  build on Nov 25 2009 15:00:47.

MFW_GST_AAC_PLUGIN 1.9.6 build on Oct 11 2012 10:09:17.

Movie Info:

        Seekable: Yes

        Live:     No

        Duration: 0:02:10.921664000

        ReadMode: File



Total Track: 2

Track 00[Video]:

        Duration: 0:02:10.880008000

        Language: und


              video/x-h264, width=(int)848, height=(int)354, framerate=(fraction)799/33, codec


Track 01[Audio]:

        Duration: 0:02:10.921664000

        Language: und


              audio/mpeg, mpegversion=(int)4, channels=(int)2, rate=(int)48000, bitrate=(int)1

              60000, framed=(boolean)true, codec_data=(buffer)1190

[Stopped  ][Vol=01][00:00:00/00:00:00]MFW_GST_V4LSINK_PLUGIN 1.9.6 build on Oct 11 2012 10:09:13.


          codec: AAC

  language code: und

        bitrate: 160000


          codec: H.264/AVC

  language code: und

Debug: non recoverable error while decoding the H.264 Data

Error: fatal error

FSL_PLAYER_UI_MSG_INTERNAL_ERROR: internal error message received.

Debug: aiurdemux.c(3544): aiurdemux_pull_task (): /GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstAiurDemux:aiurdemux0:

streaming stopped, reason error, state 4

Error: GStreamer encountered a general stream error.

[Stopped  ][Vol=01][00:00:00/00:02:10]

poll_for_state_change(): Element playbin0 time out in state transferring from READY to PLAYING

try to play failed