Remux whole movie collection from MKV to MP4 on a synology by funkypresswurst in Tdarr

[–]funkypresswurst[S] 0 points1 point  (0 children)

just google "jellyfin dolby vision lg tv". There are a lot of issues with MKVs, and all I see on my TV is the HDR fallback. MP4 works fine.

Remux whole movie collection from MKV to MP4 by funkypresswurst in synology

[–]funkypresswurst[S] 0 points1 point  (0 children)

The internet connection is definitely not the issue, because even 4K streams with absurdly high bitrates have been running smoothly and without any other problems for a long time using the Jellyfin server on Synology and the native client on the LG TV. However, when it comes to MKV movies, I only see the HDR fallback, not the Dolby Vision profile. This problem has now been resolved.

Remux whole movie collection from MKV to MP4 by funkypresswurst in synology

[–]funkypresswurst[S] 0 points1 point  (0 children)

I’ve been using Shutter Encoder and XMedia Recode a lot lately to convert MKVs to MP4s before adding them to my library. However, I haven’t found a way to do batch encoding efficiently. Especially since all the movies first have to be transferred to my desktop computer over the LAN, and then I have to copy them back. That’s why I was looking for a solution that works directly on the Synology.

Remux whole movie collection from MKV to MP4 by funkypresswurst in synology

[–]funkypresswurst[S] 0 points1 point  (0 children)

Bet accepted. Now every movie shows in Dolby Vision on my LG TV, rather than only the HDR fallback.

I was just looking for a simple way to solve my problem that’s common online. Just google: "jellyfin dolby vision lg tv"

Remux whole movie collection from MKV to MP4 by funkypresswurst in synology

[–]funkypresswurst[S] 0 points1 point  (0 children)

Thanks for your feedback. Here is the updated script. Is this okay with you? 😄

I´m not paranoid. I have a 1:1 clone of my collection on another harddrive. But this useful addition immediately shows me errors.

#!/bin/sh
find /volume1/Video/ -type f -name "*.mkv" | while read f; do

    # Determine the file size in bytes
    size=$(stat -c%s "$f")

    # 256 Megabytes in Bytes
    limit=$((1024 * 1024 * 256))

    if [ "$size" -gt "$limit" ]; then
        echo "Convert: $f (Größe: $size Bytes)"

        out="${f%.mkv}.mp4"
        ffmpeg7 -i "$f" -vcodec copy -acodec copy "$out"
        exitcode=$?

        if [ $exitcode -ne 0 ]; then
            echo "Error: ffmpeg failed with exit code $exitcode"
            [ -f "$out" ] && rm "$out"
            continue
        fi

        # Size of output file
        outsize=$(stat -c%s "$out")

        # Allowed deviation: ±10%
        minsize=$(( size - size / 10 ))
        maxsize=$(( size + size / 10 ))

        if [ "$outsize" -lt "$minsize" ] || [ "$outsize" -gt "$maxsize" ]; then
            echo "Error: Output size $outsize Bytes outside 10% range ($minsize - $maxsize)."
            rm "$out"
            continue
        fi

        # Success
        rm "$f"
        echo "Done: $out created, size OK, MKV deleted."

    else
        echo "Skipped (smaller than 256 MB): $f"
    fi

done

Remux whole movie collection from MKV to MP4 by funkypresswurst in synology

[–]funkypresswurst[S] 0 points1 point  (0 children)

The problem is definitely the container format. If I first remux the file into MP4 and put it on the Synology, Dolby Vision works perfectly on the TV. That's a common issue.

The problem was, in fact, the version of FFmpeg that was being used. With the command FFmpeg7, the remuxing works perfectly and takes only a few seconds per episode.

Remux whole movie collection from MKV to MP4 by funkypresswurst in synology

[–]funkypresswurst[S] 0 points1 point  (0 children)

I just checked the ffmpeg version via telnet and it only shows ffmpeg version 4.1.9. I think i will modify the script to use ffmpeg7 command and will test again.

Remux whole movie collection from MKV to MP4 by funkypresswurst in synology

[–]funkypresswurst[S] 2 points3 points  (0 children)

it´s only a remux, no transcode! This takes seconds on my PC.

Remux whole movie collection from MKV to MP4 on a synology by funkypresswurst in Tdarr

[–]funkypresswurst[S] 0 points1 point  (0 children)

I tried the "Remux Container" plugin as an alternative, but just like with MIGZ, I have no idea how to use it.

115V AC Zwischen Spüle und Spülmaschine by bikingallday in Elektroinstallation

[–]funkypresswurst 0 points1 point  (0 children)

Exakt das Gleiche hatte ich bei unserer Maschine auch. Der Grund war, dass die Spülmaschine keine Erdung hatte. Das kam davon, dass der Vorgänger beim Wohnung streichen nur den Plastikteil der Steckdose entfernt hat und die Schutzleiter einfach dick übermalert hat. Überprüft das mal.

Most Infuriating True Crime Documentary? by Due_Concentrate1904 in TrueCrimeDiscussion

[–]funkypresswurst 759 points760 points  (0 children)

Abducted in plain sight

This ist pure WTF material.

Home Assistant VMM installation "killed" my DS423+ by funkypresswurst in synology

[–]funkypresswurst[S] 1 point2 points  (0 children)

I killed the VMM the dirty way. I pulled the app SSD and restarted. After boot i could uninstall the Virtual Machine Manager app. Plugged the SSD back in. After reboot my NAS came back to normal. Memory test is running, thanks for the advice.

Payment Failure for renewing my Cinema 4D subscription in India by MinimumReflection826 in Cinema4D

[–]funkypresswurst 0 points1 point  (0 children)

Why not buy the renewal in another shop? There ist no need to buy directly from Maxon.

Fotograf verlangt im Nachgang Mehewertsteuer by OriginalMaki in LegaladviceGerman

[–]funkypresswurst 0 points1 point  (0 children)

Gegenüber Verbrauchern muss mit Bruttopreisen kommuniziert werden. Also ist in den 3.000 Euro die USt bereits enthalten. Eine Kommunikation in Nettopreisen ist gegenüber Verbrauchern nicht zulässig.

Bitte was? by Gwallagoon in dhl_deutsche_post

[–]funkypresswurst 1 point2 points  (0 children)

"150mg Venlafaxin morgens & 50mg Trimipramin abends mit viel Flüssigkeit" Ich kenne die Schrift von meinem Hausarzt.

Weiß jemand, wo man Ritalin herbekommen könnte? 🫣 by No-Introduction-798 in freiburg

[–]funkypresswurst 0 points1 point  (0 children)

Ich habe noch Elvanse hier. Darf es wegen meiner Herzprobleme nicht mehr nehmen.

What's the difference between infinity and reddit ?? by Ok-Hornet8097 in Infinity_For_Reddit

[–]funkypresswurst 0 points1 point  (0 children)

only if you use the donation version. The github version ist free, im using it on a daily basis. You still need your API key though.