2016-12-26
I’ve been dabbling a bit with Rust and so far, I’m liking it. I’ll probably use it more as replacement for my C/C++ projects. And I just uploaded a very simple ETW wrapper I’m using in one of my side projects. You can check out the source code here.
1 minute
Encoding .NET bitmaps to H264 using FFMPEG
2016-11-28
Recently, I was working on a project that involves the encoding of .NET bitmaps using ffmpeg’s h264 encoder with mp4 as container. This video output will be used in a <video> tag in html5. Sample codes have been all over the place so it took me quite a while to come up with a working solution. The official sample from ffmpeg only encodes to raw h264 stream. This is just a basic sample code for reference.
1 minute