[vlc-devel] How to draw a line in subpicture_t region

pcoent at korrisoft.com pcoent at korrisoft.com
Mon Aug 27 21:10:49 CEST 2012

Years ago we implemented the audiobargraph module that was drawing bargraphs representing audio levels on top of the video, it might give you some ideas.

PS: I am not sure this module is still working correctly...


Le 27 août 2012 à 20:59, Olivier Aubert a écrit :

> Hi 
> On Mon, 2012-08-27 at 10:05 -0700, Peter Tap wrote:
>> Hi Olivier,
>> Thank you for your help.
>> $ cd vlc/modules/video_filter
>> $ grep -i svg *
>> I don't get any matching files.
> True, it is in fact a text renderer. If you feed it text, it will render
> it through a template. If you feed it svg it will render svg.
>> Can you please point me to a VLC sample that I can look up?
> See the last post of http://forum.videolan.org/viewtopic.php?f=2&t=874&p=298269&hilit=svg#p298269
>> Also, I am thinking just drawing a line should not be that hard. The problem is I cannot identify a sample file I can look up to get an idea. Most filters dealing with graphics seem to load/copy images.
> See http://en.wikipedia.org/wiki/Line_drawing_algorithm
> Bresenham algorithm is the most well known.
> Regards,
> Olivier
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel

Philippe COENT- CEO Korrisoft sarl
2 rue de la Chataigneraie - 35510 CESSON SEVIGNE - FRANCE
Phone : +33 6 79 35 78 94
pcoent at korrisoft.com  -  www.korrisoft.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20120827/0f81b2de/attachment.html>

More information about the vlc-devel mailing list