@espectalll Yet another video that does not play in the Toot! app, on the web or even on the laptop! I needed to download it and throw it at mpv!
@js oof, what's wrong with that!? I'm only getting complaints for you so far and I'm really just using regular MP4+H.264
@espectalll Yep, something you do with your videos is weird, and Mastodon does not seem to perform any sanitation.
@js I just use ffmpeg to properly convert them, here's the command I used for this one as it'd be too heavy at 1080p:
ffmpeg -i MEOWIN\'\ IN\ THE\ 90\'s-ra6FtdXrH4Q.mp4 -s 1280x720 -c:a copy MEOWIN\'\ IN\ THE\ 90\'s\ \(lol\)-ra6FtdXrH4Q.mp4
@espectalll Aha! You are not creating hardware-friendly videos, so they *must* be decoded in software. When browsers (mobile and macOS) try to use the system framework, that tries to just pass it to the hardware - which can't decode it. Try using -profile:v main
@espectalll H.264 has several profiles. I guess without specifying one, ffmpeg uses all features to encode it as efficiently as possible. But HW decoders don't support all profiles.
@js did I type this wrong?
ffmpeg -i MEOWIN\'\ IN\ THE\ 90\'s-ra6FtdXrH4Q.mp4 -profile:v main -level 3.1 -s 1280x720 -c:a copy MEOWIN\'\ IN\ THE\ 90\'s\ \(lol\)-ra6FtdXrH4Q.mp4
@espectalll I wonder: What's the audio though? Maybe it refuses to play at all if the audio is not the correct format?
@js ...anyway, all I can find is the H.264 profiles/levels thing 🤔 https://trac.ffmpeg.org/wiki/Encode/H.264#Compatibility
@js I've tried everything I could so far and failed (being more specific, trying many presets, encoding audio to AAC) and it just doesn't work, sorry.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!