Get decoded frame before it is played
#1
Hi everyone, i have very specific question and i am not sure if i picked right forum for this question.
Currently i am developing real-time game and i want to add support for KODI, what i need is decoded frame before it is shown on screen where is located in source code of kodi or ffmpeg, so i can use openCV or manually to overlay data over frame and then just continue to play frame with overlaid data in kodi. 
If anyone wonders why i can't overlay data before and just play video is because i need data to be overlaid in real time. 

Thanks in advance.
Reply
#2
(2019-11-11, 00:04)bojan1611 Wrote: Hi everyone, i have very specific question and i am not sure if i picked right forum for this question.
Currently i am developing real-time game and i want to add support for KODI, what i need is decoded frame before it is shown on screen where is located in source code of kodi or ffmpeg, so i can use openCV or manually to overlay data over frame and then just continue to play frame with overlaid data in kodi. 
If anyone wonders why i can't overlay data before and just play video is because i need data to be overlaid in real time. 

Thanks in advance.
The frame decoded is on function GetPicture.
https://github.com/xbmc/xbmc/blob/249709...g.cpp#L602
Reply

Logout Mark Read Team Forum Stats Members Help
Get decoded frame before it is played0