Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to get key input frame from packet meta when encoding with h264_rkmpp encoder #101

Open
lumiaJJ opened this issue Aug 21, 2024 · 7 comments
Labels
question Further information is requested

Comments

@lumiaJJ
Copy link

lumiaJJ commented Aug 21, 2024

Hi,
I am transcoding two streams with h264_rkmpp encoder. But I got an error when my program called av_hwframe_transfer_data before encoded the frame. This is an occasional problem, I got some information from this blog :https://brainly.com/question/43026554.
Can you help to analyze the issue from mpp extension's point of view.

[h264_rkmpp @ 0x7fa4015560] Failed to get key input frame from packet meta: -1
malloc(): unaligned tcache chunk detected

MPP log:

orangepi5b mpp[79235]: mpp_mem_pool: mpp_mem_pool_put_f invalid mem pool ptr 0x7f7c003b48 node 0x7f7c003b20 check (nil)

@nyanmisaka nyanmisaka added the question Further information is requested label Aug 21, 2024
@nyanmisaka
Copy link
Owner

The MPP library itself contains some bugs. Use nyanmisaka/mpp instead.

@lumiaJJ
Copy link
Author

lumiaJJ commented Aug 21, 2024

The MPP library itself contains some bugs. Use nyanmisaka/mpp instead.

nyanmisaka/mpp is already used to build MPP library, I will checked the version in my local tomorrow.

@lumiaJJ
Copy link
Author

lumiaJJ commented Aug 22, 2024

@nyanmisaka Hi, checked version of nyanmisaka/mpp in my local env. The lastest commit is 4ded78b9510145fa79bcd51beb1591450c872277 (grafted, HEAD -> jellyfin-mpp, origin/jellyfin-mpp) is same as remote's

@lumiaJJ

This comment was marked as duplicate.

@nyanmisaka
Copy link
Owner

I can't reproduce with the command described in the Wiki. https://github.com/nyanmisaka/ffmpeg-rockchip/wiki

Can you share a minimal code sample that can be compiled?

@lumiaJJ
Copy link
Author

lumiaJJ commented Aug 22, 2024

I can't reproduce with the command described in the Wiki. https://github.com/nyanmisaka/ffmpeg-rockchip/wiki

Can you share a minimal code sample that can be compiled?

Ok,I will provide it asap.

@lumiaJJ
Copy link
Author

lumiaJJ commented Aug 24, 2024

#104 Hi, the issue might be related with this PR. You can enable MJPEG decoding to produced. And qsv_decode.c can be a a minimal code sample to test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants