在 iPhone 应用程序中创建 YouTube 视频
我正在做一个项目,我们想要在 iPhone 应用程序中创建视频并将其上传到 YouTube。我看到您使用 Google 的数据 API (http://code.google.com/p/gdata-objectivec-client/) 上传视频。
不过,您似乎需要将电影作为实际电影上传。有没有人有过以 YouTube 通过数据 API 接受的格式制作电影的经验,并愿意给我一些可行的建议?
(简单说明一下,我不能在这个项目中使用隐藏的 API)
非常感谢
I'm doing a project where we want to create a video inside an iPhone app and upload it to YouTube. I've seen the you upload the video using Google's Data API (http://code.google.com/p/gdata-objectivec-client/).
However it seems that you need to upload the movie as an actual movie. Has anyone got any experience on making a movie in a format that YouTube will accept via the Data API and care to give me a few pointers on what would work?
(Just a quick note, I cannot use hidden APIs for this project)
Many thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
YouTube 接受多种格式。只要自己尝试一下,使用任何免费的视频编辑软件创建一个短片并将该电影上传到 YouTube,几乎可以保证 YouTube 能够处理它。
你问题的第二部分是 ios 是否能够从静止帧生成电影,那么答案是 - 是 - 并且你想看看 AVFoundation,特别是 AVAssetWriter
Youtube accepts a broad range of formats. Just try it yourself, use any free video editing software to create a short movie and upload that movie to youtube, you're almost guaranteed that youtube would be able to process that.
The second part of your question is whether ios is able to produce a movie from still frames, then the answer is - yes - and you want to look at AVFoundation, particularly at AVAssetWriter