
视频
文章平均质量分 57
s3lee
这个作者很懒,什么都没留下…
展开
-
《YV12和I420的区别》评注
iComments:在网上搜索“YV12和I420的区别“,发现大家都援引同一篇博文,现摘抄如下: 一般来说,直接采集到的视频数据是RGB24的格式,RGB24一帧的大小size=width×heigth×3 Bit,RGB32的size=width×heigth×4,如果是I420(即YUV标准格式4:2:0)的数据量是 size=width×heigth×1.5 Bit。原创 2013-07-24 17:20:29 · 738 阅读 · 0 评论 -
如何参考x264,使用libx264编码实时的摄像头图像帧
参考x264工程中的实现,关键的几个地方:p_read_frame( &pic, opt->hin, i_frame + opt->i_seek )//实际是int read_frame_yuv( x264_picture_t *p_pic, hnd_t handle, int i_frame )i_file += Encode_frame( h, opt->hout, &pic );转载 2013-09-25 09:23:17 · 1160 阅读 · 0 评论