[gst-devel] msgsm plugin not recognized

Thijs Vermeir thijsvermeir at gmail.com
Sat Jan 17 16:35:31 CET 2009


Hi,

On Fri, Jan 16, 2009 at 05:03:51PM -0600, Tom Vacek wrote:
> Thanks for looking at this.  Here it is.
> 
> twvacek at v1:~/Desktop$ gst-inspect msgsmdec
> Factory Details:
>   Long name:    MS GSM audio decoder
>   Class:    Codec/Decoder/Audio
>   Description:    Decodes MS GSM encoded audio
>   Author(s):    Philippe Khalaf <burger at speedy.org>
>   Rank:        none (0)

Also, decoders with a rank 0 will not be auto-plugged. This needs to be
higher than 0 before Totem will use this decoder.

Gr,
Thijs

> 
> Plugin Details:
>   Name:            msgsm
>   Description:        msGSM encoder/decoder
>   Filename:        /usr/lib/gstreamer-0.10/libgstmsgsm.so
>   Version:        0.12.10
>   License:        LGPL
>   Source module:    gst-plugins-farsight
>   Binary package:    Farsight
>   Origin URL:        http://farsight.sf.net
> 
> GObject
>  +----GstObject
>        +----GstElement
>              +----GstMSGSMDec
> 
> Pad Templates:
>   SINK template: 'sink'
>     Availability: Always
>     Capabilities:
>       audio/x-msgsm
>                    rate: 8000
>                channels: 1
> 
>   SRC template: 'src'
>     Availability: Always
>     Capabilities:
>       audio/x-raw-int
>              endianness: 1234
>                  signed: true
>                   width: 16
>                   depth: 16
>                    rate: 8000
>                channels: 1
> 
> 
> Element Flags:
>   no flags set
> 
> Element Implementation:
>   Has change_state() function: gst_element_change_state_func
>   Has custom save_thyself() function: gst_element_save_thyself
>   Has custom restore_thyself() function: gst_element_restore_thyself
> 
> Element has no clocking capabilities.
> Element has no indexing capabilities.
> Element has no URI handling capabilities.
> 
> Pads:
>   SRC: 'src'
>     Implementation:
>       Has custom eventfunc(): gst_pad_event_default
>       Has custom queryfunc(): gst_pad_query_default
>         Provides query types:
>       Has custom intconnfunc(): gst_pad_get_internal_links_default
>     Pad Template: 'src'
>   SINK: 'sink'
>     Implementation:
>       Has chainfunc(): gst_msgsmdec_chain
>       Has custom eventfunc(): gst_pad_event_default
>       Has custom queryfunc(): gst_pad_query_default
>         Provides query types:
>       Has custom intconnfunc(): gst_pad_get_internal_links_default
>     Pad Template: 'sink'
> 
> Element Properties:
>   name                : The name of the object
>                         flags: readable, writable
>                         String. Default: null Current: "msgsmdec0"
> 
> 
> Michael Smith wrote:
> > On Fri, Jan 16, 2009 at 2:08 PM, Tom Vacek <vacek008 at umn.edu> wrote:
> >   
> >> A voicemail system (Asterisk) forwards messages to me in "msgsm"
> >> format.  I can play them with Blastwave mplayer (see below).  In a
> >> nutshell, I compiled a gstreamer msgsm plugin, and gstreamer appears to
> >> recognize it, but my messages still won't play.
> >>
> >> The following three command outputs tell the story:
> >>     
> >
> > Not really. "gst-inspect msgsmdec" would be the crucial missing info...
> >
> > Mike
> >
> >   
> >> ======================================
> >> xx at v1:~$ gst-inspect msgsm
> >> Plugin Details:
> >>  Name:            msgsm
> >>  Description:        msGSM encoder/decoder
> >>  Filename:        /usr/lib/gstreamer-0.10/libgstmsgsm.so
> >>  Version:        0.12.10
> >>  License:        LGPL
> >>  Source module:    gst-plugins-farsight
> >>  Binary package:    Farsight
> >>  Origin URL:        http://farsight.sf.net
> >>
> >>  msgsmenc: MS GSM audio encoder
> >>  msgsmdec: MS GSM audio decoder
> >>
> >>  2 features:
> >>  +-- 2 elements
> >>
> >> ============================
> >> xx at v1:~$ totem msg0000.WAV
> >> ** Message: don't know how to handle audio/ms-gsm, rate=(int)8000,
> >> channels=(int)1, codec_data=(buffer)4001
> >> ** Message: Error: You do not have a decoder installed to handle this
> >> file. You might need to install the necessary plugins.
> >> gstplaybasebin.c(2307): prepare_output (): /GstPlayBin:play
> >>
> >> ** Message: Missing plugin: gstreamer|0.10|totem|MS GSM
> >> decoder|decoder-audio/ms-gsm (MS GSM decoder)
> >> ** Message: Automatic missing codec installation not supported (helper
> >> script missing)
> >>
> >> =======================================
> >> xx at v1:~$ mplayer msg0000.WAV
> >> MPlayer 1.0rc2-CSW-Studio11 (C) 2000-2007 MPlayer Team
> >> CPU: Intel x86
> >> CPUflags:  MMX: 0 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
> >> Compiled for x86 CPU with extensions:
> >>
> >> Playing msg0000.WAV.
> >> Audio file file format detected.
> >> ==========================================================================
> >> Opening audio decoder: [msgsm] native GSM/MSGSM audio decoder
> >> AUDIO: 8000 Hz, 1 ch, s16le, 13.0 kbit/10.16% (ratio: 1625->16000)
> >> Selected audio codec: [msgsm] afm: msgsm (MS GSM)
> >> ==========================================================================
> >>
> >>
> >>
> >>
> >>
> >>
> >> ------------------------------------------------------------------------------
> >> This SF.net email is sponsored by:
> >> SourcForge Community
> >> SourceForge wants to tell your story.
> >> http://p.sf.net/sfu/sf-spreadtheword
> >> _______________________________________________
> >> gstreamer-devel mailing list
> >> gstreamer-devel at lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> >>
> >>     
> >
> > ------------------------------------------------------------------------------
> > This SF.net email is sponsored by:
> > SourcForge Community
> > SourceForge wants to tell your story.
> > http://p.sf.net/sfu/sf-spreadtheword
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> >   
> 
> 
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel




More information about the gstreamer-devel mailing list