<p>There isn't really an alternative to x264vfw. Are you sure the error is with the codec and not your application? It's in wide use, such a major bug would definitely be found.</p>

<p>Also be aware that h264 doesn't work in a frame by frame basis unless you encode only intra frames.
VP80 is NOT h264, just a similar codec.</p>

<p>If you need to develop an app you probably want to turn to a commercial h264 implementation like MainConcepts Codec SDK: <a href="http://www.mainconcept.com/products/sdks/codec-sdk/video/h264avc.html" rel="nofollow">http://www.mainconcept.com/products/sdks/codec-sdk/video/h264avc.html</a>
Should also come with a vfw codec.</p>

<p>Alternatively you can turn to GStreamer which offers C# bindings: <a href="http://cgit.freedesktop.org/gstreamer/gstreamer-sharp" rel="nofollow">http://cgit.freedesktop.org/gstreamer/gstreamer-sharp</a></p>

<p>Another option could may be <a href="http://www.videohelp.com/tools/ffdshow" rel="nofollow">ffdshow</a> it adds quite a few codecs to VfW and I believe also x264.</p>

CC BY-SA 3.0
2014-07-16T12:13:36.797Z
Thanks, I have byte[]bgr image that I need to store quickly and compressed so I choose EmguCV that I already use elsewhere. As you say many codec are no free so complicated for a side project. I record 10s video and it lost 1-2s to start but it could be EmguCV indeed
Jean-Philippe Encausse
CC BY-SA 3.0
2014-07-16T12:29:56.367Z
GStreamer is great for developing OpenSource or even commercial apps with video functionality but its not that super duber easy to use, though if you are willing to give it a try it definitely offers great features, is pretty robust and in the end not THAT hard to use.
You could also use native C++ code in your C# app to use the latest version of GStreamer.
E: Actually it seems the continued development, the latest C# bindings are from 2014! Last time I checked the latest code was from 2009.
timonsku
CC BY-SA 3.0
2014-07-16T21:32:19.383Z
Indeed 2009 is 5 years ago ^^ I'll give a try to EmguCV I already use and test an other vfw FOURCC codec. Then I'll try to pay if I can
Jean-Philippe Encausse
CC BY-SA 3.0
2014-07-16T00:57:20.160Z
2014-07-16T12:33:09.010Z
2014-07-16T12:33:09.010Z
timonsku
<p>I'm looking for VfW codec to encode H264 and VP80.</p>

<ul>
<li>I already found: <a href="http://sourceforge.net/projects/x264vfw/" rel="nofollow">x264vfw</a> </li>
<li>And <a href="http://www.videohelp.com/tools/VP8-VFW-Codec" rel="nofollow">VP80vfw</a> </li>
</ul>

<p>The 1st is bugged and lost the start and the end. The 2nd do not install on Windows 8.</p>

<p>Why VfW ? to use then in a C# sofware using EmguCV, recording frame by frame. I can't use ffmpeg.</p>

<p>Any Idea ?</p>

<ffmpeg><codec><programming>
Video for Windows Codec x264 and VP80
Jean-Philippe Encausse
# Video for Windows Codec x264 and VP80

(Asked by: username_0 on 2014-07-15)

I'm looking for VfW codec to encode H264 and VP80.

* I already found: [x264vfw](http://sourceforge.net/projects/x264vfw/)
* And [VP80vfw](http://www.videohelp.com/tools/VP8-VFW-Codec)

The 1st is bugged and lost the start and the end. The 2nd do not install on Windows 8.

Why VfW ? to use then in a C# sofware using EmguCV, recording frame by frame. I can't use ffmpeg.

Any Idea ?

**Tags:** ffmpeg, codec, programming


---

## 1 answers

### Answer by username_1 on 2014-07-16. Score: 1 | Accepted answer

There isn't really an alternative to x264vfw. Are you sure the error is with the codec and not your application? It's in wide use, such a major bug would definitely be found.

Also be aware that h264 doesn't work in a frame by frame basis unless you encode only intra frames.
VP80 is NOT h264, just a similar codec.

If you need to develop an app you probably want to turn to a commercial h264 implementation like MainConcepts Codec SDK: <http://www.mainconcept.com/products/sdks/codec-sdk/video/h264avc.html>
Should also come with a vfw codec.

Alternatively you can turn to GStreamer which offers C# bindings: <http://cgit.freedesktop.org/gstreamer/gstreamer-sharp>

Another option could may be [ffdshow](http://www.videohelp.com/tools/ffdshow) it adds quite a few codecs to VfW and I believe also x264.

> **Comments:**
> **username_0**: Thanks, I have byte[]bgr image that I need to store quickly and compressed so I choose EmguCV that I already use elsewhere. As you say many codec are no free so complicated for a side project. I record 10s video and it lost 1-2s to start but it could be EmguCV indeed  
> **username_1**: GStreamer is great for developing OpenSource or even commercial apps with video functionality but its not that super duber easy to use, though if you are willing to give it a try it definitely offers great features, is pretty robust and in the end not THAT hard to use. You could also use native C++ code in your C# app to use the latest version of GStreamer. E: Actually it seems the continued development, the latest C# bindings are from 2014! Last time I checked the latest code was from 2009.  
> **username_0**: Indeed 2009 is 5 years ago ^^ I'll give a try to EmguCV I already use and test an other vfw FOURCC codec. Then I'll try to pay if I can  

---

