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
g726 解码有爆音, 对比解码 pcm 文件与 ffmpeg 转码的结果不同 实测发现 g726 state 有错误
其中
jtt1078-video-server/src/main/java/cn/org/hentai/jtt1078/codec/g726/G726.java
Lines 242 to 246 in 6ec4b5e
应为
if (dqsez != 0) { if (pks1 == 0) state.a[0] += 192; else state.a[0] -= 192; }
The text was updated successfully, but these errors were encountered:
另外 g726 编码只有大端序, 设备基本是小端序的, 需要一个 bit stream 来处理小端序 IO 可以参考 https://github.com/herbix/bitstream
Sorry, something went wrong.
我怎么看你发的那两段代码是一模一样的呢?
No branches or pull requests
g726 解码有爆音, 对比解码 pcm 文件与 ffmpeg 转码的结果不同
实测发现 g726 state 有错误
其中
jtt1078-video-server/src/main/java/cn/org/hentai/jtt1078/codec/g726/G726.java
Lines 242 to 246 in 6ec4b5e
应为
The text was updated successfully, but these errors were encountered: