Creating A Console Video Player With A Catch. Part 2

Intro After having implemented the terminal video player, it was apparent that is was rather slow. So the need for optimizations is in order. And oh boy did I cook on this one. And it’s actually the reason as to why this blog post took so long to make, I just kept finding ways to speed up my program. Optimizations A list of optimizations done: Use Spans as collections instead of arrays (if possible)....

September 14, 2024

Creating A Console Video Player With A Catch. Part 1

Intro I’ve always wanted to make a video player. I think it’s an interesting challenge, with many chances of creative optimizations. This will be a two parter. How I handle client/server logic and implimenting my own video file format. Benchmarking and optimization. The Idea The idea here being that I will create a video player, entirely working in the console (or terminal, depending on who you ask). It will consist of a backend and a frontend....

August 11, 2024

Media Codecs Comparison And Benchmark

From time to time, I like to record clips and videos of me and the guys playing video games. Also record a video or two when cycling. But what I don’t like is when my phone runs out of storage because the videos was recorded with the wrong codec. Idea I want to test 7 different codecs in this blog post. H264 (mp4) H265 (mp4) VP9 (webm) AV1 (mp4) Theora (ogg) MPEG-1 (mpeg) MPEG-2 (mpeg) MPEG-1, 2 and Theora I added as a joke....

July 20, 2024