home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
VLC OSD control
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="kroko" data-source="post: 172146" data-attributes="member: 45719"><p>Hi,</p><p></p><p>I'm playing with the OSD for VLC. See my screenshot. Has somebody else already tried something with it ? Is it possible to have text as well instead of icons ?</p><p></p><p>Quick test for everybody:</p><p></p><p>In the VLC dir I ececute</p><p>"vlc whaterver.mpg --extraintf rc --sub-filter osdmenu --osdmenu-file=osdmenu/dvd.cfg"</p><p></p><p>and the in the vlc window I write</p><p>"menu on"</p><p></p><p>there it is....</p><p></p><p>Looks very easy ? Or not...</p><p>read more here-></p><p></p><p><a href="http://www.videolan.org/developers/vlc/doc/doxygen/html/group__osdmenu.html#_details" target="_blank">http://www.videolan.org/developers/vlc/doc/doxygen/html/group__osdmenu.html#_details</a></p><p></p><p>The only way I can see - draw the osd and save the file in the background </p><p></p><p> Bitmap bmap = new Bitmap (pictureBox1.Image);</p><p> Graphics g = Graphics.FromImage(bmap);</p><p></p><p> g.DrawString(DateTime.Now.ToLongTimeString(), new Font("Arial", 12, FontStyle.Regular), Brushes.Black, 10, 33);</p><p> pictureBox1.Image = bmap;</p><p> g.Dispose();</p><p></p><p> pictureBox1.Image.Save(@"C:\Pic.png");</p><p></p><p>(here I just put the time from now)</p><p></p><p></p><p>Greetz kroko</p></blockquote><p></p>
[QUOTE="kroko, post: 172146, member: 45719"] Hi, I'm playing with the OSD for VLC. See my screenshot. Has somebody else already tried something with it ? Is it possible to have text as well instead of icons ? Quick test for everybody: In the VLC dir I ececute "vlc whaterver.mpg --extraintf rc --sub-filter osdmenu --osdmenu-file=osdmenu/dvd.cfg" and the in the vlc window I write "menu on" there it is.... Looks very easy ? Or not... read more here-> [URL="http://www.videolan.org/developers/vlc/doc/doxygen/html/group__osdmenu.html#_details"]http://www.videolan.org/developers/vlc/doc/doxygen/html/group__osdmenu.html#_details[/URL] The only way I can see - draw the osd and save the file in the background Bitmap bmap = new Bitmap (pictureBox1.Image); Graphics g = Graphics.FromImage(bmap); g.DrawString(DateTime.Now.ToLongTimeString(), new Font("Arial", 12, FontStyle.Regular), Brushes.Black, 10, 33); pictureBox1.Image = bmap; g.Dispose(); pictureBox1.Image.Save(@"C:\Pic.png"); (here I just put the time from now) Greetz kroko [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
VLC OSD control
Contact us
RSS
Top
Bottom