Skip to content

simple video recorder based on v4l2 综合使用学到的知识:USB摄像头+OSD+MFC硬编码+framebuffer+MKV容器=简易录像机,支持210平台

Notifications You must be signed in to change notification settings

fyyy4030/SimpleRecorder

 
 

Repository files navigation

SimpleRecorder

  • camera.c: 基于v4l2的摄像头采集,支持一般的摄像头

  • textoverlay.c: 在图片上叠加ASCII字符,目前做得比较简陋

  • preview.c: 往framebuffer写图像,实现预览

  • encoder.c: H264编码器

  • output.c: 把编码后的H264码流写入MKV容器

  • main.c: 主函数,调用以上代码中的接口

  • 未编码图像用picture_t传递,内部是I420格式,编码后的码流用encoded_pic_t传递


  • master 是基于libx264的软编码器,速度慢,可以在PC上运行
  • s5pv210 是在210平台上跑的版本,使用的MFC硬件编码器

About

simple video recorder based on v4l2 综合使用学到的知识:USB摄像头+OSD+MFC硬编码+framebuffer+MKV容器=简易录像机,支持210平台

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 79.2%
  • Objective-C 20.3%
  • Makefile 0.5%