Re: [OpenCV] VFW Capture fails

View: New views
1 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: [OpenCV] VFW Capture fails

by Xavier Delacour :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

(cc'ing opencvlibrary-devel)

If you checked sources out recently, this may be related to the issues
that Vadim is now dealing with. (see thread from earlier today)

Xavier

On Tue, Apr 29, 2008 at 1:09 PM, Tim Hutt <tdhutt@...> wrote:

>
>
>
>
>
>
> Hi, I had a couple of programs that *were* working perfectly using VFW to
>  capture video on windows. However they've suddenly stopped working (as have
>  the example programs) and I didn't even change anything! It is very weird.
>
>  Now cvQueryFrame() always returns NULL. I've traced the execution into
>  static IplImage* icvRetrieveFrameCAM_VFW( CvCaptureCAM_VFW* capture ), and
>  everything seems fine until it gets to:
>
>  if( vfmt.bmiHeader.biCompression != BI_RGB ||
>
>  vfmt.bmiHeader.biBitCount != 24 )
>
>  At this point, vfmt.bmiHeader.biCompression is actually equal to 0x47504a4d
>  (MJPG).
>
>  Subsequently this line returns NULL:
>
>  capture->hic = ICOpen( MAKEFOURCC('V','I','D','C'),
>
>  vfmt0.biCompression, ICMODE_DECOMPRESS );
>
>  And it's all downhill from there. It worked before! Grr! Anyone have any
>  ideas?
>
>  __._,_.___
>  Messages in this topic (7) Reply (via web post) | Start a new topic
>  Messages | Files | Photos | Links | Database | Members
>  Change settings: http://www.yahoogroups.com/mygroups, select
>     Get Emails (get all posts)
>     Daily Digest (one summary email per day)
>     Read on the web (read posts on the web only)Or Unsubscribe by mailing
> OpenCV-unsubscribe@...
>
>
>  Change settings via the Web (Yahoo! ID required)
>  Change settings via email: Switch delivery to Daily Digest | Switch format
> to Traditional
>  Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
>
>
>
> Recent Activity
>
>
>  190
> New Members
>
>  1
> New Files Visit Your Group
>
>
> Yahoo! Finance
>
> It's Now Personal
>
> Guides, news,
>
> advice & more.
>
> Search Ads
>
> Get new customers.
>
> List your web site
>
> in Yahoo! Search.
>
> Yahoo! Groups
>
> Balance your life
>
> by learning how to
>
> make smart choices.
> .
>  __,_._,___

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Opencvlibrary-devel mailing list
Opencvlibrary-devel@...
https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel