wesker

joined 3 years ago
MODERATOR OF
[–] wesker 2 points 1 hour ago* (last edited 1 hour 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"
[–] wesker 2 points 1 hour ago

I settled on the Magewell card because I found one super cheap, their Linux drivers seem pretty well supported and maintained, and I wanted a bolted-in solution since everything is rackmount.

[–] wesker 1 points 1 hour ago

I paid $50 on ebay for the Magewell, because the seller had a huge lot of them to liquidate.

The TINK 4k is indeed expensive, but it was one I had laying around collecting dust. I have a museum of gaming consoles and for a while was upscaling them with the TINK, before moving on to a different solution.

The 16:9@60 is simply my not yet having implemented conditions in my script for variable capture settings. I am fortunate to have an 8TB HDD in the server, and an additional 140TB data server, so file size footprint isn't currently high on my priorities.

 

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.

[–] wesker 1 points 4 hours ago
[–] wesker 3 points 4 hours ago (3 children)

Toast, eggs, and the noses of my enemies.

[–] wesker 4 points 1 day ago (4 children)

I was referring to us.

[–] wesker 14 points 1 day ago (6 children)

It's a sick world out there, and they've all congregated on lemmy.

[–] wesker 9 points 1 day ago (3 children)

Is this slop or spergposting? One answer gets a block; the other gets a block, but it's not personal, I just don't understand.

[–] wesker 40 points 1 day ago

Older Reddit was even better. Reddit circa 2014 I was organizing local singles nights and smashing it.

[–] wesker 3 points 1 day ago (1 children)

I already have a Thempresse 3. Makes a great cup of coffee.

[–] wesker 2 points 1 day ago

Thank you. He's shuffling to the kitchen for a cup of coffee.

 
13
submitted 1 week ago* (last edited 1 week ago) by wesker to c/unixporn
 

I've not been satisfied with any of the tui subsonic clients, and then this one just came out of the woodwork this last month.

Here's my current config.

3
void-dots (codeberg.org)
submitted 1 week ago* (last edited 1 week ago) by wesker to c/voidlinux@lemmy.ml
 

I've been hacking away at this setup for the last couple months, I figured I'd share it in case anyone else could use inspiration or little pieces here and there.

12
rough trade (lemmy.sdf.org)
submitted 1 week ago* (last edited 1 week ago) by wesker to c/funhole
 

if anti-Israel collages are okay I figured memes were

2
20x142 buuf (i.ibb.co)
submitted 1 week ago* (last edited 1 week ago) by wesker to c/unixporn
 

I had wanted to do this after my post yesterday about the Buuf icon set. Full modern set, 64x64, in a grid.

11
this house is clean (lemmy.sdf.org)
submitted 1 week ago by wesker to c/unixporn
 

Void and xbps are pretty good at keeping a clean home, but after a while you do accumulate dot clutter regardless.

I did a full sweep today to remove cruft, relocate essentials to better locations in ~/.local, and generally organize my home.

Looks and feels good man.

4
submitted 1 week ago* (last edited 1 week ago) by wesker to c/unixporn
 

Nestort's curated set is the best I've found, so far. https://www.opendesktop.org/p/1012233/

view more: next ›