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

decoder cant decode the encoded files #8

Closed hbiyik closed 1 year ago

hbiyik commented 1 year ago

it plays fine when used ie: h264 soft decoder, but the encoded files are not always plaed when decoded with rkmpp.

god knows why...

here is the output of hevc file, h264 does not even play.. image

hbiyik commented 1 year ago

fixed for h264 at 20985fa466ef6a07c73b53393356748d95a75fb7

still hevc output files have problems. mpp hardware is crashing dmesg:

Jun 21 19:29:25 alarm kernel: mpp_rkvdec2 fdc48100.rkvdec-core: reset done
Jun 21 19:29:25 alarm kernel: mpp_rkvdec2 fdc38100.rkvdec-core: resetting...
Jun 21 19:29:25 alarm kernel: mpp_rkvdec2 fdc38100.rkvdec-core: reset done
Jun 21 19:29:25 alarm kernel: mpp_rkvdec2 fdc48100.rkvdec-core: resetting...
Jun 21 19:29:25 alarm kernel: mpp_rkvdec2 fdc48100.rkvdec-core: reset done
Jun 21 19:29:25 alarm kernel: mpp_rkvdec2 fdc38100.rkvdec-core: resetting...
Jun 21 19:29:25 alarm kernel: mpp_rkvdec2 fdc38100.rkvdec-core: reset done
Jun 21 19:29:25 alarm kernel: mpp_rkvdec2 fdc48100.rkvdec-core: resetting...
Jun 21 19:29:25 alarm kernel: mpp_rkvdec2 fdc48100.rkvdec-core: reset done
Jun 21 19:29:25 alarm kernel: mpp_rkvdec2 fdc38100.rkvdec-core: resetting...
Jun 21 19:29:25 alarm kernel: mpp_rkvdec2 fdc38100.rkvdec-core: reset done
Jun 21 19:29:25 alarm kernel: mpp_rkvdec2 fdc48100.rkvdec-core: resetting...
Jun 21 19:29:25 alarm kernel: mpp_rkvdec2 fdc48100.rkvdec-core: reset done
Jun 21 19:29:25 alarm kernel: mpp_rkvdec2 fdc38100.rkvdec-core: resetting...
Jun 21 19:29:25 alarm kernel: mpp_rkvdec2 fdc38100.rkvdec-core: reset done
Jun 21 19:29:25 alarm kernel: mpp_rkvdec2 fdc48100.rkvdec-core: resetting...
Jun 21 19:29:25 alarm kernel: mpp_rkvdec2 fdc48100.rkvdec-core: reset done
Jun 21 19:29:25 alarm kernel: mpp_rkvdec2 fdc38100.rkvdec-core: resetting...
Jun 21 19:29:25 alarm kernel: mpp_rkvdec2 fdc38100.rkvdec-core: reset done
Jun 21 19:29:25 alarm kernel: mpp_rkvdec2 fdc48100.rkvdec-core: resetting...
Jun 21 19:29:25 alarm kernel: mpp_rkvdec2 fdc48100.rkvdec-core: reset done
Jun 21 19:29:25 alarm kernel: mpp_rkvdec2 fdc38100.rkvdec-core: resetting...
Jun 21 19:29:25 alarm kernel: mpp_rkvdec2 fdc38100.rkvdec-core: reset done
hbiyik commented 1 year ago

hevc fixed in d8ecadf7de6ec350502b2613dfc34c815969b518