欢迎访问我的独立博客
摘要: 找到eclipse目录下的eclipse.ini 将最后一行的-Xmx512m改成-Xmx256m保存即可 阅读全文
posted @ 2013-03-27 23:31 github.com/starRTC 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 本文解析见http://www.cnblogs.com/elesos/archive/2013/03/08/2949478.html//Asmallsampleprogramthatshowshowtouselibavformatandlibavcodecto//readvideofromafile.//towritethefirstfiveframesfrom"myvideofile.mpg"todiskinPPM//format.//add#defineinline__inline#include<libavcodec/avcodec.h>#include& 阅读全文
posted @ 2013-03-27 14:36 github.com/starRTC 阅读(858) 评论(0) 推荐(0) 编辑
摘要: ffmpeg -ss 00:00:00 -i D:\media\Linux.mpg -vcodec copy -acodec copy -t 00:01:00 C:\Users\a\Desktop\output.mpg 选项介绍: -ss 截取视频的开始时间 单位为秒 -t 截取视频的时长,单位为秒 -vcodec 视频编码 -acodec 音频编码 -i 输入文件 前提:ffmpeg在系统的Path目录下,这样执行的时候才会找到这个命令 下面这个程序可以将Linux.mpg分割成长度为len分钟的若干个文件。 缺点:由于无法得知源文件的具体长度,无法计算需要分多... 阅读全文
posted @ 2013-03-27 12:24 github.com/starRTC 阅读(4254) 评论(1) 推荐(0) 编辑