Page 1 of 1

video file info

Posted: Wed Oct 05, 2005 9:35 pm
by pascal
Hello,

I'm a new user of the gfl library, and I have a question about video files.

When I use the method:

Code: Select all

gflFormatIsSupported(filepath);
with an avi or mov file, the function return true
and when just after I use the method:

Code: Select all

 gflGetFileInformation(filepath, -1,  ref fileInfo);

the GFL_FILE_INFORMATION structure is empty!

Could you tell me how to get the file info for a video file, and later how to load it in order to play it. It's possible, isn't it?

Thxs

Re: video file info

Posted: Thu Oct 06, 2005 8:00 am
by xnview
pascal wrote:Hello,

I'm a new user of the gfl library, and I have a question about video files.

When I use the method:

Code: Select all

gflFormatIsSupported(filepath);
with an avi or mov file, the function return true
and when just after I use the method:

Code: Select all

 gflGetFileInformation(filepath, -1,  ref fileInfo);

the GFL_FILE_INFORMATION structure is empty!

Could you tell me how to get the file info for a video file, and later how to load it in order to play it. It's possible, isn't it?

Thxs
GFLSDK can't handle video file,

Code: Select all

gflFormatIsSupported(filepath);
is not to test a file but to know if a specific format is available, for example "jpeg". It's strange that it returns TRUE.