[Insight-developers] Video and OpenCV issues

Luis Ibanez luis.ibanez at kitware.com
Thu Nov 3 14:15:50 EDT 2011


Bill,

We made some progress with Xiaoxiao,
and push a patch 4:

Where the ITK_VIDEO_USE_*
variables were part of the problem,
http://review.source.kitware.com/#patch,sidebyside,2997,4,Modules/Video/IO/src/itkVideoIOFactory.cxx

but,...
still need to do further debugging.

We think that we are getting closer
to the final source of the problem.


     Luis


-----------------------------------------------
On Thu, Nov 3, 2011 at 1:27 PM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
> 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
>
>


More information about the Insight-developers mailing list