mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 07:31:22 +01:00
rk3588 h264_rkmpp/hevc-rkmpp encoder can not be found #228
Labels
No labels
bug
enhancement
help wanted
invalid
pull-request
question
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: starred/ffmpeg-rockchip#228
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @flyingbird1002 on GitHub (Dec 5, 2025).
@flyingbird1002 commented on GitHub (Dec 5, 2025):
This issue is the same as 240
I try a lot, but it can not be solved;
I refer to "https://blog.csdn.net/Leon_Chenl/article/details/145042973" , a lot of person encounter this problem:
@flyingbird1002 commented on GitHub (Dec 5, 2025):
编码器找不到,但解码器可以找到
// 查找解码器
rk_h264_decodec = avcodec_find_decoder_by_name(DECODEC_NAME);
if (!rk_h264_decodec) {
std::cerr << "Codec '" << DECODEC_NAME << "' not found" << std::endl;
exit(1);
}
else
{
std::cerr << "decoder '" << DECODEC_NAME << "' found" << std::endl;
}
// 查找编码器
rk_hevc_encodec = avcodec_find_encoder_by_name(ENCODEC_NAME);
if (!rk_hevc_encodec) {
std::cerr << "Codec '" << ENCODEC_NAME << "' not found" << std::endl;
exit(1);
}
else
{
std::cerr << "encoder '" << ENCODEC_NAME << "' found" << std::endl;
}
运行结果是:decoder 'h264_rkmpp' found
Codec 'hevc_rkmpp' not found
@nyanmisaka commented on GitHub (Dec 5, 2025):
Unable to reproduce. This is not an ffmpeg-rockchip issue.
2eb0b5dc03/libavcodec/allcodecs.c (L865)2eb0b5dc03/libavcodec/allcodecs.c (L876)