[Mono-list] Recommended approach for embedding VLC in a Mono app?

thenextman richard at ayudasystems.com
Tue May 18 14:21:20 EDT 2010


_pnlContainer is a Panel on the control (the method I provided is part of a
WinForms custom control). I use the panel to display the videos I am playing
using MPlayer.

By passing the -wid switch, you can give the handle to a control where you
want MPlayer to draw the video instead of creating it's own window (you
could pass the handle to a WinForms form, for example; in this case I am
using a Panel)

The -fixed-vo option does 'something' that prevents MPlayer from doing some
kind of tear down when it reaches the end of the file, or you tell it to
stop. This creates a more seamless effect when playing back multiple videos
one after the other.
-- 
View this message in context: http://mono.1490590.n4.nabble.com/Recommended-approach-for-embedding-VLC-in-a-Mono-app-tp2216492p2221703.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list