We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
背景:我在使用rk3588 android的TIF框架的录制功能,发现rk的tv_input hal功能不完善,尝修改固件源码:rockchip\tv_input\enc\RKMppEncApi.cpp
问题描述:使用mpp编码h264,encode_get_packet后通过MppEncodeServer或者直接fd写到文件,播放h264裸流文件,出现严重花屏,
线索1:用ffplay播放到花屏画面时有如下报错 [h264 @ 000001b35c129380] left block unavailable for requested intra4x4 mode -1 [h264 @ 000001b35c129380] error while decoding MB 0 44
线索2:多次dump,发现出现花屏的frame差不多在第50帧左右,无论是否调整gop大小、码率参数,情况不变
线索3:如果配置编码器(head mode)在每个idr之前attach sps和pps,大概率会导致idr帧数据被破坏,导致文件不可播放
线索4:切换(slice split mode)单slice和多slice,同样会出现该问题
附件 1)h264流文件 2)mpp配置源码 配置源码和视频文件.zip
The text was updated successfully, but these errors were encountered:
No branches or pull requests
背景:我在使用rk3588 android的TIF框架的录制功能,发现rk的tv_input hal功能不完善,尝修改固件源码:rockchip\tv_input\enc\RKMppEncApi.cpp
问题描述:使用mpp编码h264,encode_get_packet后通过MppEncodeServer或者直接fd写到文件,播放h264裸流文件,出现严重花屏,
线索1:用ffplay播放到花屏画面时有如下报错
[h264 @ 000001b35c129380] left block unavailable for requested intra4x4 mode -1
[h264 @ 000001b35c129380] error while decoding MB 0 44
线索2:多次dump,发现出现花屏的frame差不多在第50帧左右,无论是否调整gop大小、码率参数,情况不变
线索3:如果配置编码器(head mode)在每个idr之前attach sps和pps,大概率会导致idr帧数据被破坏,导致文件不可播放
线索4:切换(slice split mode)单slice和多slice,同样会出现该问题
附件
1)h264流文件
2)mpp配置源码
配置源码和视频文件.zip
The text was updated successfully, but these errors were encountered: