issue in playing video

classic Classic list List threaded Threaded
25 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Re: issue in playing video

fabioestevam
--- On Tue, 11/4/08, murugadoss <[hidden email]> wrote:

> From: murugadoss <[hidden email]>
> Subject: Re: [gst-devel] issue in playing video
> To: [hidden email], "Discussion of the development of GStreamer" <[hidden email]>
> Date: Tuesday, November 4, 2008, 12:19 PM
> Hi fabio,
> I am using* 20070522* package,  as said in the document,
> compiled the
> files. When i check with *gst-inspect | grep mfw*, i get
> only 4 packages
> to be installed, i get *mfw_vpudec, mfw_enc, mfw_v4lsrc,
> mfw_v4lsink*,
> but i am not getting *mfw_avidemuxer and mfw_mp4demuxer
> *package. I have
> exported *LD_library_path and gst_plugin_path.* i can find
> the packages
> in ../*usr/lib/gstreamer-0.10/*  folder.
>
> Can u say me, how to add these plugins?
> Thanks for the reply

Maybe it is easier if you just use the pre-build plugins that are part of the package.

Follow section 7.1 (Using the pre-built Plugins) of the release notes document:

- Copy all the content of fsl_codecs/libs to ../rootfs/home in the i.MX27 file system
- Boot Linux on the i.MX27
- Set the following variables on the i.MX27ADS Linux:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/codec:/home/parser
export GST_PLUGIN_PATH=$GST_PLUGIN_PATH:/home/plugin

After doing this, gst-inspect | grep mfw should list 6 elements.




     

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: issue in playing video

V.Murugadoss
In reply to this post by fabioestevam
Hi fabio,
I have added other 2 plugins too, now gst-inspect | grep mfw ,
gst-inspect | grep mfw
mfw_avidemuxer:  mfw_avidemuxer: FSL Avi Demuxer
mfw_mp4demuxer:  mfw_mp4demuxer: freescale-mp4 demuxer plugin
mfw_vpudecoder:  mfw_vpudecoder: Freescale: Hardware (VPU) Decoder
mfw_vpuencoder:  mfw_vpuencoder: Freescale: Hardware (VPU) Encoder
mfw_v4lsrc:  mfw_v4lsrc: Freescale Video Source plug-in
mfw_v4lsink:  mfw_v4lsink: v4l_sink

when i try to run a mpg video using command,
gst-launch playbin uri=file:///mnt/nfs/Toyata_Human_Touch.mpg
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
** Message: don't know how to handle video/mpeg, mpegversion=(int)1, systemstream=(boolean)false
I get this error message and i am able to hear the audio.

And using the u specified below, i get
WARNING: erroneous pipeline: no element "mfw_vpudecoder"  this message.

can u say where is the issue and to solve it

Thank for the reply and support

Regards
V.Murugadoss



Fabio Estevam wrote:
--- On Tue, 11/4/08, murugadoss [hidden email] wrote:

  
From: murugadoss [hidden email]
Subject: Re: [gst-devel] issue in playing video
To: [hidden email], "Discussion of the development of GStreamer" [hidden email]
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




      


  

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: issue in playing video

V.Murugadoss
In reply to this post by fabioestevam
Hi fabioestevam,
Thanks for the reply. Now i am getting all the 6 plugins. When i play a
mpeg or avi file using the commands u mentioned in previous mail, it
displays a message
mfw_vpudecoder is not found (exact message i send u in previous mail)

Can u please say, how to solve it
Thanks
Regards
V.murugadoss

> --- On Tue, 11/4/08, murugadoss <[hidden email]> wrote:
>
>> From: murugadoss <[hidden email]>
>> Subject: Re: [gst-devel] issue in playing video
>> To: [hidden email], "Discussion of the development of GStreamer"
>> <[hidden email]>
>> Date: Tuesday, November 4, 2008, 12:19 PM
>> Hi fabio,
>> I am using* 20070522* package,  as said in the document,
>> compiled the
>> files. When i check with *gst-inspect | grep mfw*, i get
>> only 4 packages
>> to be installed, i get *mfw_vpudec, mfw_enc, mfw_v4lsrc,
>> mfw_v4lsink*,
>> but i am not getting *mfw_avidemuxer and mfw_mp4demuxer
>> *package. I have
>> exported *LD_library_path and gst_plugin_path.* i can find
>> the packages
>> in ../*usr/lib/gstreamer-0.10/*  folder.
>>
>> Can u say me, how to add these plugins?
>> Thanks for the reply
>
> Maybe it is easier if you just use the pre-build plugins that are part of
> the package.
>
> Follow section 7.1 (Using the pre-built Plugins) of the release notes
> document:
>
> - Copy all the content of fsl_codecs/libs to ../rootfs/home in the i.MX27
> file system
> - Boot Linux on the i.MX27
> - Set the following variables on the i.MX27ADS Linux:
> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/codec:/home/parser
> export GST_PLUGIN_PATH=$GST_PLUGIN_PATH:/home/plugin
>
> After doing this, gst-inspect | grep mfw should list 6 elements.
>
>
>
>
>
>


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: issue in playing video

fabioestevam
--- On Tue, 11/4/08, V.Murugadoss <[hidden email]> wrote:

> From: V.Murugadoss <[hidden email]>
> Subject: Re: [gst-devel] issue in playing video
> To: [hidden email]
> Cc: "Discussion of the development of GStreamer" <[hidden email]>, "murugadoss" <[hidden email]>
> Date: Tuesday, November 4, 2008, 3:16 PM
> Hi fabioestevam,
> Thanks for the reply. Now i am getting all the 6 plugins.
> When i play a
> mpeg or avi file using the commands u mentioned in previous
> mail, it
> displays a message
> mfw_vpudecoder is not found (exact message i send u in
> previous mail)
>
> Can u please say, how to solve it
> Thanks
> Regards
> V.murugadoss

Can you post your complete Gstreamer pipeline and the error message?

Also, what video format are you trying to decode?



     

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: issue in playing video

V.Murugadoss
Hi fabio,
when i use ,
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

and 

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

i get the warning message,

WARNING: erroneous pipeline: no element "mfw_vpudecoder"  this message
and the file is not playing

when i use the below command,
gst-launch playbin uri=file:///mnt/nfs/Toyata_Human_Touch.mpg
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /playbin0/source: Internal data flow error.
Additional debug info:
gstbasesrc.c(1642): gst_base_src_loop (): /playbin0/source:
streaming task paused, reason not-negotiated (-4)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
FREEING pipeline ...

can anyone help to solve this issue.

Regards
V.Murugadoss



Fabio Estevam wrote:
--- On Tue, 11/4/08, V.Murugadoss [hidden email] wrote:

  
From: V.Murugadoss [hidden email]
Subject: Re: [gst-devel] issue in playing video
To: [hidden email]
Cc: "Discussion of the development of GStreamer" [hidden email], "murugadoss" [hidden email]
Date: Tuesday, November 4, 2008, 3:16 PM
Hi fabioestevam,
Thanks for the reply. Now i am getting all the 6 plugins.
When i play a
mpeg or avi file using the commands u mentioned in previous
mail, it
displays a message
mfw_vpudecoder is not found (exact message i send u in
previous mail)

Can u please say, how to solve it
Thanks
Regards
V.murugadoss
    

Can you post your complete Gstreamer pipeline and the error message?

Also, what video format are you trying to decode?



      


  

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
12