在 iPhone 中读取 iTunesMovies 文件?
在 iPhone 中,iPod 应用程序以奇怪的名称和奇怪的文件夹(F00、F01 等)保存媒体文件(音频、视频)。 iPhone 中有一个名为 iTunesMovies 的文件,其中包含有关这些视频文件的元数据以及它们如何在 iPod 应用程序中显示的所有信息。我也将其复制到我的 Mac 上,当我尝试在文本编辑中打开该文件时,它显示了一些外来字符,这让我相信它可能是加密的(这只是一个疯狂的猜测)。
我想读取/更改该 iTunesMovies 文件的内容。我可以这样做吗?是否有任何框架可以处理 iTunesMovies 文件?
提前致谢
In iPhone, the iPod app saves the media files (audio, video) with strange names and in weird folders (F00,F01 etc). There is a file named iTunesMovies in iPhone, which contains all the information about the metadata of those video files and how they are to be displayed in iPod app. I copied that to my Mac also, and when i tried to open that file in textEdit, it showed some alien characters which made me believe that it is encrypted may be(Thats just a wild guess).
I want to read/change the contents of that iTunesMovies file. Can i do that? Is there any Framework which deals with that iTunesMovies file?
Thanks in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不认为有一个框架可以做到这一点,但是您可以通过将文件读入 NSData 对象,然后按照您想要的方式操作来自己完成此操作。您的应用程序也必须在沙箱外运行。有件事我不知道该怎么办。
请记住,Apple 不允许这样做,因此您使用此功能制作的任何应用程序都必须通过其他方式分发。
I don't think there's a framework to do this, but you can probably do it yourself by reading the file into an NSData object, then manipulating how you would like. Your app will have to be running outside the sandbox, as well. Something I don't know how to do.
Keep in mind that this isn't allowed by Apple, so any apps you make that use this would have be distributed through other means.