2009-04-08 03:39:48 how to stream audio files to STDOUT using vlc
Franky Zhang (CHINA)
Message: 72387
Hi:
I'm using BF533, uClinux2008R1rc8.
I built the ffmpeg and vlc follow the doc: docs.blackfin.uclinux.org/doku.php?id=uclinux-dist:vlc&s[]=vlc.
Because I have no audio device on the board, so I wanna stream the audio to STDOUT. But it doesn't work with the option "--audiofile-file -" or "--sout-standard-dst <filename>".
Anyone can help me? Thanks!
TranslateQuoteReplyEditDelete
2009-04-08 03:45:45 Re: how to stream audio files to STDOUT using vlc
Mike Frysinger (UNITED STATES)
Message: 72388
why would you want to write audio data to stdout ? that's the serial console and you'd just display garbage.
if you're really intent on doing it, then use /proc/self/fd/1
QuoteReplyEditDelete
2009-04-08 04:00:33 Re: how to stream audio files to STDOUT using vlc
Franky Zhang (CHINA)
Message: 72389
Mike:
Thanks for your reply!
That's not garbage;-)What I want to do is using vlc to stream the audio data to stdout, then another program will receive it as stdin.
BUT:
vlc -vvv 192.168.1.2/test.wav --sout-standard-access file --sout-standard-dst /proc/self/fd/1
or
vlc -vvv 192.168.1.2/test.wav--audiofile-file /proc/self/fd/1
can't work, is there anything important I missed?
TranslateQuoteReplyEditDelete
2009-04-08 04:12:40 Re: how to stream audio files to STDOUT using vlc
Mike Frysinger (UNITED STATES)
Message: 72390
if that doesnt work, then you'll have to try asking on the videolan.org website (they have forums and mailing lists)