Trying to save audio stream to file
Posted: 05 Feb 2008 23:50
Hi
I am trying to save audio stream to a file:
it works on vlc, but is stuck in the libvlc_new function. any ideas ?
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);