@DaneLLL , Hi,
i just added enable-max-performance=1 for nvv4l2decoder and as magic it works great!
the pipeline:
appsrc name=mysrc ! h264parse ! nvv4l2decoder enable-max-performance=1 ! nvvidconv ! video/x-raw(memory:NVMM), width=%d, height=%d, format=NV12 ! nvv4l2h264enc control-rate=1 bitrate=%d peak-bitrate=%d ! video/x-h264, profile=baseline ! rtph264pay pt=96 name=pay0 "
i still have WARN like i wrote above …
do you have any explanation why it happened ?
i looked on this post: https://forums.developer.nvidia.com/t/nvv4l2decoder-connot-decode-h264-gdr-file/154401/13
and i tried your solution…
i do have the problem with ffmpeg:
> [h264 @ 0x55a975e5b0] Missing reference picture, default is 0 > [h264 @ 0x55a975e5b0] decode_slice_header error > [h264 @ 0x55a975e5b0] SEI type 1 size 1040 truncated at 848 > [h264 @ 0x55a975e5b0] SEI type 1 size 1040 truncated at 832 > [h264 @ 0x55a975e5b0] SEI type 1 size 1040 truncated at 848 > [h264 @ 0x55a975e5b0] SEI type 1 size 1040 truncated at 832 > [h264 @ 0x55a975e5b0] SEI type 1 size 1040 truncated at 848 > [h264 @ 0x55a975e5b0] SEI type 1 size 1040 truncated at 832
please can you explain to me why it works now ?