Giter VIP home page Giter VIP logo

sdtv2csi's Introduction

sdtv2csi - SDTV to MIPI CSI-2 Video Decoder

Board for converting SDTV analog video to MIPI CSI-2 using Analog Devices ADV7280A-M.

sdtv2csi topview sdtv2csi backview

Example of operation with Raspberry Pi and FFmpeg

Enable the camera interface with the raspi-config command.

$ sudo raspi-config

Select 3 Interface Options -> I1 Legacy Camera -> <Yes>

Add the following line to /boot/config.txt

dtoverlay=adv728x-m,adv7280m=on

However, for RPi 2B+, Zero, and Zero W, add the following:

dtoverlay=adv728x-m,i2c_pins_28_29=on,adv7280m=on

Reboot the system and check for devices.

$ sudo reboot
$ sudo v4l2-ctl --all -d /dev/video0

Installing FFmpeg.

$ sudo apt update
$ sudo apt install ffmpeg

Example commands for video recording (Connect NTSC composite video signal to VIDEO_IN pin header AIN1-GND).

$ ffmpeg -an -video_size 640x480 -r 29.97 -pix_fmt yuv420p -i /dev/video0 -c:v rawvideo out.asf 
$ ffmpeg -an -video_size 720x480 -r 29.97 -i /dev/video0 -c:v rawvideo -vf realtime out.asf 

Example command for output to frame buffer.

$ sudo ffmpeg -an -video_size 640x480 -r 29.97 -i /dev/video0 -pix_fmt bgra -f fbdev /dev/fb0

sdtv2csi's People

Contributors

rniwase avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.