81

Screenshot is of me tunneling into my headless analog video capture server I put together out of an old Thinkserver and a Magewell 1080p capture card, both of which were ebay gambles.

Here's the flow:

  • VCR and Hi8 decks -->
  • Kramer VPC-23 AV Switcher -->
  • RetroTINK 4k, upscaled to 1080p HDMI -->
  • Magewell Pro Capture card -->
  • Thinkserver RS140

AntiX headless install on the server. I ssh in to kick off the capture script I wrote, which also publishes a preview video stream to my LAN. I then just kick back and tune in via mpv.

I went as far as setting up an nfs share on the server, so after a capture I can pull it onto my workstation, to trim, edit, etc.

you are viewing a single comment's thread
view the rest of the comments
[-] curbstickle@anarchist.nexus 3 points 3 months ago

Solid kit!

I do something similar, but slightly different hardware. My VCR is a fun Panasonic that has VHS, DVD, and FireWire for minidv (I still have my minidv camcorder, though I may give it to my oldest who is interested in movie making).

DVD and FireWire inputs come out HDMI and component, but anything from VHS sources is composite or s-video only. So that output goes to an AJA D5D for SDI out, which goes to a black magic decklink for capture. HDMI goes to an Inogeni 4KXUSB3 for reference, I still rip DVD's here and there, usually oddballs I've picked up at garage sales that are worth keeping around on my NAS.

Its mostly a manual operation though, would love to see (an appropriately redacted version of) your capture script! Right now I switch my (not really, but kind of) KVM for my servers over to that machine, and start things off through the GUI.

[-] wesker@lemmy.sdf.org 3 points 3 months ago* (last edited 3 months ago)

The script is nothing to write home about at the moment, with most of my time being spent just dialing it in for performance given the age of the Thinkserver. I feel that's pretty squared away, so the next step is updating it to accept args for things like fps, resolution, etc.

#!/bin/sh

AUDIO_DEV="hw:CARD=HDMI,DEV=0"
FPS=60
OUTDIR="/home/wesker/capture"
PREVIEW_URL="udp://netsphere.lab:5000?pkt_size=1316"

exec ffmpeg -hide_banner \
  -thread_queue_size 2048 -f v4l2 -input_format yuyv422 \
    -video_size 1920x1080 -framerate "$FPS" -i /dev/video0 \
  -thread_queue_size 2048 -f alsa -i "$AUDIO_DEV" \
  -map 0:v -map 1:a \
    -c:v dnxhd -profile:v dnxhr_sq -c:a pcm_s16le \
    "$OUTDIR/$(date +%F-%H%M%S).mov" \
  -map 0:v -map 1:a \
    -c:v libx264 -preset ultrafast -tune zerolatency -g 20 \
    -c:a aac -b:a 128k \
    -f mpegts "$PREVIEW_URL"
this post was submitted on 07 Jun 2026
81 points (100.0% liked)

Selfhosted

62615 readers
370 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS