简体   繁体   English

在iPhone上创建ADTS框架…问题

[英]Creating ADTS frame on iPhone… problem

I am getting raw aac data from web stream and try to put it in ADTS frame in order to play it on iPhone. 我从网络流中获取了原始AAC数据,并尝试将其放入ADTS框架中以便在iPhone上播放。

It works for 10 seconds then sound stops and restart but seems accelerated or mixed with others audio data. 它可以工作10秒钟,然后声音停止并重新开始,但似乎加速或与其他音频数据混合在一起。

Quicktime and others audio app are unable to open my file. Quicktime和其他音频应用无法打开我的文件。

It seems my ADTS header is wrong but I am unable to find where. 看来我的ADTS标头是错误的,但我找不到位置。 Is there an ADTS guru there which could be help me ? 有没有可以帮助我的ADTS专家?

Here my adts file 这是我的adts文件

Thanks a lot for your help. 非常感谢你的帮助。

Thierry 蒂埃里

PS : do you know a tool to check and report problem in audio file ? PS:您知道检查和报告音频文件中问题的工具吗?

Found. 找到了。

Frame size was not valid. 框架尺寸无效。

Also I found afinfo on os x which is very useful to get file info. 也在 os x上找到afinfo ,这对于获取文件信息非常有用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM