Writing metadata from one mp4 to another

Started by yash, November 22, 2024, 06:02:16 AM

Previous topic - Next topic

yash

Hi everyone,
  I am trying to write the embedded metadata of one mp4 file exported from Insta360 Stitcher to another video file which was exported from Adobe AE. I am using the following command:

"exiftool_path\exiftool.exe" -P -progress -overwrite_original_in_place -extractEmbedded -tagsFromFile "source_video_path\source_video.mp4" -all:all "destination_video_path\destination_video.mp4"

But this does not work. The main goal is to take the original video, make changes to it in a third party software, inject the metadata back and upload it to Google Street View. How can I do this effectively? Any help would be appreciated. Thank you.

P.S. I am using ExifTool v13.02

StarGeek

Quote from: yash on November 22, 2024, 06:02:16 AMBut this does not work.

*Points to my signature at the bottom this post*

Did exiftool return 1 image files updated? Then exiftool worked. I'm guessing that you mean that Google street view doesn't show it properly.

What is the results of this command?
exiftool -G1 -a -s -XMP-GPano:all file.mp4
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

yash

Hi, my bad about "didn't work". It does indeed say that 1 image file was updated but I can't find the GPS data in normal metadata or in the extracted metadata.

When I tried the command you mentioned, this is the warning I get:
QuoteWarning: XMP format error (no closing tag for x:xmpmeta) - file.mp4

I did go through another blogpost to troubleshoot this here but I didn't understand what the ExifTool creator meant when he said to check the -v3 or -v4 output.

Thanks.

Phil Harvey

Add the -v3 option to your command to see details about what was actually written.

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

yash

#4
I did add -v3 without -tagsFromFile and it gave me a long result, and said 2 image files read and also did include some GPS data in the result. I don't know how to navigate from here though.

Screenshot 2024-11-29 135002.png

Phil Harvey

I meant to add -v3 to the command when you are doing the -tagsfromfile to see exactly what is copied.

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