Closed timonsku closed 9 years ago
Mainly the size of the texture
Oh I see so if i have a higher resolution than 1920x1080 I may need more than 128MB? Is vertical/horizontal resolution the limiting factor meaning if I have 4096x60 or 60x4096 it creates a 4096x4096 texture or the total amount of pixels?
it allocates a texture/pixel array (if in texture mode) of the width/height of the video. The pixels are not updated unless updatePixels
is called.
Pixels are needed to create the EGLImage so I don't discard them (even though you may not be using pixels) as reallocating them is expensive.
I personally haven't used larger video than 1080p - if I am using textures I stick with 720p as it usually looks good enough for my taste
Ah I see but you don't keep all video frames in ram or anything like that which would limit the maximum video runtime?
No - I don't keep any video frames in RAM on the addon side
I am just getting back into updating some stuff so closing this for organization/see what to do next but feel free to continue comments if you have questions
In the README it says "GPU split set to 128 (may need to be higher for larger videos)". What exactly is the determining factor here? Simply size? Meaning a 4 minute video is fine with 128MB but an hour long video needs 256MB? Or is it bitrate and or framerate that dictates the size?