[vorbis] Re: ogg123 and stdout
smoerk at gmx.de
smoerk at gmx.de
Mon Apr 16 01:51:59 PDT 2001
On Mon, 16 Apr 2001 12:29:39 +1000, Michael Smith wrote:
>>but it seems that there is something wrong with the wav header:
>>
>>$ ogg123 http://popstation.de:8002/2.ogg -d wav -o file:/dev/stdout |
>>sox -t wav - cap.wav
>
>The wav header can't be written until the end. Going through stdout makes
>it unable to do this. It probably should write an almost-correct header and
>then go back and correct it, but doesn't. Regardless, expecting wav to work
>is silly.
no it's not silly. i use this reqularly with other programs like sox,
oggenc, lame, etc. a unix program with cannot write to stdout is silly
;). the problem with raw pcm is that you don't know the sampling
frequency and channels sometimes, so you need a header for piping from
one program to another.
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Vorbis
mailing list