41ch Audio Video( 5760x1200 @ 50fps) Player
Sep 11 2021 | 12:41 pm
Hi guys, I somewhat would like to get your inputs in creating an AV Player. I am trying to create a 2 layer video player with 41channel audio. The video consisted of a background layer and a foreground layer which has alpha channel. I need to display the video output to a screen which has a resolution of 5760x1200 pixels at 50 fps.
I am currently using jit.qt.movie with the textured_output attribute set to 1 to have it processed on the GPU.
My background video is 5760x1200 while the foreground video is 800x700 where I then adjust the positioning and the scaling on the jit.gl.videoplane @scale and @position attributes.
For the audioplayer, I used the spat5.sfplay object to play the 41channel audio.
On my current design, I have a separate audio and video files which I load and play. My issue is that they started to get out of sync after a few seconds despite my video and audio sampling rates were at 48kHz. I then checked the rendered video output and it looked to have dropped to around 20fps. Although when watching the actual footage the audio is lagging. Does this mean that I am short on resources ( eg CPU, GPU and RAM)?
I was wondering whether there would be any pointers which I could try to help resolve my out-of-sync issues.
Many thank's in advance.