Warning: Error opening file (mp4, Windows)

Started by bugmenot, August 13, 2024, 04:01:20 AM

Previous topic - Next topic

bugmenot

Hi all,
I'm trying to rename an mp4 file using exiftool under windows. However, I'm not able to open it.

> exiftool.exe -v3 -api largefilesupport=1 .\PXL_20240811_095552201.mp4
ExifToolVersion = 12.92
FileName = PXL_20240811_095552201.mp4
Directory = .
Error = Error opening file

It works using Ubuntu, but not Windows. Am I missing something?

Thanks in advance!
https://discorduserinfo.pro/

Phil Harvey

The only way I can see this happing is if you don't have read permission for the file.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

FrankB

Other possibility might be a path length that exceeds MAXPATH. Approx. 260 chars.

bugmenot

Permissions and file size are correct, but I found the solution. As said, the issue was with Windows. The files are on a Nextcloud and mounted on my PC using WebDAV. Apparently, by default Windows limits the file size for WebDAV to 50MB. By increasing this, I could open the files :-)

For anyone stumbling across this issue, search for Windows Error 0x800700DF to find out how to fix this.
https://discorduserinfo.pro/