User Tools

Site Tools


computing:linux:video_capture

This is an old revision of the document!


Capture and Digitize VHS Analog Video

Linux: https://linux.goeszen.com/capturing-vhs-video-with-vlc-via-v4l2.html

https://gordonlesti.com/digitize-a-vhs-tape-with-ffmpeg-and-easycap-on-linux/

Beginners: https://www.youtube.com/watch?v=sn_TDa9zY1c

  • EasyCAP USB 2.0 Video Grabber
  • RCA connector cable for composite video and stereo audio
  • VHS video cassette recorder
  • Computer with USB 2.0 and Linux
sudo apt install qv4l2 ffmpeg 
qv4l2
cat /proc/asound/cards

Capture a NTSC VHS Tape

  • USB video capture device is /dev/video0
  • USB audio capture device is number 1 hw:1,0
ffmpeg -f v4l2 -standard NTSC -thread_queue_size 512 -i /dev/video0 -f alsa -thread_queue_size 512 -i hw:1,0 -vcodec libx264 -preset superfast -crf 25 -s 720x576 -r 25 -aspect 4:3 -acodec libmp3lame -b:a 128k -channels 2 -ar 48000 out.avi

Trim a Video Without Encoding

ffmpeg -ss 00:00:10 -i yourvideo.mp4 -to 02:47:10 -c copy yourvideo_trimmed.mp4
computing/linux/video_capture.1554173800.txt.gz · Last modified: 2019/04/01 20:56 by gcooper