1、decode h264 to yuv420, then a black rectangle appears in the top left of each frame;
2、encode yuv420 to h264, then a black rectangle appears in the top left of each frame;
hi,
Looks like you run 02_video_dec_cuda and 03_video_cuda_enc.
Please try 00_video_decode and 01_video_encode.