录制 SWF 并转换为 FLV
我的数据库中有大量视频,无法直接访问,但我可以一一播放并录制它们。现在我想编写一个程序(可能用 C# 编写),它将获取 URL 并启动 Internet Explorer 或任何其他默认浏览器来启动该链接。一旦链接启动,视频就会开始播放。
现在我的工作是录制“x”秒的视频和音频。我可以通过频繁截图来录制视频,但是音频及其质量怎么样?我是否需要将麦克风放在附有扬声器的隔音室中以便录制,或者我可以直接从音频接口卡上拉出音频然后将其传向扬声器?
有什么想法吗?
乌迈尔
I have tonss of videos in database and they can't be accessed directly but I can play them one by one and can record them. Now I want to write a program (probably in C#) that will get a URL and will start Internet Explorer or any other default browser to start the link. Once the link will be started, video will be playing.
Now my job is to record the video for "x" seconds along with audio. I can record the video by taking screenshots very frequently but what about audio and it's quality? Do I need to put microphone in a sound proof room attached with speaker so that I record it or I can directly pull the audio off from audio interface card before letting it toward the speakers?
Any ideas?
Umair
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这根本不明智。从屏幕录制视频并重新编码时,您将遭受巨大的质量损失,更不用说这将花费的时间了。
您应该找到一种方法直接从数据库访问这些视频,并通过像 ffmpeg 这样的转换器运行它们。
This is not wise at all. You will have a huge quality loss recording video from screen and re-encoding it, not to mention the time this will take.
You should find a way to access those videos directly from the database, and run them through a converter like
ffmpeg
.如何使用
rtmpdump
将视频流检索为.flv?当然,您需要从各个网页解析流信息,但这应该是可以管理的。What about using
rtmpdump
to retrieve the video stream as a .flv? Of course, you will need to parse the stream information from the respective web pages, but that should be manageable.