ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder
ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 MFolderView and corrupted files
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jenswahl

Germany
57 Posts

Posted - May 24 2021 :  12:40:12  Show Profile  Reply
Hello,

I use a TImageEnFolderMView component to display the video files of a folder. If there is a corrupted file (MOV-file created by Canon) the application seems to be frozen. Windows explorer says that there is an E/A-Error.
IOOptionsEx.ieixRemoveCorrupted is set to True. Is there a solution to prevent freezing?

Thank you

Jens

xequte

6141 Posts

Posted - May 24 2021 :  18:46:38  Show Profile  Reply
Hi Jens

When I researched a similar issue in the past, the timeout was occurring in the Windows call, so there wasn't an easy way to resolve it. Can you forward me a sample file, and I'll test it again.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

jenswahl

Germany
57 Posts

Posted - May 25 2021 :  17:45:27  Show Profile  Reply
Hello Nigel,

see the attached file. It consists of some millions of NUL characters. I can not understand why Canon create such files.

Kind Regards

Jens

attach/jenswahl/2021525174256_MVI_7503.zip
15.91 KB
Go to Top of Page

xequte

6141 Posts

Posted - May 28 2021 :  00:06:55  Show Profile  Reply
Hi Jens

I could not reproduce an issue with this MOV file in TImageEnFolderMView . Do you see it using our demo:

\Demos\Multi\FolderMView\FolderMView.dpr


Does it make any difference if you remove .MOV from:

http://www.imageen.com/help/TIEImageEnGlobalSettings.MViewExplorerThumbnailExts.html


I did find that this file caused an extreme slowness in FindFileFormat, but that is not used by TImageEnMView by default (though often by TImageEnView). I have fixed that now, which you can email me for.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

jenswahl

Germany
57 Posts

Posted - Jun 06 2021 :  10:07:41  Show Profile  Reply
Hello Nigel,

you are right, the reason is definitely not TImageEnFolderMView: for images and PDF files I use TImageEnFolderMView directly, for videos DelphiFFmpeg.
DelphiFFmpeg has to open the file to create the thumbnail and read some file properties. And here comes the "hang" due to the response time of Windows.
I apologize for taking your time for something that has nothing directly to do with ImageEn.
The "origin" of the corrupted files is now also clear: The almost 6.5 year old 64 GByte SanDisk memory card has massive error areas, so that even images from late 2014 are partially unreadable. Unfortunately, this is then also not usable as long-term storage.

Kind Regards

Jens
Go to Top of Page

xequte

6141 Posts

Posted - Jun 07 2021 :  05:25:47  Show Profile  Reply
Thanks for the update, Jens

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To: