ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: Ernie on June 10, 2022, 06:49:06 PM

Title: its possible to write Microsoft: and Quicktime Tags in mp4 without backupfile ?
Post by: Ernie on June 10, 2022, 06:49:06 PM
I have mp4's files. Why must the Quicktime and Microsoft Tags make a new file ? Its possible only write tags without backup file ? The other Tags, Atoms its possible.
Its only:
-Quicktime:CreateDate
-Microsoft:PromotionURL
-Microsoft:AuthorURL
-Microsoft:Publisher
-Microsoft:Producer
-Microsoft:EncodedBy
May be its possible to write Quicktime:CreateDate without new file ??

I am little bit more than beginner of python. Its possible this part make in python without command line btw "subprocess".
Perl is not my world  :P

output in the json file doesnt work -Quicktime:CreateDate
can be fix or add this please ?
Title: Re: its possible to write Microsoft: and Quicktime Tags in mp4 without backupfile ?
Post by: StarGeek on June 10, 2022, 10:02:46 PM
From the Docs (https://exiftool.org/exiftool_pod.html#DESCRIPTION)
     By default the original files are preserved with _original appended to their names -- be sure to verify that the new files are OK before erasing the originals.

You can use the -overwrite_original option (https://exiftool.org/exiftool_pod.html#overwrite_original) to suppress the creation of backup files.

Title: Re: its possible to write Microsoft: and Quicktime Tags in mp4 without backupfile ?
Post by: Ernie on June 11, 2022, 05:51:39 AM
yes In know, my files are on the NAS Server and its during many times for add tags. its only the quicktime, microsoft tags. The others tags dont need a backup file.
He makes a backupfile "....mp4_exiftool_tmp". After finish delete this file or delete the orginal and rename the "_exiftool_tmp". I dont know :)
Title: Re: its possible to write Microsoft: and Quicktime Tags in mp4 without backupfile ?
Post by: StarGeek on June 11, 2022, 10:12:34 AM
I have no idea what you're trying to say.  If you don't want the _original backup files, then add the option that I posted above.

Exiftool always creates a new file and then renames or removes the original depending upon the above option.  There's no way to change this.  The internal structures of image and video files is complex and you can't just change a few bytes in the file.  Adding or removing data changes the addresses and size of internal pointers, and all of those need to be updated.
Title: Re: its possible to write Microsoft: and Quicktime Tags in mp4 without backupfile ?
Post by: Ernie on June 11, 2022, 04:55:07 PM
the python libary mutagen 1.45.1 can this, but there isnt Quicktime and microsoft tags in.
https://pypi.org/project/mutagen/
https://github.com/quodlibet/mutagen/blob/master/mutagen/mp4/_atom.py
so thats why my question :)
Title: Re: its possible to write Microsoft: and Quicktime Tags in mp4 without backupfile ?
Post by: Phil Harvey on June 11, 2022, 09:59:50 PM
I have added a FAQ 31 (https://exiftool.org/faq.html#Q31) which may apply here.

- Phil