快捷索引

IPB Image
软件类型:系统工具
软件性质:免费软件
操作系统:veket
应用平台:veket-2/veket-3/lucky8k-veket-1/lucky8k-veket-2
网站链接: http://xvidcap.sourceforge.net/

在veket-2.39上测试通过,它录像的时候可自由选择录像的区域,默认是保存在/root目录下,可以用播放器打开观看。
注意:这软件官方没有提供中文翻译,搜索在这里:
代码
用veket自带的解压缩程序可以直接解开rpm包。
找到中文汉化,只将新版本的词汇添加进去。
其它信息保持完整。

vidcap 是一个可将屏幕上的操作过程录制下来并保存为视频的小工具。对于需要制作产品演示和教学的朋友来说,这个屏幕录像机十分实用。Xvidcap 支持生成 avi、mpeg、asf、flv、swf、mov 等视频格式,可以应用在各种场合。录制的区域也可以随意选择,显得非常方便。

现在启动 Xvidcap,在首选项中对视频进行设置,如所采用的视频格式及编码器,保存文件名称等。如果需要录制声音,也可对音频部分进行相应配置。

然后选择需要录制的区域,注意有红色的方框指示。点击 Xvidcap 控制栏中的红色按钮就可开始视频的录制过程了。录制结束后,可以用相应的播放工具播放。

点吸管图标可以选择抓取范围,点桌面就是抓取全屏,点红点按钮开始录制,方块按钮停止
右键点击可以设定选项,比如生成的文件的名字,格式等。

Xvidcap FAQ中文翻译(ZT)
出处:
http://hi.baidu.com/chinsung/blog/item/b9d…af9.html

转载,原文连接看上边:

足足花了一个晚上搞定的东西,翻到后面自己都变得懒了。

Xvidcap FAQ
Xvidcap常见问题

General Questions
一般问题

What is xvidcap?
什么是Xvidcap?
Xvidcap is a tool that can capture movement on an X11 display. It works in two distinct modes: It can capture to single frames (like a number of jpeg images) or it can encode the captured frames to a video on-line.
Xvidcap是一可抓取X11屏幕运动的工具。它有两种工作方式:单祯抓取(比如一组jpeg图片)或是将所抓取的祯实时编码成视频格式。
It is intended to be a standards-based alternative to tools like Lotus ScreenCam for UNIX platforms. On-line encoding is done through FFMPEG and also allows for audio grabbing on OSS compatible systems.
我们打算将它制作成类似UNIX平台上Lotus ScreenCam的标准替代工具。即时编码通过FFMPEG完成,同时可通过OSS兼容系统捕获音频。

Can I capture the mouse pointer?
我能抓取鼠标吗?
Yes … provided some prerequisites are met.
当然,不过得有些先决条件。
X11 alone doesn’t appear to support a generic way to determine the shape of the current mouse pointer. To achieve that, there is the Xfixes extension. If that is present during build-time and when you run xvidcap, you will get your mouse pointer in the right position and shape. If the Xfixes extension is not available, the only thing xvidcap can do in order to capture mouse movement to video is to determine the position of the mouse at the time a frame is captured and paint a dummy mouse pointer arrow to the corresponding position in every frame. That will still allow you to see a mouse pointer in the resulting video. However, if your application changes the shape of the mouse pointer (like e.g. Gimp does ist for most tools), you will not get those changed shapes in the video. You will always get the standard dummy mouse pointer.
X11自身并不运行某种一般途径以决定鼠标的当前形状。为实现这一点,可利用Xfixes扩展工具。如果您运行xvidcap的时候Xfixes也正在执行,您将会得到鼠标的正确形状和位置。如果Xfixes不可用,为了能在视频中添加鼠标的位置,xvidcap唯一能做的便是判断某一祯抓取时鼠标所在的位置并在那里给出一个摹拟的鼠标形状。在最终的视频中您依然可以看到鼠标。但是,如果您的程序改变了鼠标的形状(比如Gimp就可以实现这一点),您将不能得到已改变的鼠标形状,而只能得到标准的摹拟形状。

