<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
On 09/26/2011 09:57 AM, Peter Tap wrote:
<blockquote
cite="mid:1317020230.22386.YahooMailNeo@web125414.mail.ne1.yahoo.com"
type="cite">
<div style="color: rgb(0, 0, 0); background-color: rgb(255, 255,
255); font-family: times new roman,new york,times,serif;
font-size: 12pt;">
<div>Folks,</div>
<div><br>
</div>
<div>After implementing a stream_filter module, I have become a
bit comfortable with vlc development environment.<br>
</div>
<div><br>
</div>
<div>Now, I have a new task. At a specific time during an mp4
media is being played, I need to draw a thumbnail image at a
certain location over the underlying video image. The image
should disappear after a few seconds. <br>
</div>
</div>
</blockquote>
<br>
If I recall correctly, VLC does something like this when a snapshot
(video screenshot) is saved, so you may be able to get some pointers
on how to do it from that code.<br>
<br>
Basically, you need to draw the pixels of the thumbnail into the
video buffer, using the same colour format (e.g. I420) as the video
being played does.<br>
<br>
<br>
<blockquote
cite="mid:1317020230.22386.YahooMailNeo@web125414.mail.ne1.yahoo.com"
type="cite">
<div style="color: rgb(0, 0, 0); background-color: rgb(255, 255,
255); font-family: times new roman,new york,times,serif;
font-size: 12pt;">
<div>I am wondering what type of module do I need to develop.</div>
</div>
</blockquote>
<br>
I suggest a video filter module. Source directory
modules/video_filter, API name "video filter2". There's some
development documentation on this in the wiki:<br>
<br>
<a class="moz-txt-link-freetext" href="http://wiki.videolan.org/Documentation:Hacker%27s_Guide/Video_Filters">http://wiki.videolan.org/Documentation:Hacker%27s_Guide/Video_Filters</a><br>
<br>
If you find the doc is missing some information, ask on this list
for help. I'll then update the wiki if someone knows and posts the
answer.<br>
<br>
<br>
-J (author of the "IVTC" and "Phosphor" deinterlacers)<br>
<br>
</body>
</html>