BPI-M2U FFMPEG UDP Streaming Question

I`m purchase BananaPi B2U using A40i chip.

I`m trying to implement OV5640 Camera Input -> H.264 Encoding -> Streaming using FFMPEG

Here, I`m going to use H/W encoding instead of S/W encoding to see the video in real time.

In BananaPi and OrangePi SOC, FFMPEG H / W encoding seems to exist only when the pixel format is NV12.(Cedrus264)

So, try ffmpeg-3.1.4 -f v4l2 -channel 0 -i / dev / video0 -s 1280x720 -pix_fmt nv12 -c: v cedrus264 -f mpegts testFile.ts and it seems that H/W encoding works normally.

However, for streaming, ffmpeg-3.1.4 -f v4l2 -channel 0 -i / dev / video0 -s 1280x720 -pix_fmt nv12 -c: v cedrus264 -f mpegts udp: //239.2.1.1:5544?Pkt_size=1316

Video output does not work.

Using Software Codec, ffmpeg-3.1.4 -f v4l2 -channel 0 -video_size 1280x720 -i /dev/video0 -pix_fmt yuv422p -c:v libx264 -f mpegts udp://239.2.1.1:5544 is work.

To verify, capture the data through the wire shark using the mirroring port, and the data will not play back as well.

Can I get some tips to fix this?