Making the world a better place, one genetic experiment at a time.

> _

  • 109 Posts
  • 1.25K Comments
Joined 3 years ago
cake
Cake day: June 10th, 2023

help-circle


  • Dr. Wesker@lemmy.sdf.orgtoLinux@lemmy.mlWhy Linux?
    link
    fedilink
    English
    arrow-up
    11
    ·
    20 hours ago

    Could someone knowledgeable tell me why desktop Linux has seemed to be ‘chosen’ in comparison to something like FreeBSD or OpenBSD?

    I’m not necessarily knowledgeable, but I’ve gathered that Linux has historically been a little more approachable than the *BSDs, for the average person.











  • 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"
    


  • 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.