2

Anyone know how I could encode RGB images (24bppRgb) into VP8 format using C#? Basically I'm capturing the screen as bitmap frames and I want to encode them to reduce the size before sending.

From what I've seen there are only code examples for C++ not C#.
Suppose I'm asking for a C# alternative to this question.

Community
  • 1
  • 1
Joey Morani
  • 25,431
  • 32
  • 84
  • 131

1 Answers1

0

You could either port the code (a bit job I'm sure) or build an application in C++ which does the actual conversion, and then call that application via command line in C#, storing the result in a txt or a log file of some sort.

rhughes
  • 9,257
  • 11
  • 59
  • 87
  • It is also possible to call c++ code from c#, as described here: http://stackoverflow.com/questions/935664/possible-to-call-c-code-from-c, so you can keep the c++ version intact and just invoke it from c# for your encoding needs – Aki Mar 20 '13 at 20:20
  • also it seems the 2 answers aren't satisfactory there do you know how I can encode say 3 frames of ARGB data into a very short vp8 video just to get started from scratch? – B''H Bi'ezras -- Boruch Hashem Oct 21 '20 at 23:25