支持嵌入标记和注释/注释的音频/视频文件格式?

发布于 2024-09-28 23:28:58 字数 847 浏览 0 评论 0原文

我正在考虑为 OS X 和/或 iOS 创建一个应用程序,允许用户在音频录制过程中以不同的时间间隔将标记任意嵌入到音频中。最好有一个可以包含此信息的文件,但可能有效或可行,也可能无效。我想这与 YouTube 注释所允许的类似。

要求:

  • 能够在录音的某些时间点插入标记
  • 能够保存标记的名称以及简短说明

这是针对我正在开发的应用程序创建的音频,因此不适用于从其他应用程序导入音频标记的来源。

-- 剪断 --

编辑: 也许是 MP4 + XMP?

EDIT2:有人尝试过在 iOS 平台上将自定义 XMP 字段与音频或视频一起使用吗?在Mac平台上?我已经从 Adob​​e(有一个 Xcode 项目)下载了 XMP Toolkit - 但它有点超出了我的舒适区。从高层次来看,它看起来非常简单,但是任何有使用 XMP Toolkit 经验的人都有什么想法吗?

正如下面的答案所建议的,是否有人有使用替代解决方案(例如带有章节标记的 QuickTime)的经验?各种方法的优点和缺点?

想了想,如果能做一些同时支持音频和视频格式的事情就好了,即使最初当前的需求只是音频。

EDIT3(清理): 所以,只是为了关闭这里的循环。我最终深入研究了 AV Foundation Framework 中 AVAsset、AVMetadataItem 等的 iOS 4.0 API。该项目尚未完成,但看来这些 API 无需外部库即可满足要求。

I am looking at creating an app for OS X and/or iOS that allows the user to arbitrarily embed markers into the audio at various intervals during the audio recording process. It would be nice to have a single file that could contain this information, but may or may not be efficient or feasible. I suppose it is similar to what YouTube annotations allows.

Requirements:

  • Ability to insert markers at certain time points of an audio recording
  • Ability to save a name for the marker as well as a brief description

This is for audio created by the app I'm working on, so is not for importing audio from other sources for markup.

-- snip --

EDIT: Maybe MP4 + XMP?

EDIT2: Has anyone tried using custom XMP fields with Audio or Video on the iOS platform? On the Mac platform? I have downloaded the XMP Toolkit from Adobe (which has an Xcode project) - but it is a touch out of my comfort zone. From a high level it appears pretty straightforward, but anyone with experience with the XMP Toolkit have any thoughts?

As is suggested in an answer below, does anyone have experience with alternative solutions such as QuickTime with chapter markers? Pros and Cons to various approaches?

After thinking about it, it would be nice to do something that supports both audio and video formats, even if initially the current requirement is audio only.

EDIT3 (cleanup):
So, just to close the loop here. I ended up digging into the iOS 4.0 APIs for AVAsset, AVMetadataItem, et al in the AV Foundation Framework. Still have not completed the project, but it appears these APIs will satisfy the requirement without the need for an external library.

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

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

发布评论

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

评论(2

心的憧憬 2024-10-05 23:28:58

你读过 CAF 格式吗?

基本上,它充当许多音频格式的包装器,并允许您嵌入各种数据(以及用户定义的数据)。这可能是一个选择,因为交换不是问题(就您而言)。

CAF 文件规范

have you read up on the CAF format?

basically, it functions as a wrapper for many audio formats, and allows you to embed all sorts of data (as well as user defined data). it may be an option since interchange is not an issue (in your case).

The CAF File Specification

另类 2024-10-05 23:28:58

您可以考虑带有章节轨道的 MPEG-4 或 QuickTime 格式。

You might consider MPEG-4 or QuickTime formats with a chapter track.

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