Open Jie-Fang opened 1 year ago
I found this issue when I tried to write a cpp module where the decoded NV12 frames will be converted to RGB, then the RGB frames are converted to NV12 again. The output video is similar as the results I describe above. So, I suspect there're some issues in the c_modules cooperating with gpu decoding.
"tried to write a cpp module where the decoded NV12 frames will be converted to RGB, then the RGB frames are converted to NV12 again", so if you don't use this module but just copy_module, the issue still exist?
Module: test/c_module
The output video isn't encoded normally. There're green and red area in the pictures.
But with CPU decoding and GPU encoding, the results are good.