Remix.run Logo
flashblaze a day ago

I'm not really well versed with codecs, but is it up to the devices or the providers (where you're uploading them) to handle playback or both? A couple of days ago, I tried to upload an Instagram Reel in AV1 codec, and I was struggling to preview it on my Samsung S20 FE Snapdragon version (before uploading and during preview as well). I then resorted to H.264 and it worked w/o any issues.

sparrc a day ago | parent | next [-]

Playback is 100% handled by the device. The primary (and essentially only) benefit of H.264 is that almost every device in the entire world has an H.264 hardware decoder builtin to the chip, even extremely cheap devices.

AV1 hardware decoders are still rare so your device was probably resorting to software decoding, which is not ideal.

kevmo314 a day ago | parent | prev [-]

Instagram (the provider) will transcode for compatibility but likely the preview is before transcoding, the assumption being that the device that uploads the video is able to play it.

ta1243 a day ago | parent [-]

Yes that sounds spot on.

I don't know instagram, but I would expect any provider to be handle almost any container/codec/resolution combination going (they likely use ffmpeg underneath) and generate their different output formats at different bitrates for different playback devices.

Either instagram won't accept av1 (seems unlikely) or they just haven't processed it yet as you infer.

I'd love to know why your commend is greyed out.