I work at r28.1. Use the following command to encode.
Color is not normal, blue and red will flicker repeatedly.
- H.264 and H.265 have this phenomenon, H.265 more obvious.
- The lower the encode bitrate, the more obvious.
- Preset-level set to Slow, the effect is better than Ultrafast.
- Encoding with MMAPI is the same.
gst-launch-1.0 videotestsrc pattern=0 ! 'video/x-raw, format=I420, width=3840, height=2160, framerate=25/1' ! nvvidconv ! 'video/x-raw(memory:NVMM), width=3840, height=2160, framerate=25/1, format=I420' ! omxh265enc bitrate=4000000 ! 'video/x-h265, stream-format=(string)byte-stream' ! rtph265pay pt=98 ! udpsink host=192.165.53.23 port=4000