Specifying the bitrate for transcode from WAV to Speex SPX/O
Posted: 28 Aug 2007 00:14
Since speexenc doesn't support non-PCM .wav files, I am trying to use VLC to transcode my m-law .wav files using the Speex encoder. The conversion is working, but the resulting file size is much higher than I expected. The original .wav file is 0:05 duration, 65,594 bytes while the resulting .spx.ogg file is 26,985 bytes.
According to VLC's View Stream and Media Info, the .spx.ogg bitrate is 4294967 kb/s -- absurd considering the filesize is so small. This is the command line I used:
If I try to specify the bitrate, as shown below, the resulting file is exactly the same.
Could someone give me a working command line or point me to a (more) complete list of options available for the speex encoder?
According to VLC's View Stream and Media Info, the .spx.ogg bitrate is 4294967 kb/s -- absurd considering the filesize is so small. This is the command line I used:
Code: Select all
"c:\Program Files\VideoLAN\VLC\vlc.exe" -vvv in.wav :sout= "#transcode{aenc=speex}:standard{access=file,mux=ogg,url=out.spx.ogg}" vlc:quit
Code: Select all
"c:\Program Files\VideoLAN\VLC\vlc.exe" -vvv in.wav :sout= "#transcode{aenc=speex,ab=64}:standard{access=file,mux=ogg,url=out.spx.ogg}" vlc:quit