video file info

Discussions on GFL SDK, the graphic library for reading and writing graphic files

Moderators: XnTriq, helmut, xnview

pascal

video file info

Post 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
User avatar
xnview
Author of XnView
Posts: 43163
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: video file info

Post 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.
Pierre.