I am trying to impose webcam feed onto an mp4 video. audio is being played on a new thread. There are no issues when i run it on the laptop but on the tx2 device, the background mp4 video is being played in slowmotion.
i have created a while loop that takes frames one at a time, and then imposes the camera frame as a small window onto the mp4 video frame and then displays it.
( while debugging i found out that when i play the mp4 video it displays it properly but the moment i read a camera frame in the while loop, even if im not displaying or imposing the camera frame, only reading it… it starts lagging. )