Page 1 of 1

problem saving audio stream from cmd-line

Posted: 23 Apr 2009 11:55
by jbaragry
Hi,

I´m trying to save an audio stream to a local file.

I can successfully use the Streaming Wizard to do this, but if I try from the cmd-line I get a bunch of errors:
- access_directory access error: :sout=#transcodeacodec=vorb:standardmux=ogg:sout-transcode-soverlay=0: No such file or directory
- [00000392] access_file access error: cannot open file :sout=#transcodeacodec=vorb:standardmux=ogg:sout-transcode-soverlay=0 (No such file or directory)

I created the cmd-line args using the output shown when I used the gui wizard:
$ vlc -vvv http://thehost/114.pls :sout=#transcode{acodec=vorb,ab=192}:standard{mux=ogg,dst=/Users/me/test.ogg,access=file}:sout-transcode-soverlay=0

Any idea what the problem is with this?
I´ve tried a bunch of different variants based on examples shown in the forums but I keep getting "no such file" or "no access module"

This occurs with both 0.9.8 and 0.9.9a on macosx 10.5.6.
(I don´t know if its mac specific and I didn´t get a response on the mac troubleshooting forum)

thanks
Jason

Re: problem saving audio stream from cmd-line

Posted: 23 Apr 2009 14:33
by michaeldjcox
I created the cmd-line args using the output shown when I used the gui wizard:
$ vlc -vvv http://thehost/114.pls :sout=#transcode{acodec=vorb,ab=192}:standard{mux=ogg,dst=/Users/me/test.ogg,access=file}:sout-transcode-soverlay=0
--sout="#transcode{acodec=mp3,ab=128,channels=2}:duplicate{dst=std{access=file,mux=raw,dst='files/myfile.mp3'}}"

The above is my line for saving to a file to mp3.

I guess the : instead of -- is a mac thing.

I also have my file name in single quotes and "duplicate{dst=std{"

Not sure if my example helps you but it might be a breadcrumb

Michael

Re: problem saving audio stream from cmd-line

Posted: 24 Apr 2009 15:34
by jbaragry
Thanks, that´s got it. ´--sout´and quoting the args fixed it.

Jason