Take the 2-minute tour ×
Video Production Stack Exchange is a question and answer site for engineers, producers, editors, and enthusiasts spanning the fields of video, and media creation. It's 100% free, no registration required.

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 ?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

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.

share|improve this answer
    
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 Jul 16 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. –  Professor Sparkles Jul 16 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 –  Jean-Philippe Encausse Jul 16 at 21:32

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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