<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I understand handling the differences in frame rate.<div class=""><br class=""></div><div class="">My question is more regarding the fact that I have *no* auto property handling in filmAVF and yet its being handled *somewhere*, I assume pix_film. It's basically advancing but at the wrong, slower frame rate. I'm trying to find out if this is correct or I need to handle it directly. If so, I need to somehow defeat the automatic advancing.<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Jan 20, 2018, at 9:05 PM, Chris Clepper <<a href="mailto:cgclepper@gmail.com" class="">cgclepper@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">For each GEM render frame you will have to determine if there is a new frame ready for the video.  So if the GEM fps is 60 and the film is 30 fps every other GEM render cycle will have a new frame.  If that same film is played at half speed then every GEM frames will have a new frame from the movie.  </div><div class=""><br class=""></div><div class="">The flags for new frames have to be set at the correct times.  If this is not done the pix_ objects after pix_film will process the frame multiple times.</div><div class=""><br class=""></div>Check the old code for example of how to do all of this - it is not exactly fun or pretty as I recall.</div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Sat, Jan 20, 2018 at 2:11 PM, Dan Wilcox <span dir="ltr" class=""><<a href="mailto:danomatika@gmail.com" target="_blank" class="">danomatika@gmail.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space" class="">How are the plugins called by the pixes? As in how is filmAVF called by either pix_film or pix_filmOS? Both pix_film* classes have an auto frame advance and I assumed that was what was used by the film objects in general.<div class=""><div class="h5"><br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On Jan 20, 2018, at 4:14 PM, Chris Clepper <<a href="mailto:cgclepper@gmail.com" target="_blank" class="">cgclepper@gmail.com</a>> wrote:</div><br class="m_-7251947086213567641Apple-interchange-newline"><div class=""><div dir="ltr" class="">On OS X the 'auto' option has always played the movie at whatever rate is specified by the second argument - so auto 1 is 1x and auto 0.38 is 38%.  The DirectShow version also does this or did when I wrote them.<div class=""><br class=""></div><div class="">The GEM framerate is something entirely different and needs to be much higher than any common film format.  At the very least the gemwin should play 60fps in VBL sync and show a movie without any tearing artifacts. </div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Sat, Jan 20, 2018 at 9:34 AM, Dan Wilcox <span dir="ltr" class=""><<a href="mailto:danomatika@gmail.com" target="_blank" class="">danomatika@gmail.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space" class="">I guess what I'm asking is should filmAVF *exactly* match the behavior of filmQT or should it match the behavior in general of the other film* objects?<div class=""><br class=""></div><div class="">I'm not a heavy GEM user. Does the "auto" property automatically play the file at it's natural frame rate independent of GEM's frame rate or does it play the file at GEM's frame rate? filmAVF is currently doing the latter and it wile additional work for it to do the former.<div class=""><div class="m_-7251947086213567641h5"><br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On Jan 7, 2018, at 12:15 PM, Dan Wilcox <<a href="mailto:danomatika@gmail.com" target="_blank" class="">danomatika@gmail.com</a>> wrote:</div><br class="m_-7251947086213567641m_5764030950847187826Apple-interchange-newline"><div class=""><div style="word-wrap:break-word" class=""><br class=""><div class=""><blockquote type="cite" class=""><div class=""><span style="font-family:Monaco" class="">Dan:</span></div><div class=""><span style="font-family:Monaco;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important" class="">seems to work! it doesn't crash! loaded fillm are a little "laggy" though</span><br style="font-family:Monaco;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class=""><span style="font-family:Monaco;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important" class="">and do not react to sudden frame changes very quickly.... at least from</span><br style="font-family:Monaco;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class=""><span style="font-family:Monaco;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important" class="">quick tests with short clips. i did load a 2 hour .mp4 though and nothing</span><br style="font-family:Monaco;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class=""><span style="font-family:Monaco;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important" class="">crashed so it seems all fairly stable now.</span></div></blockquote><br class=""></div><div class="">By "laggy", do you mean with automatic playback? QT seems to handle that itself while filmAVF is currently letting Gem do the "auto" property which seems slower. From what the help file says, "auto" does advances the frame on the net Gem frame render.</div><br class=""><div class="">
<div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class="">--------</div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class="">Dan Wilcox</div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class=""><a href="http://twitter.com/danomatika" target="_blank" class="">@danomatika</a></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class=""><a href="http://danomatika.com/" target="_blank" class="">danomatika.com</a></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class=""><a href="http://robotcowboy.com/" target="_blank" class="">robotcowboy.com</a></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class=""><br class=""></div><br class="m_-7251947086213567641m_5764030950847187826Apple-interchange-newline">
</div>
<br class=""></div></div></blockquote></div><br class=""><div class="">
<div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class="">--------</div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class="">Dan Wilcox</div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class=""><a href="http://twitter.com/danomatika" target="_blank" class="">@danomatika</a></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class=""><a href="http://danomatika.com/" target="_blank" class="">danomatika.com</a></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class=""><a href="http://robotcowboy.com/" target="_blank" class="">robotcowboy.com</a></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class=""><br class=""></div><br class="m_-7251947086213567641m_5764030950847187826Apple-interchange-newline">
</div>
<br class=""></div></div></div></div><br class="">______________________________<wbr class="">_________________<br class="">
GEM-dev mailing list<br class="">
<a href="mailto:GEM-dev@lists.iem.at" target="_blank" class="">GEM-dev@lists.iem.at</a><br class="">
<a href="https://lists.puredata.info/listinfo/gem-dev" rel="noreferrer" target="_blank" class="">https://lists.puredata.info/li<wbr class="">stinfo/gem-dev</a><br class="">
<br class=""></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""><div class="">
<div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;" class="">--------</div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;" class="">Dan Wilcox</div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;" class=""><a href="http://twitter.com/danomatika" target="_blank" class="">@danomatika</a></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;" class=""><a href="http://danomatika.com/" target="_blank" class="">danomatika.com</a></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;" class=""><a href="http://robotcowboy.com/" target="_blank" class="">robotcowboy.com</a></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;" class=""><br class=""></div><br class="m_-7251947086213567641Apple-interchange-newline">
</div>
<br class=""></div></div></div></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""><div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">--------</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">Dan Wilcox</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;"><a href="http://twitter.com/danomatika" class="">@danomatika</a></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;"><a href="http://danomatika.com" class="">danomatika.com</a></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;"><a href="http://robotcowboy.com" class="">robotcowboy.com</a></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><br class="Apple-interchange-newline">
</div>
<br class=""></div></body></html>