linux p v linux安装ffmpeg

大家好,如果您还对linux p v不太了解,没有关系,今天就由本站为大家分享linux p v的知识,包括linux安装ffmpeg的问题都会给大家分析到,还望可以解决大家的问题,下面我们就开始吧!

linux下的视频录制软件xvidcap

1.xvidcap简介

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

我们接下来安装xvidcap,他需要用到mplayer,因为视频录制首先得有播放器么。^_^

2.xvidcap的安装和使用:

所有的包的内容都在以下的位置:

a52dec-0.7.4-8.el6.rf.x86_64.rpm

aalib-1.4.0-5.el6.rf.x86_64.rpm

dirac-libs-1.0.2-4.el6.x86_64.rpm

directfb-1.4.11-2.el6.x86_64.rpm

enca-1.13-1.el6.x86_64.rpm

esound-libs-0.2.41-3.1.el6.x86_64.rpm

example-1.0-1.noarch.rpm

example-1.0-2.noarch.rpm

example-1.0-3.noarch.rpm

flash-plugin-11.2.202.233-release.x86_64.rpm

freeglut-2.6.0-1.el6.x86_64.rpm

glib-1.2.10-33.el6.rf.x86_64.rpm

google-chrome-stable_current_x86_64.rpm

gstreamer-plugins-ugly-0.10.18-14.el6.x86_64.rpm

gtk+-1.2.10-70.el6.x86_64.rpm

gxmame-0.35-0.4.beta2.el6.rf.x86_64.rpm

jack-audio-connection-kit-0.118.0-1.el6.x86_64.rpm

lame-3.99.5-1.el6.rf.x86_64.rpm

libcaca-0.99-0.9.beta16.el6.x86_64.rpm

libdca0-0.0.5-4.el6.x86_64.rpm

libdvdread-4.1.4-0.2.svn1183.el6.x86_64.rpm

libfaac0-1.28-6.el6.x86_64.rpm

libfaad2-2.7-18.el6.x86_64.rpm

libid3tag-0.15.1b-11.el6.x86_64.rpm

libmad-0.15.1b-4.el6.rf.x86_64.rpm

libmikmod-3.2.0-11.beta2.el6.x86_64.rpm

libmpeg2-0.5.1-2.el6.rf.x86_64.rpm

libnemesi-0.6.9-0.1.20090422git.el6.x86_64.rpm

libopencore-amrnb0-0.1.3-1.el6.x86_64.rpm

libopencore-amrwb0-0.1.3-1.el6.x86_64.rpm

librtmp-2.3-1.el6.rf.x86_64.rpm

libsidplay-1.36.60-1.el6.rf.x86_64.rpm

libvdpau1-0.4.1-4.el6.x86_64.rpm

libvpx-1.0.0-1.el6.i686.rpm

libvpx-1.0.0-1.el6.x86_64.rpm

libx264_115-0.115-16_20110610.2245.el6.x86_64.rpm

libx264_118-0.118-17_20111111.2245.el6.x86_64.rpm

libxvidcore4-1.2.2-14.el6.x86_64.rpm

linuxqq-v1.0.2-beta1.i386.rpm

lirc-libs-0.9.0-8.el6.x86_64.rpm

live-2012.02.04-1.el6.x86_64.rpm

mpg123-1.13.8-1.el6.rf.x86_64.rpm

mplayer-1.0-90_snap20120311.el6.x86_64.rpm

mplayer-fonts-1.0-7.at.noarch.rpm

mplayer-skins-1.0-16.noarch.rpm

nas-libs-1.9.2-1.el6.x86_64.rpm

netembryo-0.0.9-1.el6.x86_64.rpm

ntfs-3g-2011.4.12-5.el6.x86_64.rpm

openal-0.0.9-0.13.20060204cvs.el5.i386.rpm

openal-0.0.9-0.13.20060204cvs.el5.x86_64.rpm

openal-soft-1.12.854-1.el6.x86_64.rpm

orc-0.4.16-6.el6.x86_64.rpm

phonon-backend-gstreamer-4.6.2-20.el6.i686.rpm

phonon-backend-gstreamer-4.6.2-20.el6.x86_64.rpm

qt-4.6.2-20.el6.i686.rpm

qt-4.6.2-20.el6.x86_64.rpm

qt-mobility-1.1.3-2.el6.i686.rpm

qt-sqlite-4.6.2-20.el6.i686.rpm

qt-sqlite-4.6.2-20.el6.x86_64.rpm

qtwebkit-2.1.1-1.el6.i686.rpm

qt-x11-4.6.2-20.el6.i686.rpm

qt-x11-4.6.2-20.el6.x86_64.rpm

repodata

schroedinger-1.0.10-1.el6.rf.x86_64.rpm

smplayer-0.8.0-5.el6.x86_64.rpm

