T O P I C R E V I E W |
jenswahl |
Posted - May 24 2021 : 12:40:12 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 |
5 L A T E S T R E P L I E S (Newest First) |
xequte |
Posted - Jun 07 2021 : 05:25:47 Thanks for the update, Jens
Nigel Xequte Software www.imageen.com
|
jenswahl |
Posted - Jun 06 2021 : 10:07:41 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 |
xequte |
Posted - May 28 2021 : 00:06:55 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
|
jenswahl |
Posted - May 25 2021 : 17:45:27 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 |
xequte |
Posted - May 24 2021 : 18:46:38 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
|