using media options
Posted: 20 Oct 2010 02:07
I am using C# and .net 3.5 to write a wrapper around libvlc 1.1.2 for a media center type application I am working on for personal use.
I would like use media options like transcoding files and ripping dvds to mp4. Or just any media options. but I can't seem to figure out how to set the options.
I am using libvlc_media_new_location to create a new media instance and get a handle to it. and then using that handle with libvlc_media_add_option to send a string of the options. But it seems like it has no effect. I have tried simple options like ":filter=distort" or complex options like "::sout=#transcode{vcodec=DIV3,vb=1024,scale=1}:duplicate{dst=display,dst=std{access=file,mux=ps,dst=\"C:\\temp.mpeg\"}}" with no avail.
I don't know the procedure to applying options. and I can't details about it.
any help would be appreciated.
I would like use media options like transcoding files and ripping dvds to mp4. Or just any media options. but I can't seem to figure out how to set the options.
I am using libvlc_media_new_location to create a new media instance and get a handle to it. and then using that handle with libvlc_media_add_option to send a string of the options. But it seems like it has no effect. I have tried simple options like ":filter=distort" or complex options like "::sout=#transcode{vcodec=DIV3,vb=1024,scale=1}:duplicate{dst=display,dst=std{access=file,mux=ps,dst=\"C:\\temp.mpeg\"}}" with no avail.
I don't know the procedure to applying options. and I can't details about it.
any help would be appreciated.