<div dir="ltr">Try to make sure the ffmpeg decoding happens on different actual cores. osg currently cannot detect hyperthreading, so the decode threads can end up on the same core. Try to see in taskmanage (for windows) or top (for linux) how many cores you actually use - this might hint to the problem.<div>The ImageStream sends frames one by one to the gfx in the graphics thread, after detecting that a decoding thread changed the modified count.</div><div>Regards, Laurens.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 5, 2017 at 12:02 PM, Michael Maurus <span dir="ltr"><<a href="mailto:michael.maurus@web.de" target="_blank">michael.maurus@web.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello everyone,<br>
<br>
I am currently trying to display a video (mp4) on a textured quad using the osgmovie example. When displaying two of those, I suddenly get a frame drop from 60fps to 12fps.<br>
<br>
So my question: what's the proper way to to this without performance issues?<br>
<br>
I am not sure how the ImageStream class works in the background. Already looked at the source code but I couldn't figure out, if the current video frame will be loaded to the graphics cards every frame or the whole video will be uploaded to GPU memory<br>
<br>
Thank you!<br>
<br>
Cheers,<br>
Michael<br>
<br>
------------------<br>
Read this topic online here:<br>
<a href="http://forum.openscenegraph.org/viewtopic.php?p=72108#72108" rel="noreferrer" target="_blank">http://forum.openscenegraph.<wbr>org/viewtopic.php?p=72108#<wbr>72108</a><br>
<br>
<br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.<wbr>openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.<wbr>org/listinfo.cgi/osg-users-<wbr>openscenegraph.org</a><br>
</blockquote></div><br></div>