Frame data extraction and pipeline halts/hangs after 7 minutes of run

Unfortunately, I don’t know what this 7 min problem was about, but obviously my solution was incorrect.
Eventually, I found the correct method of access and decoding the frame data explained here
and here

Now everything works fine