- 博客(18)
- 收藏
- 关注
原创 Create MOS via ffmpeg
To Create 2min mono MOS: ffmpeg -f lavfi -i aevalsrc=0 -ar 48000 -ac 1 -c:a pcm_s24le -ss 0 -t 120 MOS_2min_mono.wav Or ffmpeg -ar 48000 -ac 1 -f s24le -i /dev/zero -c:a pcm_s24le -
2015-02-12 21:55:37
601
原创 ffmpeg 多wav合并
ffmpeg -i Lt.wav -i Rt.wav -map 0,0 -map 1,1 -acodec copy Stereo.mov
2013-04-18 10:21:45
5286
原创 Failed to get lock on destination repos
svn propdel svn:sync-lock --revprop -r 0 http://ip/svn/myrepo
2013-04-12 14:09:32
2065
原创 svnsync 同步
Step 1. svnadmin create Run once @echo off echo --------------------------------------------------------------------------- echo %date:~0,10% %time% echo Start... echo Creating myrep... svnadmin
2013-04-12 10:57:06
999
原创 Get file Hash with Qt
QString filePath = "/raid0/NVIDIA-Linux-x86_64-295.20.run"; QFile theFile(filePath); theFile.open(QIODevice::ReadOnly); QByteArray ba = QCryptographicHash::hash(theFile.readAll(),QCryptogr
2012-12-07 18:50:36
547
原创 Add the RPMForge Repositories for CentOS 5
Add the RPMForge Repositories. Instructions are at http://wiki.centos.org/AdditionalResources/Repositories/RPMForge The default RPMforge repository does not replace any CentOS base packag
2012-08-14 10:51:56
551
原创 /etc/yum.repos.d/CentOS-Base.repo
[base] name=CentOS-5-Base #mirrorlist=http://mirrorlist.centos.org/?release=$releasever5&arch=$basearch&repo=os #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/ baseurl=http://ft
2012-03-22 17:25:13
6583
转载 Clear SVN login info
[Windows] Delete C:\Documents and Settings\Administrator\Application Data\Subversion\auth\* or TortoiseSVN: Settings->Saved Data->Authentication data,Clear [Linux] rm -rf ~/.subversion/auth
2012-03-08 10:21:23
616
原创 yum install
如果在使用yum install安装找不到某些包的时候,可以使用下面办法试试 wget http://dag.wieers.com/rpm/packages/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm rpm -Uvh rpmforge-release-0.3.6-1.el5.rf.i386.rpm
2012-02-23 23:52:21
519
原创 单用户维护模式
edit grub menu: press e, append "single" to line "kernel..." [Enter] then press b sh-3.2# passwd
2011-12-29 18:00:22
638
原创 QLineEdit::setValidator ( const QValidator * v )
QRegExpValidator *validator = new QRegExpValidator(QRegExp("^[0-9]*$"), this); this->ui->lineEdit->setValidator(validator);
2011-12-02 00:37:31
5262
原创 hostname
$ hostname ubuntu1110 $ sudo vi /etc/hostname $ sudo vi /etc/hosts
2011-11-30 16:59:34
501
原创 sc
C:\>sc DESCRIPTION: SC is a command line program used for communicating with the NT Service Controller and services. USAGE: sc [command] [service name] ... Th
2011-11-21 01:28:37
1459
原创 chmod
# chmod 775 /usr/lib64/libstdc++.so.6.0.10 一般是三个数字: 第一个数字表示文件所有者的权限 第二个数字表示与文件所有者同属一个用户组的其他用户的权限 第三个数字表示其它用户组的权限。 权限分为三种: 读(r=4=100), 写(w=2=010), 执行(x=1=001)。 综合起来还有可读可执行(rx=5
2011-11-18 16:59:09
975
原创 strings
prints the printable character sequences that are at least 4 characters long (or the number given with the options below) and are followed by an unprintable character. # strings /usr/lib64/li
2011-11-18 16:13:30
445
原创 add yum source for ffmpeg
$ cat /etc/yum.repos.d/ffmpeg.repo [dag] name=Dag RPM Repository for Red Hat Enterprise Linux baseurl=http://apt.sw.be/redhat/el\$releasever/en/\$basearch/dag gpgcheck=0 enabled=1 EOF $ yum
2011-11-18 11:52:22
526
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