摘要: avcodec_init(); // 初始化codec库avcodec_register_all(); // 注册编码器{ AVCodec *codec; // 编码器 AVCodecContext *c= NULL; // 编解码环境 int i, out_size, size, x, y, outbuf_size; FILE *f== fopen("C:\\mpeg4_dec1.yuv", "rb");; //视频源文件 AVFrame *picture; // 当前帧 uint8_t *outbuf, *picture_buf; codec = a 阅读全文
posted @ 2012-12-01 15:07 李伯波 阅读(348) 评论(0) 推荐(0) 编辑