Click here to Skip to main content
15,921,169 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: hide one property page?? Pin
JoramW2-Dec-04 2:49
JoramW2-Dec-04 2:49 
GeneralRe: hide one property page?? Pin
includeh102-Dec-04 5:02
includeh102-Dec-04 5:02 
GeneralRe: hide one property page?? Pin
JoramW2-Dec-04 22:52
JoramW2-Dec-04 22:52 
Questionhow to know Service pack of MSVC6.0 Pin
Abhi Lahare2-Dec-04 1:58
Abhi Lahare2-Dec-04 1:58 
AnswerRe: how to know Service pack of MSVC6.0 Pin
David Crow2-Dec-04 4:05
David Crow2-Dec-04 4:05 
GeneralRe: how to know Service pack of MSVC6.0 Pin
david_gilmour2-Dec-04 22:22
david_gilmour2-Dec-04 22:22 
GeneralRe: how to know Service pack of MSVC6.0 Pin
David Crow3-Dec-04 2:50
David Crow3-Dec-04 2:50 
QuestionAVIFile file size restriction? Pin
JoramW2-Dec-04 1:26
JoramW2-Dec-04 1:26 
Help:
I'm trying to write an application on Visual Studio .NET 2003 that uses the Video for Windows AVIFile methods to read an AVI DV file and grab some frames from it. It's been working fine, except I can't seem to access the whole of a larger file. If I use AVIFileInfo after AVIFileOpen then the length of the file given (in frames) is smaller than the actual length. If I then open the video stream and use AVIStreamLength I get the actual file length. However, if I try to use AVIStreamGetFrame to extract frames it returns NULL for any requests for frames beyond the length given with AVIFileInfo!
Some messing about has shown me that the cut-off point seems to be around the 1GB mark(approx 4m45s for DV). If I encode using a different scheme (say, Cinepak codec) then it displays well beyond the 5m mark (although the file I checked this on was still less than 1GB, so I need to generate a bigger file to find if the problem resurfaces with a different codec - will do this overnight).
I can't find any reference anywhere to a restriction with reading avis with AVIFile, but can't think what else the problem could be. As far as I know both AVIFileInfo and AVIStreamLength extract data without the use of a codec so it's not a problem with the specific codec that I'm using. Having said that, I know that Video for Windows is a bit outdated and I should really be using DirectShow, so maybe it's because the software is too old...
Has anyone else had this problem or have any ideas?

jOP
GeneralHELP Immediately !! Very important!! Pin
angello62-Dec-04 1:21
angello62-Dec-04 1:21 
GeneralMultiple column combo box Pin
ledallam1-Dec-04 23:46
ledallam1-Dec-04 23:46 
GeneralLaunching Notepad to open a specific file Pin
Anonymous1-Dec-04 22:56
Anonymous1-Dec-04 22:56 
GeneralRe: Launching Notepad to open a specific file Pin
vaniacilli1-Dec-04 23:05
vaniacilli1-Dec-04 23:05 
GeneralRe: Launching Notepad to open a specific file Pin
ThatsAlok1-Dec-04 23:09
ThatsAlok1-Dec-04 23:09 
GeneralRe: Launching Notepad to open a specific file Pin
Arsalan Malik1-Dec-04 23:17
Arsalan Malik1-Dec-04 23:17 
GeneralRe: Launching Notepad to open a specific file Pin
Anonymous1-Dec-04 23:32
Anonymous1-Dec-04 23:32 
GeneralReading Variables Pin
gamitech1-Dec-04 22:50
gamitech1-Dec-04 22:50 
Generalabout TransmitFile Pin
yingkou1-Dec-04 22:46
yingkou1-Dec-04 22:46 
GeneralLinker Error Pin
Yuvaraj N1-Dec-04 22:18
Yuvaraj N1-Dec-04 22:18 
Questionhow to resize property page??? Pin
includeh101-Dec-04 22:09
includeh101-Dec-04 22:09 
AnswerRe: how to resize property page??? Pin
PJ Arends1-Dec-04 22:33
professionalPJ Arends1-Dec-04 22:33 
GeneralRe: how to resize property page??? Pin
includeh101-Dec-04 23:47
includeh101-Dec-04 23:47 
QuestionWhich MFC control does this? Pin
Vancouver1-Dec-04 19:39
Vancouver1-Dec-04 19:39 
AnswerRe: Which MFC control does this? Pin
Cedric Moonen1-Dec-04 19:55
Cedric Moonen1-Dec-04 19:55 
GeneralRe: Which MFC control does this? Pin
Vancouver2-Dec-04 10:58
Vancouver2-Dec-04 10:58 
GeneralATL support to existing MFC application Pin
Ro_land1-Dec-04 19:26
Ro_land1-Dec-04 19:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.