Menu

Failed assertion : bFoundVideo

Help
Darrel
2013-06-06
2014-07-05
  • Darrel

    Darrel - 2013-06-06

    I used videoReader before with great success, but have been "upgraded" to 64 bit windows 7. I am trying to read in a .mts AVCHD video and have installed the K-lite codec pack (64 bit version), and the Haali Splitter (64 bit). When I try vr=videoReader('myvideo.mts') I get the following error:

    Error using videoReader_DirectShow

    Failed assertion : bFoundVideo
      Function       : void __cdecl
      VideoIO::DirectShowIVideo::open(class VideoIO::KeyValueMap &)
      File           :
      C:\Users\dalleyg\Documents\projects\videoIO\trunk\DirectShowIVideo.cpp
            Line           : 334
    

    Error in videoReader (line 151)
    vr.handle = feval(vr.plugin, 'open',vr.handle, ...

    This appears to be from a call VrRecoverableCheck(bFoundVideo); but I can't find that function. Any clues as the what is wrong or how to fix it would be appreciated. Thanks!

    Darrel.

     
  • Andrei Stoian

    Andrei Stoian - 2014-07-05

    Here's a fix I made using CaptureGraphBuilder RenderStream instead of IMediaDet. I don't know if it's stable, but it works for me. I recommend the LAV codecs + Haali splitter instead of ffdShow (I get crashes).

     

Log in to post a comment.