如何录制/拼接FLV片段?
我正在为一家想要为其用户创建服务的公司开发一个应用程序。该公司目前提供长度约为 1.5 小时的视频,他们想要集成的服务是让用户能够“录制”这段较大视频的剪辑,以创建一个精彩片段。这项服务的最终结果将是一个 3 分钟的视频,其中包含了 1.5 小时长视频中用户最喜欢的部分。有道理吗?
为了简单地提出我的问题,想象用户交互是非常基本的。用户观看视频时,他/她可以按“录制”来录制主视频的剪辑。现在...我已经知道 ByteArray 的 Thibault 的 FLVslicer,但我想除了这个人的框架之外,肯定还有其他一些方法来记录/拼接/合并 FLV 剪辑。
最后,我的问题是:你们中有人知道除了使用 FLVslicer 之外我如何研究创建此功能的最佳方法吗?我似乎找不到任何其他途径来“录制”这样的视频剪辑。 (编辑:Vi 对于如何在 Flash 应用程序之外完成此任务给出了精彩的答复,但我的好奇心仍然在于是否可以纯粹在 Flash 中完成此操作。尽管如此,Vi 还是高五!)
谢谢 ,请提供您的意见
布莱克
I'm working on an application for a company that wants to create a service for their users. This company currently offers videos that are around 1.5 hours in length, and the service they want to integrate is the ability for the user to 'record' clips of this larger video to create, essentially, a highlight reel. The end result of this service would be a 3 minute video of the user's favorite parts of a huge 1.5 hour long video. Make sense?
For the sake of simplicity in asking my question, imagine the user interaction to be very basic. The user watches the video, he/she can press 'record' to record a clip of the master video. Now... I'm already aware of FLVslicer by Thibault at ByteArray, but I've thought surely there is some other approach to recording / splicing / merging FLV clips than just this guy's framework.
And so finally, my question is: do any of you have insight as to how I might investigate the best way to create this functionality aside from using FLVslicer? I can't seem to find any other route for "recording" clips from videos like this. (EDIT: Vi gave a fantastic response about how to accomplish this outside of the Flash app, but my curiosity is still aimed at if this can be done purely within Flash. High five though, Vi!)
Thanks for your input,
Blake
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
例如,使用 ffmpeg/mkvtools:
test.mkv 将包含 video.flv 中的 0:05-0:15+0:45-0:55。没有重新编码=>无质量损失。
但是,如果您的源视频未编码为 flv,那么最好首先从原始视频中准备视频,然后作为最后一步编码为 flv。它速度较慢,但更正确、更灵活。
For example, use ffmpeg/mkvtools:
test.mkv will contain 0:05-0:15+0:45-0:55 from video.flv. No re-encoding => no quality loss.
But if you have the source video not encoded as flv it's may better to prepare the video from raw first and then encode to flv as the last step. It is slower, but more correct and flexible.
你检查过 Thibault Imbert 的 FLVSlicer 了吗:http://www.bytearray.org/?p=955
它似乎做(或多或少:))你想要的。
干杯
have you checked FLVSlicer by Thibault Imbert : http://www.bytearray.org/?p=955
it seems to do ( more or less :) ) what you want.
cheers