Re: Wrong WAV AudioFormat

Richi Plana <[email protected]> Sat, 31 Aug 2013 10:42:50 -0600
Newsgroups gmane.comp.multimedia.ogg.vorbis.general
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============0057809670==
Content-Type: multipart/alternative;
 boundary="------------030708090102080606090301"

This is a multi-part message in MIME format.
--------------030708090102080606090301
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Richi Plana wrote:

>/  Hi,
/>/  
/>/  I am using vorbis-tools 1.4.0 on Fedora 14 to convert Ogg Vorbis files
/>/  to MS WAV format. It seems that ogg123 is encoding the wrong AudioFormat
/>/  value. For Uncompressed PCM, the AudioFormat should be 1 but for some
/>/  reason, it is being encoded in the WAV file as -1.
/>
>/  This used to work on some prior version of either Fedora or
/>/  vorbis-tools. I thought I'd ask in the email list in case it's a known
/>/  matter.

It seems when I use ogg123, soundstretch cannot process, but when I use oggdec, it works fine:

$ oggdec -o oggdec.wav file.ogg

$ ogg123 -d wav -f ogg123.wav file.ogg

$ file ogg123.wav oggdec.wav
ogg123.wav: RIFF (little-endian) data, WAVE audio, stereo 44100 Hz
oggdec.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, stereo 44100 Hz

FYI
/


--------------030708090102080606090301
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <pre>Richi Plana wrote:

&gt;<i> Hi,
</i>&gt;<i> 
</i>&gt;<i> I am using vorbis-tools 1.4.0 on Fedora 14 to convert Ogg Vorbis files
</i>&gt;<i> to MS WAV format. It seems that ogg123 is encoding the wrong AudioFormat
</i>&gt;<i> value. For Uncompressed PCM, the AudioFormat should be 1 but for some
</i>&gt;<i> reason, it is being encoded in the WAV file as -1.
</i>&gt; 
&gt;<i> This used to work on some prior version of either Fedora or
</i>&gt;<i> vorbis-tools. I thought I'd ask in the email list in case it's a known
</i>&gt;<i> matter.

It seems when I use ogg123, soundstretch cannot process, but when I use oggdec, it works fine:

$ oggdec -o oggdec.wav file.ogg

$ ogg123 -d wav -f ogg123.wav file.ogg

$ file ogg123.wav oggdec.wav 
ogg123.wav: RIFF (little-endian) data, WAVE audio, stereo 44100 Hz
oggdec.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, stereo 44100 Hz

FYI
</i></pre>
  </body>
</html>

--------------030708090102080606090301--

--===============0057809670==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Vorbis mailing list
[email protected]
http://lists.xiph.org/mailman/listinfo/vorbis

--===============0057809670==--