Basic stream capture to file question

About encoding, codec settings, muxers and filter usage
gloomrider
New Cone
New Cone
Posts: 3
Joined: 02 Oct 2009 19:38

Basic stream capture to file question

Postby gloomrider » 02 Oct 2009 19:48

Hi

I recently upgraded from 0.86 to 1.02 on my intel-based iMac running 10.5.8

My motivation for doing this was seeing occasional VLC crashes when capturing streams.

My issue: It seems like I'm no longer able to capture the stream to a file. Here's the syntax I'm using (this always worked, except that I had to append "=" to "--sout"). Oh, and I added the --intf=rc

Code: Select all

/Applications/VLC.app/Contents/MacOS/VLC --intf=rc --http-caching=5000 <URL_OF_STREAM> --sout=#transcode{acodec=mp3,ab=128,channels=2}:duplicate{dst=display,dst=std{access=file,mux=raw,url=/Users/user1/Stream.mp3}}
This "just worked" with 0.86, but it seems "Stream.mp3" just doesn't appear. And running with a "-vvv" suggests that VLC is not aware of the output file request(?).

Any suggestions?

Thanks in advance.

gloomrider
New Cone
New Cone
Posts: 3
Joined: 02 Oct 2009 19:38

Re: Basic stream capture to file question

Postby gloomrider » 02 Oct 2009 21:48

Hi

More trolling through the docs revealed this little gem that seems to do the trick:

Code: Select all

/Applications/VLC.app/Contents/MacOS/VLC --intf=rc --http-caching=5000 <URL_OF_STREAM> --sout=file/raw:/Users/user1/file.mp3


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 7 guests