Home server (lemmy.world)
submitted 3 weeks ago by to c/selfhosted@lemmy.world
 

Built when Netflix first took away password sharing. Thanks for the heads up Netflix! Would not want to start this project now ๐Ÿ˜‚

Edit: adding temp and specs

I9 11900k Z590I Vision D ITX mobo 64gb memory The 16x lane is bifurcated to run: Intel a310 & Lsi 9305 16e into a hp dl380

Drives are 10x 14 tb wdd in raidz1, 6 256gb sata ssds in a pair of 3 wide mirrors for special vdev metadata, a 512gb nvme for read cache, and a 64gb optane for slog

you are viewing a single comment's thread
view the rest of the comments
[โ€“] 1 point 3 weeks ago (1 child)

thanks for sharing, i was hoping for more specifics to experiment with; i have a powershell script i'm running that does the same thing:

    try {
        ffmpeg -y -hwaccel nvdec -i "$input" `
            -map 0:v? -map 0:a? -map 0:s? `
            -c:v h264_nvenc -preset slow -rc vbr -cq 21 -b:v 0 `
            -pix_fmt yuv420p `
            -c:a aac -b:a 160k `
            @subtitleArgs `
            "$temp"

        if ($LASTEXITCODE -eq 0 -and (Test-Path $temp)) {
            $encoded = $true
        }
        else {
            throw "GPU encode failed"
        }
    }
    catch {
        Write-Warning "GPU failed -> CPU fallback"
        Add-Content $logFile "GPU failed, CPU fallback: $input"
        $gpuFallbackCount++

        ffmpeg -y -i "$input" `
            -map 0:v? -map 0:a? -map 0:s? `
            -c:v libx264 -preset slow -crf 20 `
            -pix_fmt yuv420p `
            -c:a aac -b:a 160k `
            @subtitleArgs `
            "$temp"

        if ($LASTEXITCODE -eq 0 -and (Test-Path $temp)) {
            $encoded = $true
        }
    }

cool gaming rig, too! you also know the SFF pains ๐Ÿคฃ๐Ÿ˜‚

  • source
  • parent
  • hideshow 1 child comment
  • [โ€“] [S] 1 point 3 weeks ago*

    Tdarr is a pretty fun automation tool if you Wana try. Basically I down scale to 1080p if it's higher, then I rencode to av1 at 8mbps or lower depending on current bitrate. I also keep all audio and subtitle streams how they were

  • source
  • parent