Skip to content

[Feature Request] Validate video file #74

@smokozord

Description

@smokozord

At some point after some steamdeck update, I did lost my boot screen animation.
In my case it was black screen with the sound actually working from the boot animation.

I did not found any solution anywhere to it, but after checking stream of some other animation that can be bought for points normally, I did found out that few things were different.

ffmpeg -i .webm:

Stream #0:0(eng): Video: vp9 (Profile 0), yuv420p(tv), 1920x1200, SAR 1:1 DAR 8:5, 30 fps, 30 tbr, 1k tbn, 1k tbc (default) Stream #0:1(eng): Audio: opus, 48000 Hz, stereo, fltp (default)

vs one that was downloaded via AnimationChanger
Stream #0:0: Video: vp9 (Profile 0), yuv420p(tv, bt709, progressive), 1280x800, SAR 1:1 DAR 8:5, 60 fps, 60 tbr, 1k tbn, 1k tbc (default) Stream #0:1: Audio: opus, 48000 Hz, stereo, fltp (default)

For me it seems like two major differences were resolution, language metadata and bit bt709.
I'm not sure which exactly was the issue, but after adding language metadata and changing resolution, the video started to work properly.
I did it with ffmpeg with command
ffmpeg -i <input_file>.webm -threads 6 -s 1920x1200 -map 0 -c:v libvpx-vp9 -c:a copy -metadata:s:a:0 language=eng -metadata:s:v:0 language=eng -crf 18 <output_file>.webm

After that the video started to work without any issues.

I believe that it would be a nice feature that plugin would be able to validate animation parameters (audio/video streams) that could tell it's users that video might not be working.
Alternatively it would be nice if plugin would be able to convert this file after detecting this. The files usually are not big, so steamdeck shouldn`t have problem spending 10-60s on converting such file (unless some one do throw some lenghty boot animation).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions