Hello Murugadoss,<br><br>I guess you are using wrong pipeline. <br><br><span style="color: rgb(255, 0, 0);">mx27# gst-launch filesrc location=/mnt/nfs/Toyata_Human_Touch.mpg ! ffmpegcolorspace ! mfw_v4lsink</span><br><br>The above pipeline is not valid because you are tyring to play a compressed video without decoding. There is no Video decoder element in your pipeline. You pipeline should be something like this,<br>
<br><span style="color: rgb(255, 0, 0);">mx27# gst-launch filesrc location=/mnt/nfs/Toyata_Human_Touch.mpg ! <Demuxer> ! <Video Decoder> ! ffmpegcolorspace ! mfw_v4lsink</span><br><br>From your list of plugins, I see that mfw_vpudecoder is a valid plugin. This plug-in is capable of decoding MPEG4, H.264, H.263 streams. <br>
<br>Vinay K.<br><br><br>On Thu, Oct 23, 2008 at 2:57 PM, murugadoss <<a href="mailto:v.murugadoss@gdatech.co.in">v.murugadoss@gdatech.co.in</a>> wrote:<br>> Hi Fabio,<br>> Thanks for the reply.<br>> As u said, i downloaded the package from the link and added to my board<br>
> package,<br>> package i added can be seen in the location ../usr/lib/gstreamer-0.10/<br>> libmfw_gst_avidemuxer.a<br>> libgstavi.so libgstiec958.so <br>> libgstspectrum.so <a href="http://libmfw_gst_avidemuxer.la">libmfw_gst_avidemuxer.la</a><br>
> libgstcdxaparse.a libgstlevel.a <br>> libgstspeed.a libmfw_gst_avidemuxer.so<br>> libgstcdxaparse.so libgstlevel.so <br>> libgstspeed.so libmfw_gst_v4lsink.a<br>
> libgstcoreelements.a libgstmad.a libgstsubparse.a <br>> <a href="http://libmfw_gst_v4lsink.la">libmfw_gst_v4lsink.la</a><br>> libgstcoreelements.so libgstmad.so libgstsubparse.so <br>
> libmfw_gst_v4lsink.so<br>> libgstcoreindexers.a libgstmatroska.a <br>> libgsttcp.a libmfw_gst_v4lsrc.a<br>> libgstcoreindexers.so libgstmatroska.so libgsttcp.so <br>
> <a href="http://libmfw_gst_v4lsrc.la">libmfw_gst_v4lsrc.la</a><br>> libgstcutter.a libgstmodplug.a libgsttta.a <br>> libmfw_gst_v4lsrc.so<br>> libgstcutter.so libgstmodplug.so <br>
> libgsttta.so libmfw_gst_vpu_dec.a<br>> libgstdebug.a libgstmpegaudioparse.a <br>> libgsttypefindfunctions.a <a href="http://libmfw_gst_vpu_dec.la">libmfw_gst_vpu_dec.la</a><br>
> libgstdebug.so libgstmpegaudioparse.so <br>> libgsttypefindfunctions.so libmfw_gst_vpu_dec.so<br>><br>> Adding this package only increases my plugin, but when i try to run the<br>> video file i get an error message or only audio is running,<br>
> mx27# gst-launch playbin uri=file:///mnt/nfs/Toyata_Human_Touch.mpg<br>> Setting pipeline to PAUSED ...<br>> Pipeline is PREROLLING ...<br>> ** Message: don't know how to handle video/mpeg, mpegversion=(int)1,<br>
> systemstream=(boolean)false<br>> configure_write_channel, stream_id is 0<br>><br>> using this command, only audio is playing.<br>><br>> using the below command, i get the error msg<br>> mx27# gst-launch filesrc location=/mnt/nfs/Toyata_Human_Touch.mpg !<br>
> ffmpegcolorspace ! mfw_v4lsink<br>> Setting pipeline to PAUSED ...<br>> Pipeline is PREROLLING ...<br>> ERROR: from element /pipeline0/ffmpegcsp0: not negotiated<br>> Additional debug info:<br>> gstbasetransform.c(1487): gst_base_transform_handle_buffer ():<br>
> /pipeline0/ffmpegcsp0:<br>> not negotiated<br>> ERROR: pipeline doesn't want to preroll.<br>> Setting pipeline to NULL ...<br>> FREEING pipeline ...<br>><br>> I used gst-inspect command, and found the ffmpegcolorspace and mfw_v4lsink<br>
> are available<br>> mx27# gst-inspect ffmpegcolorspace<br>> Factory Details:<br>> Long name: FFMPEG Colorspace converter<br>> Class: Filter/Converter/Video<br>> Description: Converts video from one colorspace to another<br>
> Author(s): Ronald Bultje <<a href="mailto:rbultje@ronald.bitfreak.net">rbultje@ronald.bitfreak.net</a>><br>> Rank: none (0)<br>><br>> Plugin Details:<br>> Name: ffmpegcolorspace<br>
> Description: colorspace conversion copied from FFMpeg 0.4.9-pre1<br>> Filename: /usr/lib/gstreamer-0.10/libgstffmpegcolorspace.so<br>> Version: 0.10.12<br>> License: LGPL<br>
> Source module: gst-plugins-base<br>> Binary package: FFMpeg<br>> Origin URL: <a href="http://ffmpeg.sourceforge.net/">http://ffmpeg.sourceforge.net/</a><br>> . <br>> ;<br>> ;<br>
><br>> mx27# gst-inspect mfw_v4lsink<br>> Factory Details:<br>> Long name: v4l_sink<br>> Class: Sink/Video<br>> Description: Video rendering device plugin used to displayYUV 4:2:0 data<br>
> with the support to crop the input image used a<br>> Author(s): Multimedia Team <<a href="mailto:mmsw@freescale.com">mmsw@freescale.com</a>><br>> Rank: primary (256)<br>><br>> Plugin Details:<br>
> Name: mfw_v4lsink<br>> Description: Video diaplay plug in based on V4L2<br>> Filename: /usr/lib/gstreamer-0.10/libmfw_gst_v4lsink.so<br>> Version:<br>> License: unknown<br>
> Source module:<br>> Binary package: Freescale Semiconductor<br>> Origin URL: <a href="http://www.freescale.com">www.freescale.com</a><br>><br>> what may be the issue? can u help me please.<br>
> Thank u for the support<br>><br>> Regards<br>> V.Murugadoss<br>><br>><br>> Fabio Estevam wrote:<br>><br>> Dear Murugadoss,<br>><br>> --- On Wed, 10/22/08, murugadoss <<a href="mailto:v.murugadoss@gdatech.co.in">v.murugadoss@gdatech.co.in</a>> wrote:<br>
><br>> <br>><br>> From: murugadoss <<a href="mailto:v.murugadoss@gdatech.co.in">v.murugadoss@gdatech.co.in</a>><br>> Subject: [gst-devel] issue in playing video<br>> To: "Discussion of the development of GStreamer"<br>
> <<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a>><br>> Date: Wednesday, October 22, 2008, 9:25 AM<br>> Hi,<br>> I am working on getting gstreamer over linux in i.mx27<br>
> board. I have <br>> ported the gstreamer and the audio is working fine. when i<br>> try to run <br>> the video file, it give me a error message. i have tried<br>> out with <br>> various plugins. I used the gst-inspect command to find out<br>
> the plungins <br>> present,<br>> <br>><br>> Looks like you didn't follow my previous suggestions.<br>><br>> As I referred in earlier emails you will have better performance on the MX27<br>> if you use the hardware accelerated plugins available on Freescale's<br>
> website, which makes use of hardware decoder/encoder present on MX27. <br>><br>> Of course you can use generic plugins, but performance will not be optimal.<br>><br>> Download the package from here: <br>> <a href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=IMX27_CODECS&fpsp=1&tab=Design_Tools_Tab">http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=IMX27_CODECS&fpsp=1&tab=Design_Tools_Tab</a><br>
><br>> (Click on MX27_FULL_VPU_SW_LINUX )<br>><br>> , and then read carefully the <br>> Multimedia_Linux_Codecs_SDK_Release_Notes_MX27_ADS.pdf document as it<br>> contains all the information you need. There are Gstreamer pipeline examples<br>
> for using the hardware accelerated plugins for encoding and deconding video<br>> on the MX27.<br>><br>> Regards,<br>><br>> Fabio Estevam<br>><br>><br>><br>> <br>><br>> -------------------------------------------------------------------------<br>
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge<br>> Build the coolest Linux based applications with Moblin SDK & win great<br>> prizes<br>> Grand prize is a trip for two to an Open Source event anywhere in the world<br>
> <a href="http://moblin-contest.org/redirect.php?banner_id=100&url=/">http://moblin-contest.org/redirect.php?banner_id=100&url=/</a><br>> _______________________________________________<br>> gstreamer-devel mailing list<br>
> <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>> <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
><br>><br>> <br>><br>> -------------------------------------------------------------------------<br>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge<br>> Build the coolest Linux based applications with Moblin SDK & win great<br>
> prizes<br>> Grand prize is a trip for two to an Open Source event anywhere in the world<br>> <a href="http://moblin-contest.org/redirect.php?banner_id=100&url=/">http://moblin-contest.org/redirect.php?banner_id=100&url=/</a><br>
> _______________________________________________<br>> gstreamer-devel mailing list<br>> <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>> <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
><br>><br><br>