# Detecting corrupt invalid photo and video files

**URL:** https://resource.dopus.com/t/detecting-corrupt-invalid-photo-and-video-files/53148
**Category:** Help & Support
**Created:** [October 16, 2024, 11:44am UTC](https://resource.dopus.com/t/detecting-corrupt-invalid-photo-and-video-files/53148 "2024-10-16T11:44:20Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![JN-1](https://resource.dopus.com/letter_avatar_proxy/v4/letter/j/0ea827/32.png) [@JN-1](https://resource.dopus.com/u/JN-1)
#### Post date: [October 16, 2024, 11:44am UTC](https://resource.dopus.com/t/detecting-corrupt-invalid-photo-and-video-files/53148/1 "2024-10-16T11:44:21Z")

</div>

I’m not sure if DO supports something like this.

My workaround is to every now and then to sort my photos/videos by size and see if there are any zero byte ones.

Maybe do a find search instead for all zero byte files?  
Is that possible?

---

<div class="post-metadata">

### Author: ![lxp](https://resource.dopus.com/user_avatar/resource.dopus.com/lxp/32/33734_2.png) [@lxp](https://resource.dopus.com/u/lxp)
#### Post date: [October 16, 2024, 11:56am UTC](https://resource.dopus.com/t/detecting-corrupt-invalid-photo-and-video-files/53148/2 "2024-10-16T11:56:26Z")

</div>

Yes.

 ![2024-10-16 - 13.49.52](https://resource.dopus.com/uploads/default/original/3X/4/f/4f0728793742a8e849207f39a88de59b25572f90.jpeg)

Even faster with Everything:

![image](https://resource.dopus.com/uploads/default/original/3X/c/b/cb45a473c3ef8b3bba2a0ce7c163cea0442074e0.png)

Or use a combination, depending on your needs.

To check files with a size larger than zero, I'd look at the metadata.

---

<div class="post-metadata">

### Author: ![JN-1](https://resource.dopus.com/letter_avatar_proxy/v4/letter/j/0ea827/32.png) [@JN-1](https://resource.dopus.com/u/JN-1)
#### Post date: [October 16, 2024, 12:40pm UTC](https://resource.dopus.com/t/detecting-corrupt-invalid-photo-and-video-files/53148/3 "2024-10-16T12:40:46Z")

</div>

Brilliant Lxp. That's a lot better than simply sorting on file size column. What is significence of checking UTF8. Is it essential?

Thanks.

---

<div class="post-metadata">

### Author: ![JN-1](https://resource.dopus.com/letter_avatar_proxy/v4/letter/j/0ea827/32.png) [@JN-1](https://resource.dopus.com/u/JN-1)
#### Post date: [October 16, 2024, 12:51pm UTC](https://resource.dopus.com/t/detecting-corrupt-invalid-photo-and-video-files/53148/4 "2024-10-16T12:51:59Z")

</div>

I know this is unrelated, if you want I can create new threads.

My viewer pane is not displaying anything other than a square box for simple text files, batch files etc. Win 11 PC. However Photos/videos display ok. Works ok on laptop.

Another issue which drives me bonkers. When I select a file to copy or move to another folder.  
When I right click the folder to paste to, if I don't do it quickly enough the folder contents expand down. This is of course nice but not always what I want. There appears to be a short delay before this happens. Can the delay be extended or can the action be switched off altogether ?

---

<div class="post-metadata">

### Author: ![lxp](https://resource.dopus.com/user_avatar/resource.dopus.com/lxp/32/33734_2.png) [@lxp](https://resource.dopus.com/u/lxp)
#### Post date: [October 16, 2024, 1:15pm UTC](https://resource.dopus.com/t/detecting-corrupt-invalid-photo-and-video-files/53148/5 "2024-10-16T13:15:21Z")

</div>

> [@JN-1](#):
>
> What is significence of checking UTF8. Is it essential?

No. You are not searching for text.

> [@JN-1](#):
>
> My viewer pane is not displaying anything other than a square box for simple text files, batch files etc.

You probably need to configure the text viewer plug-in in **Preferences / Viewer / Plugins**.

> [@JN-1](#):
>
> There appears to be a short delay before this happens. Can the delay be extended or can the action be switched off altogether ?

Unchecking **Preferences / File Displays / Mouse / Expand sub-folders on hover** might help, but I'm not sure.

---

<div class="post-metadata">

### Author: ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)
#### Post date: [October 16, 2024, 2:49pm UTC](https://resource.dopus.com/t/detecting-corrupt-invalid-photo-and-video-files/53148/6 "2024-10-16T14:49:32Z")

</div>

[Ask one question per thread](https://resource.dopus.com/t/ask-one-question-per-thread/5444/1), please. We're up to three unrelated questions now. 🙂

---

<div class="post-metadata">

### Author: ![JN-1](https://resource.dopus.com/letter_avatar_proxy/v4/letter/j/0ea827/32.png) [@JN-1](https://resource.dopus.com/u/JN-1)
#### Post date: [October 16, 2024, 4:40pm UTC](https://resource.dopus.com/t/detecting-corrupt-invalid-photo-and-video-files/53148/7 "2024-10-16T16:40:43Z")

</div>

Just tried that, still expands automatically.

---

<div class="post-metadata">

### Author: ![JN-1](https://resource.dopus.com/letter_avatar_proxy/v4/letter/j/0ea827/32.png) [@JN-1](https://resource.dopus.com/u/JN-1)
#### Post date: [October 16, 2024, 6:03pm UTC](https://resource.dopus.com/t/detecting-corrupt-invalid-photo-and-video-files/53148/8 "2024-10-16T18:03:03Z")

</div>

Ok.
