[vtkusers] Pb with usage of class vtkAVIWriter
Peter KURNEV
p-kurnev at opencascade.com
Wed Oct 26 02:07:20 EDT 2005
Hello.
I've faced with the problem using the class vtkAVIWriter on LINUX Debian.
All that I did is the following:
{
..
vtkRenderWindow *renWin = vtkRenderWindow::New();
...
vtkRenderWindowInteractor *iren = vtkRenderWindowInteractor::New();
iren->SetRenderWindow(renWin);
...
vtkWindowToImageFilter *pWTI=vtkWindowToImageFilter::New();
pWTI->SetInput(renWin);
...
vtkAVIWriter *pAVIWriter=vtkAVIWriter::New();
pAVIWriter->SetInput(pWTI->GetOutput());
pAVIWriter->SetFileName("/data/pkv/V1/x.avi");
pAVIWriter->Start();
...
// do smth to draw some picture on the screen
// btw: the picture was displayed OK before the usage of vtkAVIWriter
//
pAVIWriter->Write();
...
pAVIWriter->End();
...
}
The result is :
fixme:avifile:AVIFileInit (): stub!
Segmentation fault
Could you please, help to fix the pb.
Thanks in advance.
_________________
Regards,
Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p-kurnev.vcf
Type: text/x-vcard
Size: 301 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20051026/a447e160/attachment.vcf>
More information about the vtkusers
mailing list