摘要: /* 本程序符合GPL条约* Beneboy 2003-5-16*/#include // printf#include // open#include // bzero#include // exit#include // times#include // pid_t#include ... 阅读全文
posted @ 2013-08-12 16:02 毛毛虫的薄刻 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 10.04先将 ubuntu server 的 iso 放到优盘上,然后在提示无法找到光驱时,按 alt+f2 打开一个新的 console 窗口,将 iso mount 上,具体操作如下:ls /dev/sd*mkdir /mnt/usb /mnt/isomount -t vfat /dev/sd... 阅读全文
posted @ 2013-08-12 15:47 毛毛虫的薄刻 阅读(161) 评论(0) 推荐(0) 编辑
摘要: void showbmp2(){ int x,y; unsigned char *p; int index=0; struct fb_var_screeninfo vinfo; struct fb_fix_screeninfo finfo; struct fb_bitfield red; s... 阅读全文
posted @ 2013-08-12 15:43 毛毛虫的薄刻 阅读(213) 评论(0) 推荐(0) 编辑
摘要: /*ex2serv.c*/#include #include#include #include #include #include #include #define LISTENQ 5#define MAXLINE512 //char data2[10] = {0,1,2,3,4,5,6,7,8,9... 阅读全文
posted @ 2013-08-12 15:38 毛毛虫的薄刻 阅读(137) 评论(0) 推荐(0) 编辑
摘要: linux下安装ffmpeg1、下载ffmpeg。2、解压 tar xvfj ffmpeg-0.11.1.tar.bz2 得到解压后的目录是ffmpeg-0.11.13、配置 www.2cto.com ./configure --enable-shared --prefix=/usr/loc... 阅读全文
posted @ 2013-08-12 11:19 毛毛虫的薄刻 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 最近在做流媒体开发这一块,在服务器端,所用的live555不支持mp4,avi等视频容器格式,所以打算运用ffmpeg来进行扩展。将MP4文件先运用ffmpeg进行解析,解析成live555所支持的基本视频流格式(如H.264等)和音频流格式,再运用live555中对基本音视频流的处理方式处理后,发... 阅读全文
posted @ 2013-08-12 11:12 毛毛虫的薄刻 阅读(177) 评论(0) 推荐(0) 编辑