bizarre property of this hotel TV: when playing videos from USB, it incorrectly plays everything at 30fps, resulting in 25fps content playing at +20% speed.
presumably they didn't know how to handle non-integral frame presentation cadences, so they just clamped it to the nearest integer factor.
@gsuberland i'm gonna go out on a limb here and say i'd have hoped it was harder to fuck shit like that up in these days of kitchen sinks on chips
@dysfun @gsuberland that there is a readymade API for exactly what he wants has never stopped a certain kind of engineer from DIYing it badly
@HeNeArXn @dysfun @gsuberland I’m in this toot, but at least I can tell sometimes?
@dysfun they're using ffmpeg on here so you'd think it'd be fine handling that, but I'm guessing there's some restriction further down the pipeline that led them down this path. maybe they couldn't double buffer.
@gsuberland @dysfun ffmpeg isn't a presentation layer, the jank must be in whatever way it's glued to whatever UI framework they're using...
@lina @gsuberland @dysfun Joke's on all of us and they're piping a custom decoder into FFplay.
@dysfun @gsuberland my parents have a cheap "smart" TV. If you play videos off USB it will ignore the aspect ratio and stretch them to 16:9, if you open the same files from an SMB share they will work correctly. The player is literally the same so I have no idea how they managed to do it, but by now I'm resigned to fact that people will *always* find a way to fuck anything up :/

@_hic_haec_hoc @dysfun wow that is... huh. I wonder if reading from SMB is treated as streamed content, whereas USB is treated as local content, so they use different code paths.

or maybe there's just a stretch/zoom/letterbox option somewhere in the TV and it only gets applied to the USB content.

@gsuberland *is nerd sniped*

*eyebrow twitches at 23.976 and 29.97 fps*

@gsuberland I bet that was a good ten mins of being slightly disoriented before realising.
@tamonten absolutely. I kept thinking "huh these animations on Futurama look weirdly over-fluid, are they doing some frame interpolation?" and then started noticing that a lot of the classic lines were being delivered too fast.
@gsuberland Well, if it works to convert NTSC to PAL, why not use this approach for everything 🙈