[osg-users] [osgPlugins] Multiple video textures using ffmpeg plugin

Michael Maurus michael.maurus at web.de
Thu Oct 5 07:41:42 PDT 2017


This was actually a nice hint.
Only one of my CPUs was working at full capacity.

The FFmpegImageStream inherits from OpenThreads.
So I should have two separate threads for both decoders, right?

Is there a possibility to SetProcessorAffinityOfCurrentThread() from outside FFmpegImageStream?

How about ffmpeg plugin puts different encoders in different processors?
And why doesn't it upload a bunch of frames (maybe even the whole video) as a texture2darray to the graphics card which would improve performance even further?

Is it possible to create a Texture2DArray out of the loaded ImageStream to do that manually?

Cheers, Michael

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=72112#72112







More information about the osg-users mailing list