我昨天发现了Xuggle,首先让我说这是一件了不起的事情。我浏览了所有视频和文本教程。
我的第一个问题是以编程方式记录计算机桌面,我用这种方式解决了这个问题。
现在我需要一些不同的东西。我需要从相机/网络摄像头捕获音频和视频并将其放入一个容器中。
我想要这样的东西:
- 应用程序检测插入的所有摄像头
- 我选择其中一个我想要捕获音频和视频
- 将音频和视频编码到一个容器
问题:什么是好的起点或者更好,如果有人有一些示例代码?
I found out abut Xuggle yesterday and let me first say that it is an amazing thing. I run through all of video and text tutorials.
My first problem was to programatically record desktop of computer and I solved this this way.
Now I need something different. I need to capture both audio and video from my camera/webcam and put it into one container.
I would like something like:
- App detects all cameras that are plugged in
- I choose from which one of them I want to capture audio and video
- Encode that audio and video into one container
Question: What would be a good starting point or even better if someone has some example code?
发布评论
评论(1)
正如 Xuggler 作者告诉我的那样,Xuggler 缺乏对从相机捕获视频的良好支持,并且它不在其优先级列表中。
我的解决方案是使用vlcj。
As Xuggler author told me, Xuggler lacks good support for capturing video from camera and it is not in it's list of priorities.
My solution is to use vlcj.