<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Kaarlo,</span></div><div><br><span></span></div><div><span>Thank you for your help.</span></div><div><br><span></span></div><div><span>I can look at avidemux to see how to write a video editor. However, will I be able to chain into exiting MP4 demux handler? I would like the standard plugins the handle MP4 format.</span></div><div><br><span></span></div><div><span>Regards,</span></div><div><span>Peter</span></div><div><br></div> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> Kaarlo Räihä <kaarlo.raiha@gmail.com><br> <b><span style="font-weight: bold;">To:</span></b> Mailing list
for VLC media player developers <vlc-devel@videolan.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Tuesday, April 24, 2012 10:34 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [vlc-devel] Why is my subpicture getting displayed for more time than specified?<br> </font> </div> <br>
<meta http-equiv="x-dns-prefetch-control" content="off"><div id="yiv777701162"><div class="yiv777701162gmail_extra"><br><br><div class="yiv777701162gmail_quote">24. huhtikuuta 2012 21.07 Peter Tap <span dir="ltr"><<a rel="nofollow" ymailto="mailto:ptrtap@yahoo.com" target="_blank" href="mailto:ptrtap@yahoo.com">ptrtap@yahoo.com</a>></span> kirjoitti:<br><blockquote class="yiv777701162gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Remi,<br>
<div class="yiv777701162im"><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="yiv777701162gmail_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="yiv777701162im yiv777701162HOEnZb"><br>
Regards,<br>
Peter<br>
<br>
<br>
<br>
<br>
----- Original Message -----<br>
From: Rémi Denis-Courmont <<a rel="nofollow" ymailto="mailto:remi@remlab.net" target="_blank" href="mailto:remi@remlab.net">remi@remlab.net</a>><br>
</div><div class="yiv777701162im yiv777701162HOEnZb">To: <a rel="nofollow" ymailto="mailto:vlc-devel@videolan.org" target="_blank" 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="yiv777701162HOEnZb"><div class="yiv777701162h5">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>
http://www.remlab.net/<br>
http://fi.linkedin.com/in/remidenis<br>
_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
http://mailman.videolan.org/listinfo/vlc-devel<br>
<br>
_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a rel="nofollow" target="_blank" href="http://mailman.videolan.org/listinfo/vlc-devel">http://mailman.videolan.org/listinfo/vlc-devel</a><br>
</div></div></blockquote></div><br></div>
</div><meta http-equiv="x-dns-prefetch-control" content="on"><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> </div> </div> </div></body></html>