Back a while I tried to implement a MP4 demuxer, and I can kind of relate to that. The mdat box is sometimes an opaque blob and you need to parse the codec framing to split packets (fMP4 helps with this a bit), each…
ReferenceSource is the code from the Windows framework and I'm pretty sure it should be considered deprecated at this point. The runtime and core libraries are now at https://github.com/dotnet/runtime, kinda weird that…
It's mind blowing how much effort they put into this, the MCHPRS server even JIT compiles redstone into native code using Cranelift: https://github.com/MCHPR/MCHPRS/blob/master/docs/Redpiler.md It really saddens me that…
One fast way to do palette reduction is by using a 16-bit RGB565 lookup table filled with all the closest colors relative to each entry index, then you can replace each pixel in the image using just a few bitwise ops…
It seems that the exact opposite problem (phi elimination / translating out of SSA form) is rarely discussed in depth, especially in introductory material. From what I've seen, most compilers rely on the register…
I wonder how signed distance fields performs in practice. Seems like it would fix, or at least minimize the scaling/offset issues quite nicely. https://github.com/Chlumsky/msdfgen
There's also the chroma subsampling issue. With the standard 4:2:0 ratios, you'll get half the resolution for the two chroma channels, and if I'm not mistaken, they are more aggressively quantized. It would be better to…
You can get libx264 to encode 1080p in under 10ms if you spend enough time tuning it, altough I never compared the quality to JPEG.
I've seen a lot of Spotify downloaders using librespot and similar. An interesting exception is Soggfy, which just hooks and dumps the ogg files from the Spotify client. https://github.com/Rafiuth/Soggfy
Widevine is a joke, L3 at least. You can easily dump all video and audio frames by hooking into Chromium's CDM wrapper.
I'm guessing the reason is because of code gen issues, there's a lot of workarounds throughout the BCL code base.
Back a while I tried to implement a MP4 demuxer, and I can kind of relate to that. The mdat box is sometimes an opaque blob and you need to parse the codec framing to split packets (fMP4 helps with this a bit), each…
ReferenceSource is the code from the Windows framework and I'm pretty sure it should be considered deprecated at this point. The runtime and core libraries are now at https://github.com/dotnet/runtime, kinda weird that…
It's mind blowing how much effort they put into this, the MCHPRS server even JIT compiles redstone into native code using Cranelift: https://github.com/MCHPR/MCHPRS/blob/master/docs/Redpiler.md It really saddens me that…
One fast way to do palette reduction is by using a 16-bit RGB565 lookup table filled with all the closest colors relative to each entry index, then you can replace each pixel in the image using just a few bitwise ops…
It seems that the exact opposite problem (phi elimination / translating out of SSA form) is rarely discussed in depth, especially in introductory material. From what I've seen, most compilers rely on the register…
I wonder how signed distance fields performs in practice. Seems like it would fix, or at least minimize the scaling/offset issues quite nicely. https://github.com/Chlumsky/msdfgen
There's also the chroma subsampling issue. With the standard 4:2:0 ratios, you'll get half the resolution for the two chroma channels, and if I'm not mistaken, they are more aggressively quantized. It would be better to…
You can get libx264 to encode 1080p in under 10ms if you spend enough time tuning it, altough I never compared the quality to JPEG.
I've seen a lot of Spotify downloaders using librespot and similar. An interesting exception is Soggfy, which just hooks and dumps the ogg files from the Spotify client. https://github.com/Rafiuth/Soggfy
Widevine is a joke, L3 at least. You can easily dump all video and audio frames by hooking into Chromium's CDM wrapper.
I'm guessing the reason is because of code gen issues, there's a lot of workarounds throughout the BCL code base.