从任何格式恩code视频的FLV在AS3格式 [英] Encode video from any format to .flv format in AS3

查看:216
本文介绍了从任何格式恩code视频的FLV在AS3格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有在动作脚本的任何库,能够把任何视频格式FLV的?

Is there any library in Action Script that be able to convert any video format to .FLV?

我一直在寻找它,但没有成功。我认为,AS3已经为目的,但没有找到。

I've been looking for it with no success. I thought that as3 had functions for that purposes but not found.

我想给在我的网站,用户可以上传任何视频的可能性,所以我需要将其转换为一个标准的COM preSS到一个固定的分辨率。

I want to give the possibility that in my site, users can upload any video, so I need to convert it to a standard and compress it to a fixed resolution.

在此先感谢。

推荐答案

有一个的 FLV恩codeR AS3库。至于我记得它需要像字节和音频字节的帧。但是,你将获得的图像数据和声音数据的地方。你既可以

There's a FLV encoder AS3 library. As far as I remember it requires image bytes and audio bytes for a frame. But you will have to get image data and sound data somewhere. You could either

  1. 在闪光灯和抢播放视频截图
  2. 在德code,并得到实际数据

在第一种情况下,你会最终有一个MP4 / FLV - > FLV转换器,它我猜是不是你所需要的。在第二种情况下,你必须以某种方式去code视频。所以,你要么必须实现解码algorythms在AS3或使用炼金术和现有的C / C ++的解决方案。

In the first case you'll end with a mp4/flv -> flv converter which I guess is not what you need. In the second case you will have to decode videos somehow. So you either will have to implement decoding algorythms in AS3 or use Alchemy and existing C/C++ solutions.

Adob​​e正在搞乱了炼金术的时刻,所以我想这是不是一种选择呢。

Adobe is messing up with Alchemy at the moment, so I guess it is not an option anyway.

但每个人都在他们的脑海使用服务器端脚本来转换视频。有吨的网络文章。这将是最简单,最快速和最痛苦的解决方案。

But everyone in their mind uses a server-side script to convert videos. There are tons of articles in the web. This will be the simplest, fastest and least painful solution.

这篇关于从任何格式恩code视频的FLV在AS3格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