2

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

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 ?

1 Answer 1

1

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 it adds quite a few codecs to VfW and I believe also x264.

3
  • 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 Jul 16, 2014 at 12:13
  • 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
    Jul 16, 2014 at 12:29
  • 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 Jul 16, 2014 at 21:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.