[vorbis] Re: ogg123 and stdout

Michael Smith msmith at labyrinth.net.au
Sun Apr 15 19:29:39 PDT 2001



At 11:44 PM 4/15/01 +0200, you wrote:
>On Sat, 14 Apr 2001 11:44:42 +0000 (UTC), Christian Weisgerber wrote:
>
>>You can use "ogg123 -d wav -o file:/dev/stdout ..." for writing to
>>stdout.  At the end, ogg123 will try to lseek() back to the beginning
>>to complete the wav header, which will result in a harmless error
>>message.
>
>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.

Michael

--- >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