Trying to save audio stream to file

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
benjis
New Cone
New Cone
Posts: 3
Joined: 05 Feb 2008 14:40

Trying to save audio stream to file

Postby benjis » 05 Feb 2008 23:50

Hi

I am trying to save audio stream to a file:

Code: Select all

libvlc_exception_t excp; libvlc_instance_t *inst; char *myarg0 = "newapi.exe"; char *myarg1 = "http://stream.msn.co.il/gglz"; char *myarg2 =":sout=#transcode{acodec=mpga,ab=192,channels=2}:duplicate{dst=std{access=file,mux=asf,dst="c:\\kuku123.asf\"}}\'"; char *myargs[4] = {myarg0, myarg1, myarg2, NULL}; libvlc_exception_init (&excp); inst = libvlc_new (3, myargs, &excp); quit_on_exception (&excp);
it works on vlc, but is stuck in the libvlc_new function. any ideas ?

Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 0 guests