简体   繁体   English

从未知格式转换音频

[英]Converting Audio From Unknown Format

I would like to create a utility in either PHP or Perl to convert an audio file created by the Nortel's Callpilot voice mail system into a wave file.我想在 PHP 或 Perl 中创建一个实用程序,将由 Nortel 的 Callpilot 语音邮件系统创建的音频文件转换为波形文件。 The problem is that the format, which has the .vbk file extension, is unknown to virtually any audio player.问题是具有 .vbk 文件扩展名的格式对于几乎所有音频播放器都是未知的。 To date, I have not found one that will play a .vbk file.迄今为止,我还没有找到可以播放 .vbk 文件的软件。 I've looked at audio file conversion libraries in CPAN and tried many of them, they don't recognize the file.我查看了 CPAN 中的音频文件转换库并尝试了很多,它们无法识别该文件。 I was not successful with PHP's audio formats manipulation either.我也没有成功处理 PHP 的音频格式。 Nortel does provide a converter, however, it does not suite my needs.北电确实提供了转换器,但是,它不适合我的需要。 I would like to have this run via cron on a CentOS system.我想在 CentOS 系统上通过 cron 运行它。 I don't know how to reverse engineer this format.我不知道如何对这种格式进行逆向工程。 There seems to be just scraps of info on this format on the web.网络上似乎只有一些关于这种格式的信息。 This page indicates that it is "based on the H.232 format": https://www.odesk.com/o/jobs/job/Reverse-Engineer-Nortel-VBK-Audio-Format_~~f501f11679f3f6bb/此页面表示是“基于H.232格式”: https ://www.odesk.com/o/jobs/job/Reverse-Engineer-Nortel-VBK-Audio-Format_~~f501f11679f3f6bb/

Well, this is the joy of closed proprietary systems.嗯,这就是封闭专有系统的乐趣。 But there is a chance they could play nice.但他们有机会打得很好。 Try to contact Callpilot and see if they'll give you the format specs.尝试联系 Callpilot,看看他们是否会给您格式规范。 It's worth a shot.值得一试。

As for reverse engineering, you need to be able to generate known content.至于逆向工程,您需要能够生成已知内容。 Like a constant tone at 60Hz for exactly 1 second.就像 60Hz 的恒定音调持续 1 秒。 Then at 50Hz.然后在 50Hz。 Then at 10 seconds.然后在 10 秒。 Compare them.比较它们。 Isolate the data from the metadata.将数据与元数据隔离。 There is going to becompression involved, so try a handful of common compression schemes, maybe research into Nortel's practices will probably tell you more.会涉及到压缩,所以尝试一些常见的压缩方案,也许对北电实践的研究可能会告诉你更多。 If you can feed that into a player and get a tone back out, you're on your way.如果您可以将其反馈给玩家并恢复音调,那么您就在路上。

There's probably more informed and structured ways to go about reverse engineering, but from my experience it's a lot of trial and error.可能有更明智和结构化的方法来进行逆向工程,但根据我的经验,这是很多试验和错误。

I know this is a very old thread, but I've recently been looking into converting Nortel's vbk format as well.我知道这是一个非常古老的线程,但我最近也在研究转换北电的 vbk 格式。 Importing the vbk files into Audacity with raw data option, Encoding: U-Law, Byte order: little-endian, Channels: 1 Channel (Mono), Sample rate: 8000 Hz.使用原始数据选项将 vbk 文件导入 Audacity,编码:U-Law,字节顺序:little-endian,通道:1 通道(单声道),采样率:8000 Hz。 Not sure if they have multiple formats for their vbk files, but mine were from a BCM50 phone system.不确定他们的 vbk 文件是否有多种格式,但我的来自 BCM50 电话系统。

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

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