[问题]kino无法捕捉视频

Totem,mplayer,sopcast,realplayer,bmp
回复
CZCZYX
帖子: 62
注册时间: 2008-04-27 18:03

[问题]kino无法捕捉视频

#1

帖子 CZCZYX » 2008-05-28 21:14

ubuntu 8.04安装了kino,但无法捕捉视频,点击“编辑-首选项IEEE1394”,出现如下信息,请问该如何处理?请说详细些。谢谢!
附件
Screenshot-Kino 首选项.png
CZCZYX
帖子: 62
注册时间: 2008-04-27 18:03

#2

帖子 CZCZYX » 2008-05-28 21:17

补充:如果用root登录,kino可以捕捉正常视频。上述IEEE1394 的“AW/C 设备”中有正确的DV设备名。
CZCZYX
帖子: 62
注册时间: 2008-04-27 18:03

#3

帖子 CZCZYX » 2008-05-29 20:48

找到了一个帖子,但看不懂,不知道具体该如何解决IEEE1394的问题,请高手看了详细的教教我,一步一步该如何操作。虽然我不懂英文,但我很好学。谢谢!

http://wiki.ubuntu.com.cn/Firewire

1.3 Software 软件方面 You'll need some software to capture from the firewire port. Thispage looks at using Kino versions 0.8 and 0.9. Kino (0.8) is availablein the Ubuntu repositories and is a well regarded home video editingsuite. The device file (also called a node) which acts as an inte***cebetween Kino, Firewire and your camera can be one of:

