Digitizing Media with Linux

Hello, faithful readers – all two of you –

Be warned that this is another Linux post, intended for me to keep track of a task I’ve done, so if I need to repeat it, I don’t have to reinvent the wheel from scratch.

Today’s task: to record video from my old VCR into my computer.

If you wanted to do this on your own Linux computer, you’d need:

  • a computer
  • a video capture card
  • a vcr
  • wires to hook everything together

Specifically, you’d need to make sure that your vcr output is going into the video capture card’s input. On my setup, I’m using a pcHDTV 3000 card, and I’m using the composite input. That’s considered “input 1” in the code below.

I’m using Mencoder to record the video, as I like the settings it has: I get a good balance of quality video and size with the setting below.


export MAIN_DIALOG='
  <window title="MyDVR" icon-name="gtk-preferences" resizable="true" decorated="true" width_request="320">
      <label>Time to record (hh:mm:ss):</label>
    <entry activates_default="true">

      <label>Name of recording:</label>
    <entry editable="false">

        <action>xterm -e mencoder tv:// -tv driver=v4l2:device=/dev/video0:norm=NTSC:input=1:width=720:height=480:audiorate=44100:alsa:adevice=hw.0:brightness=17:contrast=0:hue=0:saturation=0 -oac copy -ovc lavc -noskip -quiet -vf crop=720:460:0:20 -vf yadif=0.5 -lavcopts vcodec=mpeg4:vbitrate=3000 -endpos $ENTRY1 -o  "$ENTRY2.mp4"</action> 
        <action type="exit">OK</action>
        <action type="exit">Exit</action>

gtkdialog --program=MAIN_DIALOG

So, this may not have been the most interesting post I’ve ever written, but I’m putting it up here so I can refer to it later if need be. Thanks for your patience, readers!

0 Responses to “Digitizing Media with Linux”

  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Pastor Ed Backell

Flickr Photos

Pastoral Tweets

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 230 other followers

%d bloggers like this: