Still need more time to understand the existing structure of the code. I guess sceMpegInit could be a possible place to do something there.