音频编码:AAC 文件,曲目末尾没有 1/10 秒静音

发布于 2024-09-19 11:50:35 字数 350 浏览 5 评论 0原文

我对一直遇到的一个问题感到有点困惑。我正在尝试创建一些声音循环来连续播放、无缝背景音乐..只要我保持在 AAC/WAV/ 等格式,一切都很好,但是一旦我将文件编码为 AAC,我就会遇到 1/10 的问题声音文件末尾的一秒。

我使用的是 Mac,因此我尝试使用 iTunes、Compressor(包含在 Final Cut Pro 中)、Adobe Soundbooth 以及最后的 Audacity 进行编码。我总是在赛道末端看到那个愚蠢的 1/10 间隙。

这是 AAC 编码中固有的东西吗?最后一个包/帧/无论正确的术语是否必须保持沉默?

知道如何用 AAC 编码声音文件而不在最后出现间隙吗?

任何帮助将非常感激。

I'm a little confused with an issue that I keep running into. I'm trying to create some sound loops for continuously playing, seamless background music.. everything's fine as long as I stay in AAC/ WAV/ etc, but as soon as I encode the files in AAC I run into a 1/10 of a second at end of the sound file.

I'm on the Mac, so I've tried encoding with iTunes, Compressor (included in Final Cut Pro), Adobe Soundbooth and finally Audacity. I keep getting that stupid 1/10 gap at the end of the track.

Is this something inherent in AAC encoding.. does the last package/frame/whatever-the-right-term-is have to be silent?

Any idea on how I can encode a sound file in AAC without getting that gap at the end?

Any help would be very much appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

听你说爱我 2024-09-26 11:50:49

好吧,现在已经晚了很多年了,但我一直在努力寻找同一问题的答案。

我设法解决了它。我使用 Twisted Waves 将其导出为 mp4,然后我只需将文件名从 MP4 切换为 M4a 以实现兼容性。我怀疑类似的东西也适用于其他程序。

Okay, so this is years late, but I was trying to find the answer to this same question.

I managed to solve it. I used Twisted Waves to export it as an mp4, then I simply switch the filename from MP4 to M4a for compatibility. I suspect something similar would work in other programs as well.

小清晰的声音 2024-09-26 11:50:47

这在某种程度上是 MP3 固有的,因为相同长度的“块”被写入文件,而不是允许定义块的长度(例如 OGG/Vorbis 所做的)。 LAME 似乎有一个“无间隙”功能,允许 MP3 文件具有精确的长度。

如果正确理解互联网上的信息(此 Hydrogenaudio.org 论坛条目例如,AAC 也遇到同样的问题,并且似乎有一些编码器能够设置的无间隙标签。在提供的链接中,据说最新版本的 iTunes+Quicktime 可以插入此类标签。

This is somewhat inherent to MP3 because "blocks" of the same length are written to the files instead of allowing to define the length of a block (like OGG/Vorbis does, for example). LAME seems to have a "gapless" feature that allows MP3 files of exact length.

If understand the information on the Internet correctly (this hydrogenaudio.org forum entry for example, AAC suffers from the same problem and there seems to be a gapless tag that some encoders are able to set. In the provided link, it is said that a recent version of iTunes+Quicktime can insert such tags.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文