The reason is, avctx->extradata is not holding the pps/vps values because it crashes the decoder due to redundant pps nals. This is most likely an FFMpeg bug trigerred by mpp issues.
[out#0/matroska @ 0x55816039d0] [error] Could not write header (incorrect codec parameters ?): Invalid data found when processing input
[vost#0:0/hevc_rkmpp_encoder @ 0x5581622fb0] [error] Error initializing output stream:
mp4 works though. use mp4 for now until there is a better solution.
The reason is, avctx->extradata is not holding the pps/vps values because it crashes the decoder due to redundant pps nals. This is most likely an FFMpeg bug trigerred by mpp issues.
mp4 works though. use mp4 for now until there is a better solution.