摘要: 弄了好久都没解决,试了很多方法,终于在http://libav-users.943685.n4.nabble.com/yuv420-to-rgb24-NOT-using-libswscale-td1434694.html看到了解决方法,void yuv2rgb(AVPicture *src, PixelFormat src_pix_fmt, AVPicture *dst,PixelFormat dst_pix_fmt, int width, int height){ unsigned char y, u,v; char *rgb = dst->data[0]; unsigne... 阅读全文
posted @ 2013-10-31 17:03 artwebs 阅读(257) 评论(0) 推荐(0) 编辑