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: ====================================== xx@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@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@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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
On Fri, Jan 16, 2009 at 2:08 PM, Tom Vacek <[hidden email]> 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@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@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@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 > [hidden email] > 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Thanks for looking at this. Here it is.
twvacek@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 <[hidden email]> Rank: none (0) 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 <[hidden email]> 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@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@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@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 >> [hidden email] >> 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 > [hidden email] > 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Tom,
So, from your first email we have this:> Capabilities: > audio/x-msgsm > rate: 8000 > channels: 1 ** Message: don't know how to handle audio/ms-gsm, rate=(int)8000, channels=(int)1, codec_data=(buffer)4001 >From the gst-inspect output, we have this: Capabilities: audio/x-msgsm rate: 8000 channels: 1 This means that the msgsmdec decoder that you have accepts a type called "audio/x-msgsm". However, the demuxer outputs a type called "audio/ms-gsm". These aren't the same, so the decoder is considered incompatible, and therefore not used. You'll need to change the decoder to use "audio/ms-gsm" for this to work. Mike On Fri, Jan 16, 2009 at 3:03 PM, Tom Vacek <[hidden email]> wrote: > Thanks for looking at this. Here it is. > > twvacek@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 <[hidden email]> > Rank: none (0) > > 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 <[hidden email]> 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@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@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@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 >>> [hidden email] >>> 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 >> [hidden email] >> 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 > [hidden email] > 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
I was wondering if that was the problem. Do you think it would
worthwhile to file a bug against Asterisk for labeling the file incorrectly? What should the name of this format be? Thanks for the pointer. Tom Michael Smith wrote: > Tom, > > So, from your first email we have this:> Capabilities: > >> audio/x-msgsm >> rate: 8000 >> channels: 1 >> > > ** Message: don't know how to handle audio/ms-gsm, rate=(int)8000, > channels=(int)1, codec_data=(buffer)4001 > > >From the gst-inspect output, we have this: > Capabilities: > audio/x-msgsm > rate: 8000 > channels: 1 > > This means that the msgsmdec decoder that you have accepts a type > called "audio/x-msgsm". However, the demuxer outputs a type called > "audio/ms-gsm". These aren't the same, so the decoder is considered > incompatible, and therefore not used. > > You'll need to change the decoder to use "audio/ms-gsm" for this to work. > > Mike > > > > On Fri, Jan 16, 2009 at 3:03 PM, Tom Vacek <[hidden email]> wrote: > >> Thanks for looking at this. Here it is. >> >> twvacek@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 <[hidden email]> >> Rank: none (0) >> >> 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 <[hidden email]> 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@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@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@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 >>>> [hidden email] >>>> 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 >>> [hidden email] >>> 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 >> [hidden email] >> 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 > [hidden email] > 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
On Fri, Jan 16, 2009 at 4:05 PM, Tom Vacek <[hidden email]> wrote:
> I was wondering if that was the problem. Do you think it would > worthwhile to file a bug against Asterisk for labeling the file > incorrectly? What should the name of this format be? Asterisk appears to be doing the right thing - the gstreamer caps types are internal to gstreamer. So it's the gstreamer "msgsm" plugin that's doing the wrong thing, nothing else. Mike ------------------------------------------------------------------------------ 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by Tom Vacek
Hi,
On Fri, Jan 16, 2009 at 05:03:51PM -0600, Tom Vacek wrote: > Thanks for looking at this. Here it is. > > twvacek@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 <[hidden email]> > 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 <[hidden email]> 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@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@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@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 > >> [hidden email] > >> 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 > > [hidden email] > > 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 > [hidden email] > 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
I figured that out eventually. But in the meantime, I discovered that
the gsm plugin in gst-plugins-bad handles the msgsm as well as gsm, so I built that instead without a hitch. Just out of curiosity, how does one go about changing the rank? Tom Thijs Vermeir wrote: > Hi, > > On Fri, Jan 16, 2009 at 05:03:51PM -0600, Tom Vacek wrote: > >> Thanks for looking at this. Here it is. >> >> twvacek@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 <[hidden email]> >> 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 <[hidden email]> 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@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@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@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 >>>> [hidden email] >>>> 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 >>> [hidden email] >>> 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 >> [hidden email] >> 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 > [hidden email] > 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by Tom Vacek
On Fri, 2009-01-16 at 16:08 -0600, Tom Vacek 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: > > ====================================== > xx@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@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) You need the gsm decoder from gst-plugins-bad to play this file. Wim > > ======================================= > xx@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 > [hidden email] > 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |