[gst-devel] issue in playing video

Vinay Krishnamurthy vinay.kmurthy at gmail.com
Thu Oct 23 12:34:13 CEST 2008


Hello Murugadoss,

You are trying to play a video file. Hence, you need to use a video decoder
plugin. In your case, I think the video file might be MPEG format. So, your
plugin should be,

gst-launch filesrc location="filename" ! demuxer ! video_decoder !
mfw_v4lsink.

Regards,
Vinay K.

On Thu, Oct 23, 2008 at 2:57 PM, murugadoss <v.murugadoss at gdatech.co.in>wrote:

>  Hi Fabio,
> Thanks for the reply.
> As u said, i downloaded the package from the link and added to my board
> package,
> package i added can be seen in the location ../usr/lib/gstreamer-0.10/
> libmfw_gst_avidemuxer.a
> libgstavi.so            libgstiec958.so
> libgstspectrum.so           *libmfw_gst_avidemuxer.la*
> libgstcdxaparse.a       libgstlevel.a
> libgstspeed.a                 l*ibmfw_gst_avidemuxer.so*
> libgstcdxaparse.so      libgstlevel.so
> libgstspeed.so              l*ibmfw_gst_v4lsink.a*
> libgstcoreelements.a    libgstmad.a
> libgstsubparse.a         * libmfw_gst_v4lsink.la*
> libgstcoreelements.so   libgstmad.so               libgstsubparse.so
> l*ibmfw_gst_v4lsink.so*
> libgstcoreindexers.a    libgstmatroska.a
> libgsttcp.a                 *libmfw_gst_v4lsrc.a*
> libgstcoreindexers.so   libgstmatroska.so
> libgsttcp.so              *libmfw_gst_v4lsrc.la*
> libgstcutter.a          libgstmodplug.a            libgsttta.a
>         * libmfw_gst_v4lsrc.so*
> libgstcutter.so         libgstmodplug.so
> libgsttta.so               *     libmfw_gst_vpu_dec.a*
> libgstdebug.a           libgstmpegaudioparse.a
> libgsttypefindfunctions.a   *libmfw_gst_vpu_dec.la*
> libgstdebug.so          libgstmpegaudioparse.so
> libgsttypefindfunctions.so  *libmfw_gst_vpu_dec.so
>
> *Adding this package only increases my plugin, but when i try to run the
> video file i get an error message or only audio is running,
> *mx27# 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
> configure_write_channel, stream_id is 0
>
> using this command, only audio is playing.
>
> using the below command, i get the error msg
> *mx27# gst-launch filesrc location=/mnt/nfs/Toyata_Human_Touch.mpg !
> ffmpegcolorspace ! mfw_v4lsink*
> Setting pipeline to PAUSED ...
> Pipeline is PREROLLING ...
> ERROR: from element /pipeline0/ffmpegcsp0: not negotiated
> Additional debug info:
> gstbasetransform.c(1487): gst_base_transform_handle_buffer ():
> /pipeline0/ffmpegcsp0:
> not negotiated
> ERROR: pipeline doesn't want to preroll.
> Setting pipeline to NULL ...
> FREEING pipeline ...
>
> I used gst-inspect command, and  found the  *ffmpegcolorspace and
> mfw_v4lsink are available
> mx27# gst-inspect ffmpegcolorspace
> *Factory Details:
>   Long name:    FFMPEG Colorspace converter
>   Class:        Filter/Converter/Video
>   Description:  Converts video from one colorspace to another
>   Author(s):    Ronald Bultje <rbultje at ronald.bitfreak.net><rbultje at ronald.bitfreak.net>
>   Rank:         none (0)
>
> Plugin Details:
>   Name:                 ffmpegcolorspace
>   Description:          colorspace conversion copied from FFMpeg 0.4.9-pre1
>   Filename:             /usr/lib/gstreamer-0.10/libgstffmpegcolorspace.so
>   Version:              0.10.12
>   License:              LGPL
>   Source module:        gst-plugins-base
>   Binary package:       FFMpeg
>   Origin URL:           http://ffmpeg.sourceforge.net/
> .
> ;
> ;
>
> *mx27# gst-inspect mfw_v4lsink*
> Factory Details:
>   Long name:    v4l_sink
>   Class:        Sink/Video
>   Description:  Video rendering device plugin used to displayYUV 4:2:0 data
> with the support to crop the input image used a
>   Author(s):    Multimedia Team <mmsw at freescale.com> <mmsw at freescale.com>
>   Rank:         primary (256)
>
> Plugin Details:
>   Name:                 mfw_v4lsink
>   Description:          Video diaplay plug in based on V4L2
>   Filename:             /usr/lib/gstreamer-0.10/libmfw_gst_v4lsink.so
>   Version:
>   License:              unknown
>   Source module:
>   Binary package:       Freescale Semiconductor
>   Origin URL:           www.freescale.com
>
> what may be the issue? can u help me please.
> Thank u for the support
>
>  Regards
> V.Murugadoss
>
>
> Fabio Estevam wrote:
>
> Dear Murugadoss,
>
> --- On Wed, 10/22/08, murugadoss <v.murugadoss at gdatech.co.in> <v.murugadoss at gdatech.co.in> wrote:
>
>
>
>  From: murugadoss <v.murugadoss at gdatech.co.in> <v.murugadoss at gdatech.co.in>
> Subject: [gst-devel] issue in playing video
> To: "Discussion of the development of GStreamer" <gstreamer-devel at lists.sourceforge.net> <gstreamer-devel at lists.sourceforge.net>
> Date: Wednesday, October 22, 2008, 9:25 AM
> Hi,
> I am working on getting gstreamer over linux in i.mx27
> board. I have
> ported the gstreamer and the audio is working fine. when i
> try to run
> the video file, it give me a error message. i have tried
> out with
> various plugins. I used the gst-inspect command to find out
> the plungins
> present,
>
>
>  Looks like you didn't follow my previous suggestions.
>
> As I referred in earlier emails you will have better performance on the MX27 if you use the hardware accelerated plugins available on Freescale's website, which makes use of hardware decoder/encoder present on MX27.
>
> Of course you can use generic plugins, but performance will not be optimal.
>
> Download the package from here: http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=IMX27_CODECS&fpsp=1&tab=Design_Tools_Tab
>
> (Click on MX27_FULL_VPU_SW_LINUX )
>
> , and then read carefully the
> Multimedia_Linux_Codecs_SDK_Release_Notes_MX27_ADS.pdf document as it contains all the information you need. There are Gstreamer pipeline examples for using the hardware accelerated plugins for encoding and deconding video on the MX27.
>
> 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 worldhttp://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> gstreamer-devel mailing listgstreamer-devel at lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
>
> -------------------------------------------------------------------------
> 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
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20081023/238c4ddd/attachment.htm>


More information about the gstreamer-devel mailing list