[vtkusers] h264 compression with vtkAVIWriter
imran khan
khan.imranh at gmail.com
Wed Mar 16 09:27:40 EDT 2011
I run into the following error when I try to use the vtkAVIWriter
ERROR: In ..\..\IO\vtkAVIWriter.cxx, line 173
vtkAVIWriter (0FDA7C18): Unable to compress test.avi
My code works fine for the default "msvc" codec.
writer = vtkAVIWriter::New();
w2i=vtkWindowToImageFilter::New();
w2i->SetInput(renderWindowROI);//the render window
writer->SetInputConnection(w2i->GetOutputPort());
writer->SetFileName("test.avi");
writer->SetQuality(2.0);
writer->SetRate(2);
writer->SetCompressorFourCC("h264");
writer->Start();
I am running in 32 bits windows environment. Would appreciate any insights
into getting
this to run.
Imran
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110316/5b74464a/attachment.htm>
More information about the vtkusers
mailing list