Csharp

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.

Code · Cpp · Csharp

1 minute

A simple REST client/server console app in C#

2016-08-24

For personal reference: Full source code here.

Code · Csharp

1 minute