non-Web Optimized media does not play on PS4

b5c
Sat, 13 Jul 2024 14:42:42 +0000
Plex Media Server

Server Version#: 1.40.3.8555
Player Version#: 4.129.1

There is a is a boolean when showing the metadata of a file called “Web Optimized” in the plex UI. I have isolated the problem down to this when encountering that it does not want to play that media at on all a Playstation 4.
This is why I’d like to be able to filter all media where this boolean is “no” to fix this problem.
The top ones do not work, where as the bottom does (and other web optimized media).

I tried creating scripts based on information what “Web optimized” even is, where I think it means that there is some MOOV atom in the beginning of the file instead of scattered or at the end. I tried some stackoverflow commands but found both web optimized and non-weboptimized return the same values for “seeks”, but which should have been related:

# Doesn't yield the wanted results
while IFS= read -r f; do
    result=$(ffprobe -v debug "$f" 2>&1 | grep -P "seeks$" | awk '{print $8}')
    if [[ $result != 0 ]]; then
        echo "$f - $result"
    fi
done < <(find . -type f -name '*.mp4')

I don’t want to dig deeper into this with some hex editor and interpret files as text to grep in their head -n X? for the MOOV atom because i really don’t know anything about this, but since plex can easily show this property, it could probably easily be added as a property for the (advanced) filter.

If someone has an idea how to filter those videos without Plex, please let me know too.

3 posts - 3 participants