Can I record audio along with the video?
我能撇开视频而单独录制音频吗?
Yes.
可以。
Since 1.1.2 you can, provided you have (a) an OSS compatible system and (cool.gif FFMPEG libraries that have audio capture support compiled in (which is normally the case if you use the version of ffmpeg bundled in xvidcap).
从1.1.2版开始,如果您拥有OSS兼容系统以及编译进了支持音频抓取的FFMPEG库(如果您使用的是以ffmpeg为解码器的xvidcap,则通常都是如此)。
As far as (a) is concerned, I know that Linux systems are usually OSS compatible and Solaris systems are not. I’m not sure about the other platforms that have been reported to run xvidcap (like HP-UX for one). Feel free to comment about your experiences on other platforms.
据我所知,Linux操作系统通常都兼容OSS,而Solaris则不是。虽然有人声称能其他系统(如HP-UX)能够运行xvidcap,但我并不能确定其对OSS的兼容性。欢迎您与我分享在其他操作系统上的体验。
About (cool.gif: 1.1.2 will assume you have OSS, if you use pre-existing libavcodec and libavformat libraries. More recent versions check for the audio_init() function to determine the real status of audio support. If you use FFMPEG as included with xvidcap, the build system will determine the correct status from the included ffmpeg source tree.
支持FFMPEG即意味着兼容OSS。

You’re saying FFMPEG needs OSS for audio capture. Will ALSA work, too?
您讲到FFMPEG需要OSS支持以录制音频,用ALSA可以吗?
I’ve found it to work fine on all of my machines. ALSA provides OSS compatibility which worked out-of-the box for me.
在我的所有机子上都是可以的。ALSA提供了与OSS类似的兼容性。
For more information on ALSA’s OSS emulation, see here.
要了解两者的相关信息,请到以下地址:
http://alsa.opensrc.org/home/w/o … ?title=OssEmulation

Recording sound does not work (or it only works for the microphone, not application output)
不能录制声音(或者只能用麦克风,不能利用程序的音频输出)
It does!
肯定能!
The thing is: This is completely depending on your mixer settings!
关键是:它取决于您的混频器设置!
What typically causes problems here is that alsa starts all volume controls set to zero. Desktop environments typically set the controls to sane or user-defined values on startup for playback. For recording that often needs to be done manually by the user. How this can be done depends on the platform and desktop system you’re on, or even the audio hardware you’re using.
问题出在alsa初始将所有的声音控制器设为0。桌面环境通常将控制器设为恬当值或是用户定义值。而在录制的时候通常需要人工设置。而这通常又取决于您的操作系统和桌面系统甚至你使用的音频硬件。
Here’s an example for alsamixergui:
这里是一个alsa混频器gui例子:
– bump up "Mic"
向上推“Mic”
– activate "Mic" as an input source (red dots instead of white dots)
选中"Mic"使之作为一种输出源(将白点变为红点)
– select "Mic Boost (+20db)" (light green instead of white speaker symbols)
选中"Mic Boost(加大麦克风音量20分贝)"(将白点变为绿点)
For the gnome volume control there are two sample screenshots here:

The proven strategy for testing this is using the most simple audio recording application available to eliminate errors in the configuration of the more complex applications (read: xvidcap). For example using rec and play from the sox application:
可用通过最简单的音频录制程序来排除设置上的错误,例如可利用sox程序来录制和播放音频:

rec -d /dev/dsp test.wav

Then talk into the microphone or capture the output of the application you’re trying to record, hit CTRL-C and play the recorded audio file.
接着对着麦克风说话或是抓取你想要的程序音频输出,而后键入CTRL-C并播放音频文件。

play test.wav

Are there plans to port xvidcap to Windows?
有将xvidcap移植到Windows的计划吗?
No.
没有。
Well, not that I wouldn’t think such a port worthwhile, but it’s so far at the end of the priority list that it will probably never happen, unless a skilled Windows programmer wants to join the project for explicitly that reason.
当然,我不是说不值得那样做,但目前在我们的安排表上,还不可能,除非有一位Windows编程高手为此想加入我们的项目。
After all, there are available tools for Windows, albeit typically not for free, like: Lotus ScreenCam, Camtasia, etc.
而且,Windows下已经有一些工具了,虽然并不是免费的,比如:Lotus ScreenCam, Camtasia等。

Will xvidcap work on a Mac, or are there plans to port it?
Xvidcap可以在Mac上运行吗?或者你们是否有移植的计划?
I have not received any reports that it does work on a Mac. Remember, though, that the best thing it could do is capture from X11. I am not at all sure it would allow you to capture Aqua applications.
我并没有接到反馈说这个程序可以在Mac上运行。记住,不管怎样,此程序最好运行在X11平台上。我完全不能确定它是否能抓取Aqua程序。

Will there be a port? Prolly not before somebody buys me a MacBook wink.gif
是不是会移植呢?如果有人给我买个MacBook的话,可以考虑下,哈哈。

Why does Windows Media Player play my captured videos upside down?
为什么Windows Media Player播放我的抓取视频的时候有些混乱?
This seems to be an issue in Windows Media Player 6 and apparently fixed in version 7 … so in typical Windows manner: Please upgrade
在Media Player 6版本,可能7也有这样的问题,于是这是Windows的问题,请升级您的播放器。

Does xvidcap/gvidcap work with fullscreen applications, such as games like Cube?
Xvidcap/gvidcap是否可以工作在Cube游戏这样的全屏程序下?
It depends on exactly how the graphics are drawn to the screen. It is not the fullscreen quality or the gaming nature of the application that could make it impossible for xvidcap. There have been reports that X-Wing Alliance through WINE e. g. works just fine. Problems typically arise around hardware acceleration like OpenGL. Those often need to be disabled to allow xvidcap to caputre the display.
这要看图像是怎样显示在屏幕上的了。全屏质量或是游戏本质并不能关键所在。有报告称X-Wing联盟比如通过WINE可以正常工作。问题通常出在硬件加速上,比如OpenGL模式。在进行全屏抓取时通常需要关闭这些模式。

Does xvidcap get the array of pixels from the xserver or off the video card’s buffer?
Xvidcap是通过Xserver还是视频卡缓冲来得到像素点阵的?
xvidcap cannot at this point in time make use of hardware acceleration!
xvidcap工作时不能使用硬件加速器!
xvidcap can only get a frame from the X server either using plain X11 calls or Xshm (with shared memory, which requires client and server to be on the same machine).
不管是使用X11还是Xshm(利用共享内存,这要求客户机和服务器位于同一台计算机上),Xvidcap只能从Xserver上得到图像信息。
The thing is that once the actual bitmap is on the frame buffer, I don’t know how to get it at all, or even in a portable fashion. I’ve heard that AGP should offer ways, but then AGP slots don’t seem to be the fashion anymore these days, anyway.
可即便是像素图存在于缓冲区,我也根本不知道怎样获取。我听说AGP可以提供一些途径,可AGP插槽已经不再流行了。
If you know how to get at a bitmap once it’s rendered by the frame buffer and are confident that getting at it won’t eat all the performance gain, DO TEACH ME!
如果您知道怎样获得缓冲区位图而且可以确信不会损伤性能,请一定要联系我!

Building
(build这个词很难译,一般理解是编译后的可运行状态或是版本或是到达可运行状态的整个动作)
After building xvidcap says "FFMPEG encoding not supported"
build完xvidcap后提示:"不支持FFMPEG编码"
This means you didn’t correcly build FFMPEG support into xvidcap. Read the INSTALL file and note that configure without any parameters will try to build libraries for libavcodec and libavformat from the bundled version. Keep an eye on the output generated by configure. If you see any of the following lines after configure has built the prerequisite libraries, the libraries have not successfully been built:
这意味着你没有正确地将FFMPEG支持编入xvidcp。阅读安装文档,注意不要配置任何参数则运行库将编译成libavcodec和libavformat。注意配置生成的输出,如果发现了以下内容,则编译不成功:
checking for av_rescale in -lavutil… (static?) … no
checking for sws_scale in -lswscale… (static?) … no
checking for avcodec_encode_video in -lavcodec… (static?) … no
checking for av_write_header in -lavformat… (static?) … no
checking for avcodec_decode_audio in -lavcodec… (static?) … no

The build complains about being unable to findcommon.h
编译程序程序称不能找到common.h
This is due to a bug in the build system for versions 1.1.2 or lower, please upgrade.
这是由低于1.1.2的编译程序BUG引起的,请升级。
The workaround for the afflicted versions is: Remove all symlinks in the ffmpeg directory before trying a build with dynamically linked libavcodec/-format.

Why am I getting error about an "undefined reference to `pow’"?
为什么会提示错误“未定义到‘pow’的参考”?
This should only be happening with way old versions, please upgrade.
版本太老,请升级。
On some systems, to link to libpng you also need to link to libm. That should be guessed correctly for most systems by configure, but if you’re getting this error, the following call to configure should help:
在某些系统上,链接到libpng的同时也需要链接到libm。一般默认配置都会正确,如果还有问题,试下下面的命令:
LDFLAGS="-lm" ./configure

Installation
安装
Why do you not provide packages for distribution XYZ?
为什么不为不同的发行版提供不同的发行包?
Because I lack the time and/or the machines.
我没有足够的时间,也没有足够的机子。
I mainly intend to provide a good source tarball.
我的主要目的是提供优秀的源文件。

On Solaris pkgadd complains about "no packages found"
在Solaris机子上安装时总提示“没有发现安装包”
The Solaris package is provided as a single file package stream (read man pkgtrans) and needs to be installed using the following commands:
Solaris包是一种特殊的格式(请阅读pkgtrans帮助文档),请用下面的命令安装:

gzip -d <KHBxvidcap-version>.pkg.gz
pkgadd -d <KHBxvidcap-version>

The usual "pkgadd -d . <packagename>" will not work.
常用的"pdgadd -d"命令无法工作。

How do I install the Fedora RPMS and how do they differ?
怎样安装Fedora用的RPM包?有什么不同吧?
Notes on installing the Fedora RPMS for the 1.1.3 versions, which you shouldn’t be using anymore:
注意在Fedora上安装1.1.3版本时不能同时使用以下两个包:
* gvidcap – comes with the GTK2 gui
* xvidcap – comes with the X11 gui, only

They are conflicting packages. On Fedora go with gvidcap (xvidcap is intended for non-GTK2 OS`s).
两个包会相互冲突。在Fedora上需用gvidcap。

Install the usual way:
通常用如下方法安装:
rpm -i gvidcap-1.1.3-fc1.i386.rpm

Both packages require a recent version of ffmpeg (>= 0.4.8). This is easily obtainable from one of the Fedora repositories (look here, for example). If you want ffmpeg support statically linked, build the application from source.
两个包都需最新的ffmpeg(0.4.8版本以上)。在任何一个Fedora源上都很容易能够得到。如果想得到更好的支持,请编译源代码。
The new RPMS for version 1.1.3 now come with the audio/video sync patch included which can otherwise only be obtained from CVS, as a source patch, or from more recent versions.
1.1.3版本的最新RPM安装包已经发行,可以通过安装源等多种方式得到。
Usage
使用

Why does the button to capture a single image not work for me?
为什么不能抓取图片?
This is usually a usage problem. The button for recording a single frame is sensitive during a paused recording session only! This means you cannot start a recording by pressing that button. The right way of doing it is:
通常是使用不当。抓图只有在暂停录制时才可用!所以按按钮是没用的。正确的方式如下:
* Press Pause 按下暂停
* Press Record 按下录制
* Press Capture Single Frame 按下抓取单一祯

Also note that this only makes sense when you’re capturing to single-frame images, not when you’re encoding to a video on-the-fly.
同时注意只有在抓取单一祯模式下才可用,在录制视频时则不行。

Capture fails with "Could not find audio grab device …"
因“不能找到音频设备”而失败
That’s a message originating from FFMPEG and means there is a problem with accessing the audio grab device.
消息从FFMPEG发出,意味着不能操作音频设备。
The reason is probably one of the following:
可能由以下原因引起:

* Your sound device is not OSS compatible (not very probable if you’re on Linux)你的音频设备不能兼容OSS(你可能不在Linux操作系统上)。
* There is no such device(没有音频设备)
* You don’t have access permissions to that device(你没有设备操作权限)
* You’re using 1.1.2 and trying to encode to MS_MPEG4. That won’t work with audio. Use a more recent version.(版本太旧)

Is xvidcap able of capturing a running video?
可以录制播放中的视频吧?
Yes.
可以。
However, you need to disable hardware acceleration on your graphics adapter. Many video players make use of hardware acceleration. In such a case the individual frames of the video are not actually rendered/drawn within X11 memory. The rendering is delegated to the (faster) hardware of the graphics adapter. Xvidcap needs to capture the rendered image. Because there is no way for xvidcap to get it once it’s on the graphics adapter, you absolutely need to disable hardware acceleration.
但是你需要禁用显卡加速器。许多视频播放器都应用了硬件加速技术。这样的话所看到的祯就不是X11内存中的祯。Xvidcap需要抓取实时显示的图像。于是必须禁用硬件加速器。
For mplayer e.g. you would use a command line like:
对mplayer,可用如下命令:
mplayer -vo x11

For RealPlayer go to "Extras->Preferences". There on the "Hardware" tab deslect "Use XVideo" (i. e. remove the check!).
对RealPlaer,Extras->Preferences,取消选中的Use XVideo。

Why are the videos or single frames I capture always white or black?
为什么我抓取到的单祯图像总是白色的或黑色的?
Most probably you are trying to capture from an application that uses hardware graphics acceleration. Typical cases are 3D animations that use OpenGL. Xvidcap has no way of capturing that.
还是显卡加速器的问题。
If you want to capture from applications like those, you need a switch to turn of the use of hardware graphics acceleration. That’s not possible with all applications out there, though … sorry.
如果硬要截取这样的图片,我们也只能说,sorry.
If you are completely sure, this does not match your case, please submit a bug here.
如果你确信不是加速器的问题,请修正一个BUG。

=Running xvidcap I get an error message saying "xvidcap: error while loading shared libraries: libpng.so.2: cannot open shared object file: No such file or directory"
如果得到这样的错误: "xvidcap: error while loading shared libraries: libpng.so.2: cannot open shared object file: No such file or directory"
This is a problem with the old debian package. You could try installing libpng2 and libpng10-0:
这是由旧版的debian安装包引起的,请安装ibpng2及libpng10-0
apt-get install libpng2 libpng10-0

The much preferred fix, however, would be installing a more recent version.
默认会安装最新的版本。

Encoding
编码
Why do my videos recorded with xvidcap play back too fast?
为什么我录的视频回放的时候会很快?
This can have one of two reasons:
可能有以下两个原因:
1. Dropped frames:
1.丢祯:
The hardware you’re on can’t handle what you ask for. Try making the capture selection very small and see if the problem disappears. If not, it’s probably (2), if it does, you can’t capture at the frame size, image quality, and frame rate you selected. You can play around with those parameters until you find a combination that your system can handle. Make sure you watch (2). Another way of making the capturing lighter on your system is using the XDamage extension. This may or may not work for you. The results depend a lot on your window manager and the nature of the stuff you want to capture. If you’re on a fairly conservative window manager and want to record normal application windows, chances are it will work alright and improve performance for you. Xvidcap will enable the use of XDamage by default on any window manager but compiz or beryl.
你的硬件无法达到你的要求。试着减小抓取选项,看下问题是否解决了。如果还没有,则可能是第二个问题。如果是的话,则不能抓取过大的视频祯数,过高的视频质量,以及过大的祯比率。试着调节参数使之达到你机器的最大承受能力。一定要看下第二个问题。另一个解决方法是利用Xdamage扩展。它可能也可能不起作用。这与你的窗口管理器和你要抓取的内容相关。如果是在一个老式的窗口管理器中录制普通的应用程序窗口,则扩展可用并将改善性能。在除compiz和 beryl外的窗口管理器中,XDamage默认打开。
Perhaps, however you need a faster system. You can see dropped frames using xvidcap with a "-v" parameter. Note however, that writing the verbose output to
★已经过安装测试,测试系统为veket-2.39。

杀毒提示:
已通过安全检测.
安全检测软件:金山



会员福利

资源无源时,可利用百度网盘 & 迅雷云盘取回

此内容仅供注册用户。请 %登录%.

神秘内容,请 登录 / 注册 后查看

会员可见全站福利 !


标签: ,


文章类别:

本文链接: http://www.books51.com/306448.html

【点击下方链接,复制 & 分享文章网址】

屏幕录像软件 → http://www.books51.com/306448.html

上一篇:

下一篇:

0 ratings, 0 votes0 ratings, 0 votes (0 次顶, 0已投票)
你必须注册后才能投票!
Loading...

添加新评论