This is a clever & clear article about making a toy video codec. If you’ve ever been curious about how/why video codecs can make a video file smaller with/without some loss of image quality, check it out. https://medium.com/@rajaryan1492007/i-wrote-a-tiny-video-codec-in-c-heres-every-line-explained-66fc8334c0b3 #coding #codecs #video_codecs #ffmpeg
I Wrote a Tiny Video Codec in C++ — heres Every Line Explained

RGB → YUV420P → delta frames → DEFLATE → and all the way back. No libavcodec, no magic, just ~150 lines of C++ and zlib.

Medium

it's worse than i expected, btw. MP4/H.254/H.265 videos are all i can get from many open-sourcey social media sites, including #Mastodon, #PeerTube, #Invidious.

(some may offer their instance-owners to change the default media format, but i have not encountered such an instance)

it sucks. when did everyone start believing that relying patented codecs was okay?

and you *can* just offer both, if you cant live without supporting old apple devices or whatever.

#h264 #video_codecs #mp4 #patents