Page 1 of 1

how to listen to and save a stream at the same time

Posted: 30 Apr 2008 09:09
by yfwong
It works fine to use the option "--sout=#transcode{acodec=mpga,ab=128}:duplicate{dst=std{access=file,mux=mp4,dst=/tmp/out.mp3}}" to save an audio stream. But how can I listen to the stream during recording?

Thanks.

Re: how to listen to and save a stream at the same time

Posted: 30 Apr 2008 11:13
by revolunet
hi there

you just need to add dst=display in the 'chain', like :

Code: Select all

--sout="#transcode{acodec=mpga,ab=128}:duplicate{dst=display, dst=std{access=file,mux=mp4,dst=/tmp/out.mp3}}"
should work like a charm ;)