Category Archives: 脚本

linux下的格式工厂,利用mencoder高速转换压缩视频到mp4

转换之前的准备工作, 因为一些原因,直接从源里面安装的 mplayer,mencoder,gpac 无法完成这个转换工作,所以,我们需要从受限源里面安装, https://help.ubuntu.com/community/Medibuntu 第一步:在终端输入下面的代码并回车,这个是添加medibuntu源 1sudo wget –output-document=/etc/apt/sources.list.d/medibuntu.list http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list && sudo apt-get –quiet update && sudo apt-get –yes –quiet –allow-unauthenticated install medibuntu-keyring && sudo apt-get –quiet update 第二步:安装mplayer,w32codecs,mencode,gpac, 1sudo apt-get install mplayer mencoder w32codecs gpac libdvdcss2 第三步:测试,找到一个需要转换的文件,运行脚本几十秒,中断,然后看它生成的mp4文件是否正常,如果正常,则表明安装的依赖足够了,就可以开工转换了。 脚本相关说明 … Continue reading

Posted in linux, 脚本 | 3 Comments

有奔头使用备份之scrot截图

我对截图软件的要求不高,主要是能方便的鼠标点击一下,划定区域,松开左键,截图完成,这个就是我需要的,

而linux下的scrot 很轻便,支持的参数也多,

我主要是使用的一个脚本加上一个启动器,添加到面板上,完美了

apt-get install scrot

使用的截图脚本是 Continue reading

Posted in 脚本 | Leave a comment