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
在你的示例项目和我照着你的代码敲的demo中,重打包功能都出现了一个异常 一开始我以为是模拟器的问题,可是后面运行到平板上发现也有这个问题。 平板系统版本:6.0.1
The text was updated successfully, but these errors were encountered:
MP4Repack 中的 val buffer = ByteBuffer.allocate(500 * 1024) 改为 val buffer = ByteBuffer.allocate(1024 * 1024)
MP4Repack
val buffer = ByteBuffer.allocate(500 * 1024)
val buffer = ByteBuffer.allocate(1024 * 1024)
原因是你使用了一个高码率的源视频,而你设置的缓冲区太小 导致溢出
@XWS
Sorry, something went wrong.
那是不是应该动态的设置为源视频的码率大小?
@XWS 理论上是的,但是因为是 demo 所以我没仔细验证。你可以试试看
No branches or pull requests
在你的示例项目和我照着你的代码敲的demo中,重打包功能都出现了一个异常
一开始我以为是模拟器的问题,可是后面运行到平板上发现也有这个问题。
平板系统版本:6.0.1
The text was updated successfully, but these errors were encountered: