Ask Your Question

Revision history [back]

Cannot access x264 codec

I am linking the opencv library into my c++ app, and have x264vfw codec installed. When I try to open the videowriter with fourcc x264 and extension of .mp4 or .avi, the open fails. Not sure why as I am not getting error messages. The -1 fourcc option does not seem to work either. I can get the mp4v fourcc with avi to work, but not the x264. Has anyone gotten this to work on Windows c++ platform?