[linux-audio-user] Analyzing ogg files

Mark Knecht markknecht at comcast.net
Mon Dec 1 23:15:30 EST 2003


On Mon, 2003-12-01 at 20:17, Gustavo Zamorano S. wrote:
> What about:
> 
> file filename.ogg
> 
> 
> from the shell?
> 
> GZS
> 

Gustavo,
   Hi. I didn't know about file. Thanks! I don't think it's telling me
too much, or I'm not sure how to read the results. It does tell me
sample rate, which is a step forward:

bash-2.05b$ file gmc2.ogg 
gmc2.ogg: Ogg data, Vorbis audio, stereo, 44100 Hz, ~128031 bps, created
by: Xiphophorus libVorbis I 20011231 (RC3)

bash-2.05b$ file examplesustain.ogg 
examplesustain.ogg: Ogg data, Vorbis audio, stereo, 44100 Hz, >256000
~224000 bps, created by: Xiph.Org libVorbis I 20020717 (1.0)
bash-2.05b$ 

   I have an ongoing problem with the OSS part of Alsa. I noticed this
evening that the file examplesustain.ogg doesn't have the problem, while
pretty much every other ogg or wave file I play does. I was thinking
that one of these might be 16-bit, or 24-bit, etc., or something like
that, but I don't see that here.

   I looked at the man page, but nothing jumped out at me.

Thanks very much though.

- Mark




More information about the Linux-audio-user mailing list