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

*nix specific usage questions
yfwong
Blank Cone
Blank Cone
Posts: 18
Joined: 14 Dec 2006 03:56

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

Postby yfwong » 30 Apr 2008 09:09

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.

revolunet
Big Cone-huna
Big Cone-huna
Posts: 515
Joined: 17 Oct 2007 13:16
VLC version: 0.9.8
Operating System: Vista
Location: Paris, France
Contact:

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

Postby revolunet » 30 Apr 2008 11:13

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 ;)
VLC & web IT consulting - http://www.revolunet.com
Github : http://github.com/revolunet


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 18 guests