hbiyik / FFmpeg

PLEASE USE https://github.com/nyanmisaka/ffmpeg-rockchip REPO INSTEAD.
https://github.com/nyanmisaka/ffmpeg-rockchip
Other
90 stars 7 forks source link

hevc can not transcode to matroska #11

Closed hbiyik closed 1 year ago

hbiyik commented 1 year ago

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.

hbiyik commented 1 year ago

fixed in 4dc6b8456a40f21b5d388ae4363277934fe46002