svgalib-1.9.25-8.el6.x86_64.rpm

tslib-1.0-2.el6.x86_64.rpm

twolame-0.3.13-1.el6.rf.x86_64.rpm

unrar-4.1.4-1.el6.rf.x86_64.rpm

xmame-0.106-1.el6.rf.x86_64.rpm

xmms-libs-1.2.11-40.el6.x86_64.rpm

xvidcap-1.1.7-12.el6.x86_64.rpm

上述的包有很多依赖性的关系,主要的是xvidcap、smlayer(皮肤)以及mplayer(视频播放器).所有的包因为太大无法上传,实在抱歉。但是大家可以自己去解决这个包的关系。推荐一个网址有很多rpm的搜索:

如下是我们的rpm包列表:

   我们把这些rpm加入到yum源中:

   此时系统会报错,因为系统自带播放器,我们首先要卸载它:

   卸载自带播放器:

   再次安装xvidcap和mplayer:

   完成之后我们就可以使用xvidcap进行视频录制了:

   凡是红色方框所在的区域都会被录制下来,而且完成后可以被mplayer播放,支持绝大多数视频格式,非常的方便。

小结:

大家可以用这个视频录制器录制自己的学习历程和不同的人分享。^_^,赶紧试试吧。

Linux中创建新分区提示没有可用自由部门怎么回事

Linux中创建新分区提示没有可用自由部门可以用fdisk命令新建分区,方法如下:

1、首先查看硬盘信息,用fdisk-l命令,如果有硬盘有剩余空间就可以对其进行分区。

[root@bogon桌面]# fdisk-l

Disk/dev/sda: 85.9 GB, 85899345920 bytes

255 heads, 63 sectors/track, 10443 cylinders

Units= cylinders of 16065* 512= 8225280 bytes

Sector size(logical/physical): 512 bytes/ 512 bytes

I/O size(minimum/optimal): 512 bytes/ 512 bytes

Disk identifier: 0x000471ad

Device Boot Start End Blocks Id System

/dev/sda1* 1 26 204800 83 Linux

Partition 1 does not end on cylinder boundary.

/dev/sda2 26 3851 30720000 83 Linux

/dev/sda3 3851 4106 2048000 82 Linux swap/ Solaris

/dev/sda4 4106 10444 50912256 5 Extended

/dev/sda5 4106 10444 50911232 83 Linux

Disk/dev/sdb: 21.5 GB, 21474836480 bytes

255 heads, 63 sectors/track, 2610 cylinders

Units= cylinders of 16065* 512= 8225280 bytes

Sector size(logical/physical): 512 bytes/ 512 bytes

I/O size(minimum/optimal): 512 bytes/ 512 bytes

Disk identifier: 0x00000000

#从上面看出/dev/sda空间已经用完了,/dev/sdb没有使用。

2、下面对/dev/sdb进行分区

[root@bogon桌面]# fdisk/dev/sdb

Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel

Building a new DOS disklabel with disk identifier 0xfaa2aa49.

Changes will remain in memory only, until you decide to write them.

After that, of course, the previous content won't be recoverable.

Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

WARNING: DOS-compatible mode is deprecated. It's strongly recommended to

switch off the mode(command'c') and change display units to

sectors(command'u').

Command(m for help): m//输入m查看帮助文档

Command action

a toggle a bootable flag

b edit bsd disklabel

c toggle the dos compatibility flag

d delete a partition

l list known partition types

m print this menu

n add a new partition//添加一个新的分区

o create a new empty DOS partition table

p print the partition table

q quit without saving changes

s create a new empty Sun disklabel

t change a partition's system id

u change display/entry units

v verify the partition table

w write table to disk and exit

x extra functionality(experts only)

#fdisk选中/dev/sdb输入m所有基本选项都出现,输入n新建分区

Command(m for help): n

Command action

e extended

p primary partition(1-4)

3、有扩展分区和主分区,逻辑分区在扩展分区中建立。注意到括号中的1-4,最多只能建四个主分区(包括扩展分区)。先建一个主分区:

Command(m for help): n

Command action

e extended

p primary partition(1-4)

p#建主分区

Partition number(1-4): 1#分区号为1

First cylinder(1-2610, default 1):#直接回车默认从第一个柱面开始划分

Using default value 1

Last

cylinder,+cylinders or+size{K,M,G}(1-2610, default 2610):+2G

#加空间大小,这里有很多种选择:+后面单位可以接M,G,K(记得要大写)表示划分你所加的空间,也可以是柱面数。不管怎样都不能超过该磁盘剩余的空间否则无效。

Command(m for help): p#分好后查看分区信息,刚所做的所有一目了然。

Disk/dev/sdb: 21.5 GB, 21474836480 bytes

255 heads, 63 sectors/track, 2610 cylinders

