Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Analog Video Capture in LINUX

Loading...

Sign in or sign up now!
12,022
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Mar 30, 2008

Thought I'd share my good fortune - I know I'm not alone in trying to figure out how to capture from an analog capture device in LINUX, and "How-Tos" in LINUX are fairly lacking on YouTube. Here are some command lines I've pieced together to capture - 2 for a TV card and 1 for USB Webcam. The tutorial will hopefully give you an idea on how to tweak them for your own use. As needs arise for my own further tweaking, maybe I'll post some modifications! Here they are, for your enjoyment. To use, just open a console where you want to save the video file, cut and paste, change the name of the file to what you want and add any other tweaks, and you're ready.

MPlayer/mencoder:
http://www.mplayerhq.hu

High Quality:
mencoder -ovc lavc -lavcopts vcodec=mpeg4:\vhq:vbitrate=6000 -oac mp3lame -lameopts br=256: -ffourcc DIVX -tv driver=v4l:norm=ntsc:input=1:adevice=/dev/dsp:width=640:height=480 -af volume=-10 -o ****.avi tv://

Web Quality:
mencoder -oac mp3lame -ovc lavc -lameopts mode=1:vbr=2:q=4 -lavcopts vcodec=mpeg4 -tv driver=v4l:norm=ntsc:input=1:adevice=/dev/dsp:width=640:height=480 -af volume=-10 -o ****.avi tv://

Webcam:
mencoder tv:// -tv driver=v4l:width=320:height=240:device=/dev/video1:forceaudio:adevice=/dev/dsp -ovc lavc -oac mp3lame -lameopts cbr:br=64:mode=3 -o ****.avi

Getting Started in Cinelerra:
http://www.billauer.co.il/cinelerra-video-edit-quickstart.html

This video was captured entirely in analog, entirely on my webcams, and entirely in LINUX (my first!) This is my third video using Cinelerra... hopefully no one noticed the difference!

  • likes, 3 dislikes

Link to this comment:

Share to:

Uploader Comments (vaasnaad)

  • Linux = Ok...

    Windows = Hmmm.. how to put this.... Sexyness!!!

  • @xiiDenTiiTy I'm at work on a Saturday because a Term server spontaneously stopped working mid-stream and I had to call Calcutta to even start to try and get it working (and I'm MS Certified). I go home to my Linux setup every night, never worry about viruses, malware, maintenance, etc. and have all the Windows apps and games I want running via Wine. Wanna know which one is more sexy in my book? hehe

  • @WeePaul2010 Say what?

  • Hello tehre Vaasnaad, thanks for this! exact;y what I was looking for!

  • @trilbies Thank you!

see all

All Comments (40)

Sign In or Sign Up now to post a comment!
  • @vaasnaad lol

  • Tap Dat.

  • you can also use command:

    cat /dev/video0 > test.mpg

    Where 'video0' is my analog input (yours may be different) and 'test.mpg' is the name of my file. Of course call this output file whatever you choose.

    This command is run in a normal terminal and exited with the 'Ctrl+C' key combination. Hope this helps someone!

  • @WeePaul2010 & your fucking low life muppet give the man a break you fucking prick!!!

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more