using media options

This forum is about all development around libVLC.
Diamonddrake
Blank Cone
Blank Cone
Posts: 18
Joined: 17 Oct 2010 05:04

using media options

Postby Diamonddrake » 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.

fishstyc
Blank Cone
Blank Cone
Posts: 40
Joined: 19 Oct 2010 12:39

Re: using media options

Postby fishstyc » 23 Oct 2010 17:35

Try video-filter=invert, that works for me...

But I am also not sure how you could add more options like video-filter=adjust{hue=120,gamma=2.}
I don't get these working either...

Anyone else?

Diamonddrake
Blank Cone
Blank Cone
Posts: 18
Joined: 17 Oct 2010 05:04

Re: using media options

Postby Diamonddrake » 25 Oct 2010 22:09

As far as trans-coding goes, if you use vlc player's open stream dialog box you can build a transcode options line using the wizard. This seems to work. well enough.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 37 guests