Units= cylinders of 16065* 512= 8225280 bytes

Sector size(logical/physical): 512 bytes/ 512 bytes

I/O size(minimum/optimal): 512 bytes/ 512 bytes

Disk identifier: 0xfaa2aa49

Device Boot Start End Blocks Id System

/dev/sdb1 1 262 2104483+ 83 Linux

4、同上所述建立扩展分区:

Command(m for help): n

Command action

e extended

p primary partition(1-4)

e#建立扩展分区

Partition number(1-4): 4

First cylinder(263-2610, default 263):

Using default value 263

Last cylinder,+cylinders or+size{K,M,G}(263-2610, default 2610):+4G

Command(m for help): p

Disk/dev/sdb: 21.5 GB, 21474836480 bytes

255 heads, 63 sectors/track, 2610 cylinders

Units= cylinders of 16065* 512= 8225280 bytes

Sector size(logical/physical): 512 bytes/ 512 bytes

I/O size(minimum/optimal): 512 bytes/ 512 bytes

Disk identifier: 0xfaa2aa49

Device Boot Start End Blocks Id System

/dev/sdb1 1 262 2104483+ 83 Linux

/dev/sdb4 263 785 4200997+ 5 Extended

5、扩展分区建好就可以在扩展分区建立逻辑分区了

Command(m for help): n

Command action

l logical(5 or over)

p primary partition(1-4)

l#建逻辑分区

First cylinder(263-785, default 263):

Using default value 263

Last cylinder,+cylinders or+size{K,M,G}(263-785, default 785):+2G

Command(m for help): p

Disk/dev/sdb: 21.5 GB, 21474836480 bytes

255 heads, 63 sectors/track, 2610 cylinders

Units= cylinders of 16065* 512= 8225280 bytes

Sector size(logical/physical): 512 bytes/ 512 bytes

I/O size(minimum/optimal): 512 bytes/ 512 bytes

Disk identifier: 0xfaa2aa49

Device Boot Start End Blocks Id System

/dev/sdb1 1 262 2104483+ 83 Linux

/dev/sdb4 263 785 4200997+ 5 Extended

/dev/sdb5 263 524 2104483+ 83 Linux

6、上面显示已经建好一个主分区,一个逻辑分区,但是这些现在还没有生效,需要保存退出。

Command(m for help): w#保存退出

The partition table has been altered!

Calling ioctl() to re-read partition table.

Syncing disks.

Linux下的命令sudo怎么读

su do,速度,一声念更拽的样子.不过之前网友回复的

详细单词是superuserdo,意为超级管理员可以做的动作。

实际上,也可以用sudo命令以其他的用户的身份执行一条命令

sudo-以其他用户身份执行一条命令

usage: sudo-h|-K|-k|-V

usage: sudo-v [-AknS] [-g group] [-h host] [-p prompt] [-u user]

usage: sudo-l [-AknS] [-g group] [-h host] [-p prompt] [-U user] [-u user]

[command]

usage: sudo [-AbEHknPS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p

prompt] [-T timeout] [-u user] [VAR=value] [-i|-s] [<command>]

usage: sudo-e [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p

prompt] [-T timeout] [-u user] file...

选项:

-A,--askpass使用助手程序进行密码提示

-b,--background在后台运行命令

-B,--bell ring bell when prompting

-C,--close-from=num关闭所有>= num的文件描述符

-E,--preserve-env在执行命令时保留用户环境

--preserve-env=list preserve specific environment variables

-e,--edit编辑文件而非执行命令

-g,--group=group以指定的用户组或 ID执行命令

-H,--set-home将 HOME变量设为目标用户的主目录。

-h,--help显示帮助消息并退出

-h,--host=host在主机上运行命令(如果插件支持)

-i,--login以目标用户身份运行一个登录

shell;可同时指定一条命令

-K,--remove-timestamp完全移除时间戳文件

-k,--reset-timestamp无效的时间戳文件

-l,--list

列出用户权限或检查某个特定命令;对于长格式,使用两次

-n,--non-interactive非交互模式,不提示

-P,--preserve-groups

保留组向量,而非设置为目标的组向量

-p,--prompt=prompt使用指定的密码提示

-r,--role=role以指定的角色创建 SELinux安全环境

-S,--stdin从标准输入读取密码

-s,--shell以目标用户运行

shell;可同时指定一条命令

-t,--type=type以指定的类型创建 SELinux安全环境

-T,--command-timeout=timeout terminate command after the specified time limit

-U,--other-user=user在列表模式中显示用户的权限

-u,--user=user以指定用户或 ID

运行命令(或编辑文件)

-V,--version显示版本信息并退出

-v,--validate更新用户的时间戳而不执行命令

--停止处理命令行参数

阅读剩余
THE END