Restart solved it ;-) Can't change/write large MP4 files (approx. > 700 MB)

Started by ollypsilon, September 14, 2020, 09:10:54 AM

Previous topic - Next topic

ollypsilon

Hello admins,
please delete this post.  :-X
Best,
Oliver

Hi,
well, my first post here.
Started by searching this forum to find a solution but can't find any which is the same than mine.
Some seem related but their solutions don't work for me.
So, please forgive me if it's already known and answered somewhere ;-)

What I need to do is to change meta data of my Mavic Air drone MP4 files as sometimes their timestamps are incorrect.
This works for all files below approx. 700 MB. Files above fail.
I can see the temp file is created and increasing in size, after the error it's deleted.

Here's the command:

exiftool.pl -api LargeFileSupport -v0 -progress -overwrite_original "-CreateDate<FileModifyDate" "-ModifyDate<FileModifyDate" "-TrackCreateDate<FileModifyDate" "-TrackModifyDate<FileModifyDate" "-MediaCreateDate<FileModifyDate" "-MediaModifyDate<FileModifyDate" "-FileCreateDate<FileModifyDate" DJI_0252.MP4


Output:

======== DJI_0252.MP4 [1/1]
Setting new values from DJI_0252.MP4
Rewriting DJI_0252.MP4...
  FileType = MP4
  FileTypeExtension = MP4
  MIMEType = video/mp4
  Editing tags in: ExifIFD File IFD0 ItemList MIE-Doc MOV Meta Movie PDF PNG PostScript QuickTime Track# UserData XMP
  Rewriting Movie
  Rewriting MovieHeader
  Rewriting Track
  Rewriting TrackHeader
  Rewriting Media
  Rewriting MediaHeader
  Rewriting MediaInfo
  Rewriting DataInfo
  Rewriting DataRef
  Rewriting SampleTable
  Rewriting UserData
  Rewriting Meta
  Rewriting ItemList
  Creating XMP

The last line stays for a couple of seconds, depending on file size of original file. While shown the temp file exists.
It continues then with:

  Error = Error writing output file
Error: Error writing output file - DJI_0252.MP4
    0 image files updated
    1 files weren't updated due to errors

I tested with Windows build, Oliver Betz's build, ActiveState perl and now Strawberry perl. At the end it's the same error for all.
I also read about Windows Defender, disabled it, set exclusion etc. Same behaviour.
Current system:
Windows 10, v 2004, 16 GB
ExifTool 12.06
Strawberry 5.32.0.1 64bit

Anyone having the same issue?

Best,

Oliver

Phil Harvey

Hi Oliver,

So a system restart solved this problem?

I don't see why the post should be deleted.  Other people may have the same problem and could be interested to know that you solved it by restarting your system.

- 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 ($).

authkickball

I saw the same error "Error writing output file". Restarting fixed it for me too.