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 darkknightrises_trlr_01_480p_dl.mov
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.
Total Track: 2
video/x-h264, width=(int)848, height=(int)354, framerate=(fraction)799/33, codec
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.
language code: und
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.
poll_for_state_change(): Element playbin0 time out in state transferring from READY to PLAYING
try to play failed