[gst-devel] issue in playing video

Fabio Estevam fabioestevam at yahoo.com
Tue Nov 4 15:42:42 CET 2008


--- On Tue, 11/4/08, murugadoss <v.murugadoss at gdatech.co.in> wrote:

> From: murugadoss <v.murugadoss at gdatech.co.in>
> Subject: Re: [gst-devel] issue in playing video
> To: fabioestevam at yahoo.com, "Discussion of the development of GStreamer" <gstreamer-devel at lists.sourceforge.net>
> Date: Tuesday, November 4, 2008, 9:45 AM
> Hi Fabio EStevam,
> I have installed the packages that are given in the link
> which u gave. Thank u.
> I need to install mpeg2dec decoder for playing the mpeg
> files, Is there any source available for it. Similarly, i
> need to install few more packages.
> can u say where can get these packages for i.mx27 board or
> Is there any other procedure to cross compile the
> packages.???
> 
> I have these following decoder in my board,
> mfw_vpudecoder:  mfw_vpudecoder: Freescale: Hardware (VPU)
> Decoder
> annodex:  cmmldec: CMML stream decoder
> mulaw:  mulawdec: Mu Law audio decoder
> tta:  ttadec: TTA audio decoder
> mad:  mad: mad mp3 decoder
> alaw:  alawdec: A Law audio decoder
> nsfdec:  nsfdec: Nsf decoder
> flxdec:  flxdec: FLX audio decoder
> dvdlpcmdec:  dvdlpcmdec: DVD LPCM Audio decoder
> 
> I think any of the decoder will support video. I need to
> play .mpeg, .avi and few other files
> 
> Can u please help me. Meeting dealine help pls.
> Thank u for the support
> 
> Regards
> V.Murugadoss

Which BSP version are you using? I suggest you to use the latest MX27 BSP (20071219) and the latest Gstreamer package for MX27 ( http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=IMX27_CODECS&nodeId=02XPgQ82172973ZrDR&fpsp=1&tab=Design_Tools_Tab )

Then click on MX27_FULL_VPU_SW_LINUX_REL3_BSP. It was posted last week.

You can also download the MX27_TEST_STREAMS file from this website.

mfw_vpudecoder is capable of decoding H264 and MPEG4. I don't see any demuxer in your list (such as mfw_avidemuxer). Remember that I mentioned that gst-inspect | grep mfw should return 6 elements. 

Use the following command line for playing an AVI file (with H264 video and MP3 audio):

gst-launch filesrc location=test.avi ! mfw_avidemuxer name=demux demux. !
mfw_vpudecoder codec-type=std_avc ! mfw_v4lsink demux. ! queue maxsize-
buffers=0 ! mad ! alsasink


MP4(MPEG4+MP3):

gst-launch filesrc location=test.mp4 ! mfw_mp4demuxer name=demux
demux. ! mfw_vpudecoder codec-type=std_mpeg4 ! mfw_v4lsink demux. !
queue max-size-buffers=0 ! mad ! alsasink

This is part of the Release Notes and I have mentioned that for you a couple of times. Have you read it?

You should enter a service request in Freescale's website: http://www.freescale.com/support 

Regards,

Fabio Estevam




      




More information about the gstreamer-devel mailing list