PC Review


Reply
Thread Tools Rate Thread

AVIStreamRead return data wrong

 
 
videu
Guest
Posts: n/a
 
      3rd Apr 2010
Hello,

I am using AVIStreamRead to read AVI video,
AVIStreamRead(gapavi[0], i, 1, frame, bsize, &nBytes, &nSamples)

but the data returned in frame is shifted 3 DWORDs. for example
the data returned in frame is:
00 00 00 00 30 30 64 63 00 60 09 00 86 79 87 80 ...

where 86 is the first pixel of the video. and I think 30 30 64 63 (00dc)
means video chunk
and 00 60 09 00 is the picture size (buffer size, 640x480, yuy2) first four
00 are last JUNK chunk data (note: the first chunk in movi LIST is a JUNK
chunk)

So anyone know why AVIStreamRead read the data wrong? really appreciate your
help.
thanks in advance.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
If then with wrong return value Clark Microsoft Excel Worksheet Functions 4 23rd Mar 2008 10:31 PM
wrong return address Marko Microsoft Outlook Discussion 4 22nd Dec 2006 05:32 AM
Re: Why BinarySearch return a wrong value ? ( -4) cody Microsoft Dot NET 0 31st Aug 2004 11:25 PM
Re: Why BinarySearch return a wrong value ? ( -4) Robert Jordan Microsoft C# .NET 1 31st Aug 2004 10:52 PM
VLOOKUP - Wrong Value Return MysticalNomad Microsoft Excel Worksheet Functions 5 31st Aug 2004 12:00 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:34 PM.