[gstreamer-bugs] [Bug 566661] Totem can't play .gsm files

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Jan 7 09:41:31 PST 2009


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=566661

  GStreamer | don't know | Ver: 0.10.x




------- Comment #10 from Wim Taymans  2009-01-07 17:41 UTC -------
sorry, I don't get it:

 wim at wtay:~$ dpkg-query -S /usr/bin/aplay
 alsa-utils: /usr/bin/aplay
 wim at wtay:~$ 

my aplay is from alsa-utils, what does that have to do with sox? 

Also:

 wim at wtay:~$ aplay /home/wim/data/msg0001.gsm 
 Playing raw data '/home/wim/data/msg0001.gsm' : Unsigned 8 bit, Rate 8000 Hz,
Mono
 wim at wtay:~$ 

which results in noisy output.

sox however comes with play, which does:

 wim at wtay:~$ play /home/wim/data/msg0001.gsm 

 Input File     : '/home/wim/data/msg0001.gsm'
 Sample Size    : 8-bit (1 byte)
 Sample Encoding: GSM
 Channels       : 1
 Sample Rate    : 8000

 Time: 00:07.44 [00:00.00] of 00:00.00 (0.00%) Samples out: 357k  Clips: 0    
 Done.

Nicely sounding GSM decoded and all.

Then when I rename the file, removing the .gsm extension:

 wim at wtay:~$ play /home/wim/data/msg0001
 play soxio: Can't open input file `/home/wim/data/msg0001': unknown file type
 wim at wtay:~$ 

As expected because you can't guess the type of a raw GSM file.

So it seems that is is simply using the .gsm extension to determine the codec. 


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=566661.




More information about the Gstreamer-bugs mailing list