I'm desiging a video recording system on DM365 with DVSDK 4.0 . The input source is composite D1 video. The captured video is sent to H.264 Video Encoder and display device.
I use DMAI for video capture/encode/display. The displayed video is NOT the same size as captured video, so Resizer is required. Since H.264 video encoder for DM365 accepts only YUV420SP input, I have two choice:
A). configure DMAI Capture to output YUV420SP video to make H.264 encoder happy. But the problems is:
1.DMAI Resizer doesn't work for YUV420SP.
2.If capture in 420SP mode, the resizer driver in linux kernel doesn't allow to be opened again.
B). configure DMAI Capture to output UYVY video to make Resizer happy. But the problem is: I have to convert UYVY to YUV420SP. I'm not sure if DMAI Resizer can do this. Even if the Resizer do, it will consume additional DDR bandwidth.
Can anyone give me some advice? thanks