[Insight-developers] Video and OpenCV issues
Bill Lorensen
bill.lorensen at gmail.com
Thu Nov 3 13:27:59 EDT 2011
I built my OpenCV with FFMPEG support. I assume you'll find the same
problem when I ran gdb.
Quoted from my gerrit review:
OpenCVVideoIO::CanReadFile, cvCaptureFromFile fails.VideoFileReader should
check for failure here:
m_VideoIO = itk::VideoIOFactory::CreateVideoIO(
itk::VideoIOFactory::ReadFileMode,
m_FileName.c_str());
m_VideoIO->SetFileName(m_FileName.c_str());
m_VideoIO->ReadImageInformation();
On Thu, Nov 3, 2011 at 1:12 PM, Luis Ibanez <luis.ibanez at kitware.com> wrote:
> Bill,
>
> I just managed to replicate the segmentation fault in:
>
> OpenCVVideoCaptureTest
>
>
> ... now firing up GDB... :-)
>
>
> I would suspect that this is related to not having build
> some FFMPEG support in OpenCV, but, I will probably
> be wrong and will end up having to buy you a beer...
>
>
> Luis
>
>
> ------------------------------------------------------------
> On Fri, Oct 28, 2011 at 11:42 AM, Bill Lorensen <bill.lorensen at gmail.com>
> wrote:
> > Luis and Pat,
> >
> > I am building openvc 2.3.1 with WITH_FFMPEG:BOOL=ON.
> >
> > This is against this gerrit topic:
> > http://review.source.kitware.com/#change,2997
> >
> > itkOpenCVVideoCaptureTest segfaults.
> >
> > Bill
> >
>
--
Unpaid intern in BillsBasement at noware dot com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20111103/2880a60b/attachment.htm>
More information about the Insight-developers
mailing list