<div class="gmail_extra"><br><br><div class="gmail_quote">24. huhtikuuta 2012 21.07 Peter Tap <span dir="ltr"><<a href="mailto:ptrtap@yahoo.com" target="_blank">ptrtap@yahoo.com</a>></span> kirjoitti:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Remi,<br>
<div class="im"><br>
Thank you for your help.<br>
<br>
</div>The issue we have is that operators in some of our movie theaters do not<br>
monitor if someone is video recording the movie off the screen. If we<br>
get our hands on such a pirated movie, we would like to be able to identify the theater the movie was recorded from.<br>
<br>
The idea was to implement a<br>
watermarking scheme that is invisible to the human eye but caught by the video camera. My thought was that if we show the hardware id for a very small time, perhaps we could achieve this.<br>
<br>
If we show the text at the same location, pirates can use a video editing software and wipe that region off. We have to find a way to discourage pirates from editing the movie. If we show the id at random location on the screen, frame by frame, it would become very hard for the pirates to edit the movie.<br>

<br>
<br>
Is this logic flawed? Is this achievable within VLC?.<br></blockquote><div><br></div><div>I think it would be easier to write a plugin for frame based video editor (like AVIdemux or Virtualdub) and re-encode the video with the filter. That way you could be sure that watermark is only shown for one frame.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
If this is achievable, perhaps the way I am trying to achieve it is not right.<br>
<br>
I have written a "video filter" module. When VLC calls my "Filter" method, the only parameters I can control are the start and the stop time of the created subpicture.The start time is usually the time value that VLC supplies as a parameter. The stop time is based on the computed timeout value. <br>

<br>
If I set my timeout value to, say, 1ms, and create a new subpicture at every 40.6ms, will it work?<br>
<br>
Or, is there a better way to do it instead of writing a video filter?<br>
<br>
Appreciate your help.<br>
<div class="im HOEnZb"><br>
Regards,<br>
Peter<br>
<br>
<br>
<br>
<br>
----- Original Message -----<br>
From: Rémi Denis-Courmont <<a href="mailto:remi@remlab.net">remi@remlab.net</a>><br>
</div><div class="im HOEnZb">To: <a href="mailto:vlc-devel@videolan.org">vlc-devel@videolan.org</a><br>
Cc:<br>
Sent: Tuesday, April 24, 2012 10:06 AM<br>
Subject: Re: [vlc-devel] Why is my subpicture getting displayed for more time than specified?<br>
<br>
</div><div class="HOEnZb"><div class="h5">Le mardi 24 avril 2012 11:31:18 Peter Tap, vous avez écrit :<br>
> Honestly, I don't know what you are talking about.<br>
<br>
I really cannot see too many ways to put the question:<br>
How many frames actually exhibit the watermark on the physical display?<br>
<br>
> The display time is based on the assumption that most commercial movies<br>
> (which is what I am dealing with) contains 24 frames per second. If there is<br>
> a flaw in my logic, I would appreciate it if you could present a better<br>
> idea.<br>
<br>
I think you can get the theoretical frame rate in the input video format<br>
passed to the filter.<br>
<br>
*Obviously* though actual rendering must obey the display frame rate. Most<br>
computer flat panels run at 60Hz nowadays. Only high-end ones support 120Hz.<br>
This is also known as vertical synchronization. As is not a multiple of 24Hz,<br>
frames cannot physically be shown the exact correct time. Ideally, every<br>
second frame would be displayed for 3 intervals (50 ms) or and 2 (37ms).<br>
<br>
50 ms is surely longer than enough for the human eye to notice the artifact,<br>
especially if it is is stark contrast with the rest of the picture.<br>
<br>
Add scheduling jitter in the operating system, and some frames will be shown<br>
for even longer. Only if some frames show for a lot longer than they should<br>
would I start worry that there is a bug or performance problem within VLC.<br>
<br>
--<br>
Rémi Denis-Courmont<br>
<a href="http://www.remlab.net/" target="_blank">http://www.remlab.net/</a><br>
<a href="http://fi.linkedin.com/in/remidenis" target="_blank">http://fi.linkedin.com/in/remidenis</a><br>
_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="http://mailman.videolan.org/listinfo/vlc-devel" target="_blank">http://mailman.videolan.org/listinfo/vlc-devel</a><br>
<br>
_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="http://mailman.videolan.org/listinfo/vlc-devel" target="_blank">http://mailman.videolan.org/listinfo/vlc-devel</a><br>
</div></div></blockquote></div><br></div>