[vorbis] Re: ogg123 and stdout

fungus spam at egg.chips.and.spam.com
Mon Apr 16 05:56:31 PDT 2001



Michael Smith wrote:
> 
> At 11:44 PM 4/15/01 +0200, you wrote:
> >On Sat, 14 Apr 2001 11:44:42 +0000 (UTC), Christian Weisgerber wrote:
> >
> >$ 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.

I don't think you can do a seek in stdout.

It should buffer up the data in memory until it knows enough
to write the header.

> Regardless, expecting wav to work is silly.
> 

Why?

PS: Unix wouldn't do it that way anyway, in Unix you'd do:

oggtoraw <myfile.ogg | rawtowav >myfile.wav


-- 
<\___/>
/ O O \
\_____/  FTB.

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