我以前让GUVCVIEW工作过一次。突然停止工作了。这是我收到的错误.
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
video device: /dev/video0
/dev/video0 - device 1
Init. Intergrated Webcam (location: usb-0000:00:1a.7-2)
{ pixelformat = 'YUYV', description = 'YUV 4:2:2 (YUYV)' }
{ discrete: width = 640, height = 480 }
Time interval between frame: 1/30, 1/20, 1/15, 1/10, 1/5,
{ discrete: width = 352, height = 288 }
Time interval between frame: 1/30, 1/20, 1/15, 1/10, 1/5,
{ discrete: width = 320, height = 240 }
Time interval between frame: 1/30, 1/20, 1/15, 1/10, 1/5,
{ discrete: width = 176, height = 144 }
Time interval between frame: 1/30, 1/20, 1/15, 1/10, 1/5,
{ discrete: width = 160, height = 120 }
Time interval between frame: 1/30, 1/20, 1/15, 1/10, 1/5,
{ discrete: width = 1024, height = 768 }
Time interval between frame: 1/9, 1/5,
{ discrete: width = 1280, height = 1024 }
Time interval between frame: 1/9, 1/5,
checking format: 1196444237
Format unavailable: 1196444237.
Init v4L2 failed !!
Init video returned -2
trying minimum setup ...
video device: /dev/video0
/dev/video0 - device 1
Init. Intergrated Webcam (location: usb-0000:00:1a.7-2)
{ pixelformat = 'YUYV', description = 'YUV 4:2:2 (YUYV)' }
{ discrete: width = 640, height = 480 }
Time interval between frame: 1/30, 1/20, 1/15, 1/10, 1/5,
{ discrete: width = 352, height = 288 }
Time interval between frame: 1/30, 1/20, 1/15, 1/10, 1/5,
{ discrete: width = 320, height = 240 }
Time interval between frame: 1/30, 1/20, 1/15, 1/10, 1/5,
{ discrete: width = 176, height = 144 }
Time interval between frame: 1/30, 1/20, 1/15, 1/10, 1/5,
{ discrete: width = 160, height = 120 }
Time interval between frame: 1/30, 1/20, 1/15, 1/10, 1/5,
{ discrete: width = 1024, height = 768 }
Time interval between frame: 1/9, 1/5,
{ discrete: width = 1280, height = 1024 }
Time interval between frame: 1/9, 1/5,
checking format: 1448695129
Requested Format unavailable: get width 640 height 480
vid:0c45
pid:6410
driver:uvcvideo
(guvcview:4079): Gtk-CRITICAL **: gtk_hscale_new_with_range: assertion `min < max' failed
(guvcview:4079): Gtk-CRITICAL **: gtk_scale_set_draw_value: assertion `GTK_IS_SCALE (scale)' failed
Segmentation fault我认为问题在于,我无法找到要编辑的配置文件。这份文件可能在哪里有帮助吗?我尝试过搜索与guvcview相关的任何/所有东西,但都没有成功。
感谢您抽出时间阅读这篇文章,并希望能提供一个解决方案。
发布于 2014-08-27 23:09:13
文档是错误的,或者至少过时了。对于当前在ubuntu存储库中的guvcview版本(1.7.1),配置文件被写入:
~/.config/guvcview/videoN其中videoN对应于设备( /dev/video1 0,/dev/video1 1,.)
发布于 2014-01-15 22:09:08
引用正式文件的话:
Guvcview将所有选项存储到名为.guvcviewrc的配置文件中,该文件存储在用户主目录中。文件在开始时打开,在出口处重写。通过删除该文件,将加载默认值,并在退出时写入一个新文件。
可以使用-g选项指定配置文件。
https://askubuntu.com/questions/314087
复制相似问题