http://www.linuxidc.com/Linux/2011-02/32119.htm GUVCview:Ubuntu下视频录像更简单 GUVCview-Ubuntu下视频录像更简单 [日期:2011-02-09] 来源:bentutu.com 作者:bentutu [字体:大 中 小] GUVCview,是一视频录像软件,
功能强大。同学们可以使用该软件用摄像头录制自己的视频,可以实现底片、镜面反转、马赛克等
效果。 该软件可在Ubuntu软件中心安装 rootroot@cm-System-Product-Name:/home/wwt$ rootroot@cm-System-Product-Name:/home/wwt$ rootroot@cm-System-Product-Name:/home/wwt$ sudo apt-get install guvcview [sudo] password for rootroot: 正在读取软件包列表... 完成 正在分析软件包的依赖关系树 正在读取状态信息... 完成 下列软件包是
自动安装的并且现在不需要了: fakeroot libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libfakeroot Use 'apt-get autoremove' to remove them. 将会安装下列额外的软件包: libavcodec54 libavutil52 libgsm1 libmp3lame0 libopenjpeg2 libopus0 libschroedinger-1.0-0 libsdl1.2debian libva1 libwebcam0 libx264-142 libxvidcore4 uvcdynctrl uvcdynctrl-data 建议安装的软件包: opus-tools 下列【新】软件包将被安装: guvcview libavcodec54 libavutil52 libgsm1 libmp3lame0 libopenjpeg2 libopus0 libschroedinger-1.0-0 libsdl1.2debian libva1 libwebcam0 libx264-142 libxvidcore4 uvcdynctrl uvcdynctrl-data
升级了 0 个软件包,新安装了 15 个软件包,要卸载 0 个软件包,有 677 个软件包未被
升级。 需要下载 4,475 kB 的软件包。 解压缩后会消耗掉 13.5 MB 的额外空间。 您希望继续执行吗? [Y/n] y
获取:1 http://cn.archive.ubuntu.com/ubuntu/ trusty-updates/universe libavutil52 amd64 6:9.18-0ubuntu0.14.04.1 [67.1 kB]
获取:2 http://cn.archive.ubuntu.com/ubuntu/ trusty/universe libgsm1 amd64 1.0.13-4 [27.1 kB]
获取:3 http://cn.archive.ubuntu.com/ubuntu/ trusty/universe libmp3lame0 amd64 3.99.5+repack1-3ubuntu1 [158 kB]
获取:4 http://cn.archive.ubuntu.com/ubuntu/ trusty/universe libopenjpeg2 amd64 1.3+dfsg-4.7ubuntu1 [64.3 kB]
获取:5 http://cn.archive.ubuntu.com/ubuntu/ trusty/main libopus0 amd64 1.1-0ubuntu1 [153 kB]
获取:6 http://cn.archive.ubuntu.com/ubuntu/ trusty/universe libschroedinger-1.0-0 amd64 1.0.11-2ubuntu1 [268 kB]
获取:7 http://cn.archive.ubuntu.com/ubuntu/ trusty/universe libva1 amd64 1.3.0-2 [38.6 kB]
获取:8 http://cn.archive.ubuntu.com/ubuntu/ trusty/universe libx264-142 amd64 2:0.142.2389+git956c8d8-2 [575 kB]
获取:9 http://cn.archive.ubuntu.com/ubuntu/ trusty/universe libxvidcore4 amd64 2:1.3.2-9ubuntu1 [298 kB]
获取:10 http://cn.archive.ubuntu.com/ubuntu/ trusty-updates/universe libavcodec54 amd64 6:9.18-0ubuntu0.14.04.1 [2,349 kB]
获取:11 http://cn.archive.ubuntu.com/ubuntu/ trusty-updates/main libsdl1.2debian amd64 1.2.15-8ubuntu1.1 [162 kB]
获取:12 http://cn.archive.ubuntu.com/ubuntu/ trusty/universe guvcview amd64 1.7.1-1ubuntu1 [254 kB]
获取:13 http://cn.archive.ubuntu.com/ubuntu/ trusty/universe libwebcam0 amd64 0.2.4-1 [28.7 kB]
获取:14 http://cn.archive.ubuntu.com/ubuntu/ trusty/universe uvcdynctrl-data all 0.2.4-1 [11.1 kB]
获取:15 http://cn.archive.ubuntu.com/ubuntu/ trusty/universe uvcdynctrl amd64 0.2.4-1 [19.4 kB] 下载 4,475 kB,耗时 3秒 (1,462 kB/s) Selecting prev
IoUsly unselected package libavutil52:amd64. (正在读取
数据库 ... 系统当前共安装有 213221 个
文件和目录。) Preparing to unpack .../libavutil52_6%3a9.18-0ubuntu0.14.04.1_amd64.deb ... Unpacking libavutil52:amd64 (6:9.18-0ubuntu0.14.04.1) ... Selecting prev
IoUsly unselected package libgsm1:amd64. Preparing to unpack .../libgsm1_1.0.13-4_amd64.deb ... Unpacking libgsm1:amd64 (1.0.13-4) ... Selecting prev
IoUsly unselected package libmp3lame0:amd64. Preparing to unpack .../libmp3lame0_3.99.5+repack1-3ubuntu1_amd64.deb ... Unpacking libmp3lame0:amd64 (3.99.5+repack1-3ubuntu1) ... Selecting prev
IoUsly unselected package libopenjpeg2:amd64. Preparing to unpack .../libopenjpeg2_1.3+dfsg-4.7ubuntu1_amd64.deb ... Unpacking libopenjpeg2:amd64 (1.3+dfsg-4.7ubuntu1) ... Selecting prev
IoUsly unselected package libopus0. Preparing to unpack .../libopus0_1.1-0ubuntu1_amd64.deb ... Unpacking libopus0 (1.1-0ubuntu1) ... Selecting prev
IoUsly unselected package libschroedinger-1.0-0:amd64. Preparing to unpack .../libschroedinger-1.0-0_1.0.11-2ubuntu1_amd64.deb ... Unpacking libschroedinger-1.0-0:amd64 (1.0.11-2ubuntu1) ... Selecting prev
IoUsly unselected package libva1:amd64. Preparing to unpack .../libva1_1.3.0-2_amd64.deb ... Unpacking libva1:amd64 (1.3.0-2) ... Selecting prev
IoUsly unselected package libx264-142:amd64. Preparing to unpack .../libx264-142_2%3a0.142.2389+git956c8d8-2_amd64.deb ... Unpacking libx264-142:amd64 (2:0.142.2389+git956c8d8-2) ... Selecting prev
IoUsly unselected package libxvidcore4:amd64. Preparing to unpack .../libxvidcore4_2%3a1.3.2-9ubuntu1_amd64.deb ... Unpacking libxvidcore4:amd64 (2:1.3.2-9ubuntu1) ... Selecting prev
IoUsly unselected package libavcodec54:amd64. Preparing to unpack .../libavcodec54_6%3a9.18-0ubuntu0.14.04.1_amd64.deb ... Unpacking libavcodec54:amd64 (6:9.18-0ubuntu0.14.04.1) ... Selecting prev
IoUsly unselected package libsdl1.2debian:amd64. Preparing to unpack .../libsdl1.2debian_1.2.15-8ubuntu1.1_amd64.deb ... Unpacking libsdl1.2debian:amd64 (1.2.15-8ubuntu1.1) ... Selecting prev
IoUsly unselected package guvcview. Preparing to unpack .../guvcview_1.7.1-1ubuntu1_amd64.deb ... Unpacking guvcview (1.7.1-1ubuntu1) ... Selecting prev
IoUsly unselected package libwebcam0. Preparing to unpack .../libwebcam0_0.2.4-1_amd64.deb ... Unpacking libwebcam0 (0.2.4-1) ... Selecting prev
IoUsly unselected package uvcdynctrl-data. Preparing to unpack .../uvcdynctrl-data_0.2.4-1_all.deb ... Unpacking uvcdynctrl-data (0.2.4-1) ... Selecting prev
IoUsly unselected package uvcdynctrl. Preparing to unpack .../uvcdynctrl_0.2.4-1_amd64.deb ... Unpacking uvcdynctrl (0.2.4-1) ... Processing triggers for man-db (2.6.7.1-1) ... Processing triggers for gnome-menus (3.10.1-0ubuntu2) ... Processing triggers for desktop-file-utils (0.22-1ubuntu1) ... Processing triggers for bamfdaemon (0.5.1+14.04.201
40409-0ubuntu1) ... Rebuilding /usr/share/applications/bamf-2.index... Processing triggers for mime-support (3.54ubuntu1) ... 正在设置 libavutil52:amd64 (6:9.18-0ubuntu0.14.04.1) ... 正在设置 libgsm1:amd64 (1.0.13-4) ... 正在设置 libmp3lame0:amd64 (3.99.5+repack1-3ubuntu1) ... 正在设置 libopenjpeg2:amd64 (1.3+dfsg-4.7ubuntu1) ... 正在设置 libopus0 (1.1-0ubuntu1) ... 正在设置 libschroedinger-1.0-0:amd64 (1.0.11-2ubuntu1) ... 正在设置 libva1:amd64 (1.3.0-2) ... 正在设置 libx264-142:amd64 (2:0.142.2389+git956c8d8-2) ... 正在设置 libxvidcore4:amd64 (2:1.3.2-9ubuntu1) ... 正在设置 libavcodec54:amd64 (6:9.18-0ubuntu0.14.04.1) ... 正在设置 libsdl1.2debian:amd64 (1.2.15-8ubuntu1.1) ... 正在设置 guvcview (1.7.1-1ubuntu1) ... 正在设置 libwebcam0 (0.2.4-1) ... 正在设置 uvcdynctrl-data (0.2.4-1) ... 正在设置 uvcdynctrl (0.2.4-1) ... Processing triggers for libc-bin (2.19-0ubuntu6) ... rootroot@cm-System-Product-Name:/home/wwt$ rootroot@cm-System-Product-Name:/home/wwt$ rootroot@cm-System-Product-Name:/home/wwt$ guvcview guvcview 1.7.1 file guvcview_video.mkv has extension type 1 file guvcview_image.jpg has extension type 0 option parsing
Failed: Cannot open display: Usage: guvcview [OPTION...] - local options Help Options: -?,--help Show help options --help-all Show all help options --help-gtk Show GTK+ Options GTK+ Options --class=CLASS Program class as used by the window manager --name=NAME Program name as used by the window manager --gdk-debug=FLAGS GDK debugging flags to set --gdk-no-debug=FLAGS GDK debugging flags to unset --gtk-module=MODULES Load additional GTK+ modules --g-fatal-warnings Make all warnings fatal --gtk-debug=FLAGS GTK+ debugging flags to set --gtk-no-debug=FLAGS GTK+ debugging flags to unset Application Options: --version Prints version -v,--verbose Displays debug information -d,--device=VIDEO_DEVICE Video Device to use [default: /dev/video0] -a,--add_ctrls Exit after adding UVC extension controls (needs root/sudo) -o,--control_only Don't stream video (image controls only) --no_display Don't display a GUI -r,--capture_method=[1 | 2] Capture method (1-mmap (default) 2-read) -g,--config=FILENAME Configuration file -w,--hwd_acel=[1 | 0] Hardware accelaration (enable(1) | disable(0)) -f,--format=FORMAT Pixel format(mjpg|jpeg|yuyv|yvyu|uyvy|yyuv|yu12|yv12|nv12|nv21|nv16|nv61|y41p|grey|y10b|y16 |s501|s505|s508|gbrg|grbg|ba81|rggb|bgr3|rgb3) -s,--size=WIDTHxHEIGHT Frame size,default: 640x480 -i,--image=FILENAME Image File name -c,--cap_time=TIME Image capture interval in seconds -m,--npics=NUMPIC Number of Pictures to capture -n,--video=FILENAME Video File name (capture from start) -t,--vid_time=TIME Video capture time (in seconds) --exit_on_close Exits guvcview after closing video -j,--skip=N_FRAMES Number of initial frames to skip -p,--show_fps=[1 | 0] Show FPS value (enable(1) | disable (0)) -l,--profile=FILENAME Load Profile at start --display=DISPLAY X display to use rootroot@cm-System-Product-Name:/home/wwt$
原文链接:https://www.f2er.com/ubuntu/356520.html