Processor overload jittery video
-
@vidasonik said:
I use H.264 cos the file size is much smaller than Pro Res 422 but maybe I should convert to HAP?
H.264 is smaller because it uses more compression. This also means that more resources are needed to decompress the video. This will be either CPU or GPU time depending on the system. H.264 also merges frames as part of the compression method This means that jumping to any specific frame in the video requires loading and decompressing a number of frames (since data is shared). This method works well for linear forward playback, but not much else.
Pro Res and HAP both compress each frame individually, so jumping to any specific frame is a matter of loading the frame and decompressing the single frame.
In the case of HAP, decompression occurs on the GPU, leaving more CPU available for Isadora. This makes HAP the best choice for highly interactive projects. -
@dusx Great! So how do i convert my videos to HAP?
-
I corrected a typo in my post above. I did write "on the left side you see the different codecs" but I meant on the right side.
The HAP codec will possibly give you larger files than AppleProRes 422. To convert videos to HAP you have to install the HAP Codec first (https://github.com/vidvox/hap-...) and then for converting you can use this batch converter (https://github.com/Vidvox/hap-...)
Best Michel
-
@michel Hi Michel thanks so much! I've converted one video and replaced the original with the HAP version and it seems much better!
-
@michel Hi Michel I have created a user actor which includes Displace and have GPU to CPU converter at start of path and then CPU to GPU converter at end. Is this a reasonable solution?
The alternative that Mark suggested does not have inputs for 2 videos.
Cheers, Dave
-
Well I guess if you have nothing else in that chain that needs gpu you don't need to convert back to gpu. at the end also cpu will get pushed to the gpu to go out of your computer.
Best Michel
-
@vidasonik said:
The alternative that Mark suggested does not have inputs for 2 videos.
I think you perhaps are trying the wrong code.
the GLSL code posted at the end of the forum thread: https://community.troikatronix...
Appears with 2 inputs for me. -
@dusx this is the one i downloaded, I can't find another one?
-
@dusx wow i've done it - I copied the code into the GLSL Shader !
-
@vidasonik I realise no-one out there will be impressed. But I'm impressed with myself!
-
@vidasonik said:
@dusx wow i've done it - I copied the code into the GLSL Shader !
Great! Feels amazing when you do something new and it works :)