* dv1394-0 (gives access to Firewire for video capture but not to the camera's controls)
* raw1394 (gives raw access to Firewire and allows access to your cameras controls, but poses a security risk)

要想通过火线端口来采集音频/视频的话,您就得安装必须的软件。本文当中用来举例的kino0.8版以及kino0.9版都能够在Ubuntu以及家庭视频编缉软件中正常使用。而在Kino、火线端口以及摄像机之间起端口作用的设备文件可以使下面两个当中的任何一个:

* dv1394-0(允许视频采集系统访问火线端口但是不能控制摄像机)
* raw1394(允许直接访问火线端口同时也允许控制摄像机,但这样可能会带来安全上的问题)

When you connect your camera and turn it on udev should create oneor more of the device files needed, I will assume you want to usedv1394-0. If Ubuntu doesn't create /raw/dv1394-0 you will need to giveit a kick with
sudo modprobe dv1394
假定您使用的是dv1394-0,那么在连接好了摄像机并且在udev上面打开它那么系统应该会创建一个或者是多个需要的设备文件。如果Ubuntu没有创建/raw/dv1394-0,您也可以通过使用下面的命令来手动创建
<tablewidth="947px" tablestyle="width: 947px; height: 26px;">sudo modprobe dv1394

Start Kino and open the 'Capture' tab. Kino will attempt toconnect to your firewire port and detect any device there. Kino triesraw1394 by default, which will fail. You will see the error:
WARNING: raw1394 kernel module not loaded or failure to read/write /dev/raw1394!

... and that's the way it's meant to be. In an email from Scott James Remnant the reason is given as this:
一旦Kino启动并且打开'Capture'对话框。Kino将会试图与您的火线端口建立连接并尝试删除任何已经连接上去的设备。因为Kino在默认情况下使用raw1394,因此连接将会失败,同时您将看到一条错误信息。错误信息的内容如下:
WARNING: raw1394 kernel module not loaded or failure to read/write /dev/raw1394!

"The problem is that the raw IEEE1394 device is literally justthat; raw access to the IEEE1394 stack! This means that anyone withwrite access to that device can access any device connected to theFirewire port, and because of the nature of Firewire, they may executearbitrary code on the host system as root!"
As there is not one single solution to this I have made the list below. I hope you find a method that helps.
只需要能够对某一台设备进行写访问操作便能访问所有已经连接到火线端口的设备,因此raw IEEE1394很可能会造成非法用户获取root帐户权限进而对主机进行任何任何操作的安全隐患。

1.3.1 dv1394-0 (Tested in Ubuntu 6.06 with Kino 0.9)
Once there's a device file for IEEE1384 as outlines above, inKino go to 'Edit > Preferences' and select the 'IEEE 1394' tab. Anydetected cameras will be listed in 'AV/C Device'. In 'dv1394 Device'change the value to '/dev/dv1394-0'. (In Ubuntu 5.10 choose "dv1394" onthe pulldown menu and set the path in the text box to "/dev/dv1394/0").Now go back to the 'Capture' tab and press Play on your camera justbefore clicking the 'Capture' button. The cameras controls are notaccessable via dv1394 but if the DV tape is rewound before starting,that won't be a problem.

1.3.2 raw1396 (Kino 0.9 installed from source will not access raw1394)
One way around the read/write permissions of raw1394 is to givethe user read and write permission on the raw1394 device file - this isa security risk. (See [FilePermissions File Permissions] for help)Anyone with physical access to the firewire port (and enough cunning)can use it to control the computer. The currently prefered way tominimise this risk is to add raw1394 to a new group - 'firewire' andmake the user a member with read/write permission. To do this select'System > Adinistration > Users and Groups'. In the 'groups' tabselect 'add group' and call the new group 'firewire'. Add your usersgroup to the new 'firewire' group. Now open nautilus as root andnavigate to the /dev/raw1394 device file with:
sudo nautilus
In the context menu under 'permissions' change the file permissionsto allow read and write access to members of the 'firewire' group(which includes your user). Now you should be able to capture.

1.3.3 method 3 Apparently the dv1394 device, and video1394, are set up to allowusers in the video group to read and write to them. So try and addyourself to the video group.

1.3.4 Method 4 If the methods above haven't helped, try also running kino as root, that might get around a few things.
sudo kino

1.4 Ubuntu 5.04 (Hoary) Specific notes Ubuntu 5.04 does not create a device file for IEEE1394 when you plug in your camera, read: http://ubuntuforums.org/showthread.php?t=2792
(The following steps are adapted from bxlug.be)The module you need for capturing from Firewire are built into theLinux kernel, but 5.04 doesn't create the device files automaticallywhen you plug your camera in. To make you 5.04 always create the devicefiles you need to edit /etc/modules as root. To do this open a terminaland type:
sudo gedit /etc/module
Then add one or both of these lines at the end:
raw1394 video1394
To save you having to restart you can force start them now with:
modprobe raw1394
modprobe video1394
Try the camera now. If it still doesn't work there are a few more steps to try over at http://www.bxlug.be/en/articles/220 Their approach didn't work for me.


[/url]
CZCZYX
帖子: 62
注册时间: 2008-04-27 18:03

#4

帖子 CZCZYX » 2008-06-01 20:54

这个问题大家都不屑回答吗?

终于可以用kino通过IEEE1394捕捉DV视频了。
不过,还有个问题:只能用DV上的控制键控制DV带,kino的软控制键不起作用。提示:AV/C控制没有启用。
附件
Screenshot-未命名 - Kino.png
头像
bingning
帖子: 120
注册时间: 2008-06-21 2:20

#5

帖子 bingning » 2008-08-15 19:44

请教,楼主,我也遇到了和你一样的问题。你是怎么解决的?
我安装了kino1.1.1版本,也安装了libraw1394软件包。但是我不知道是不是没有正确安装1394硬件驱动的原因,kino一直都没有连接上索尼dv handycam(磁带数码DV)。在windows下直接使用moviemaker能马上链接上采集视频。所以,不是硬件本身的原因。我点击捕获的时候,显示“WARNING: raw1394 kernel module not loaded or failure to read/write /dev/raw1394! “
在设置页面也是和你截图的一样。
我学习了那文章。基本上按照上面说的做了还是不行,不知道哪里没做好还是其他原因?
乱弹琴
帖子: 23
注册时间: 2009-01-26 7:26

Re: [问题]kino无法捕捉视频

#6

帖子 乱弹琴 » 2009-01-26 7:30

用su的命令行启动就可以了,kino可以识别到DV机,制键也可以用。
头像
大宝
帖子: 3049
注册时间: 2008-06-30 22:32
联系:

Re:

#7

帖子 大宝 » 2009-02-04 11:02

bingning 写了:请教,楼主,我也遇到了和你一样的问题。你是怎么解决的?
我安装了kino1.1.1版本,也安装了libraw1394软件包。但是我不知道是不是没有正确安装1394硬件驱动的原因,kino一直都没有连接上索尼dv handycam(磁带数码DV)。在windows下直接使用moviemaker能马上链接上采集视频。所以,不是硬件本身的原因。我点击捕获的时候,显示“WARNING: raw1394 kernel module not loaded or failure to read/write /dev/raw1394! “
在设置页面也是和你截图的一样。
我学习了那文章。基本上按照上面说的做了还是不行,不知道哪里没做好还是其他原因?
看这:https://forum.ubuntu.org.cn/viewtopic.php?f=42&t=176541
头像
bingning
帖子: 120
注册时间: 2008-06-21 2:20

Re: [问题]kino无法捕捉视频

#8

帖子 bingning » 2009-02-07 21:10

原来是软件有问题,我还以为是我不会用
回复