changing DateTimeOriginal in mts files

Started by npappas, April 19, 2013, 01:42:13 PM

Previous topic - Next topic

npappas

Hello,

I have a lot of MTS files that have the wrong DateTimeOriginal field. Trying shifting it produces an error stating that writing for MTS files is not supported.
Shifting works fine for other fields that are not MTS specific (for example date modified).
Is there a solution to this problem?

-Nick

Phil Harvey

Hi Nick,

ExifTool does not have the ability to write MTS files.  The only dates that exiftool can change for these are the filesystem dates.

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

npappas

Hi Phil,

Thank you for the quick response.
I am assuming that the problem regarding MTS files is that they are storing their metadata inside the H.264 video stream?
In any case though, are you aware of any other tool that could potentially edit the H.264 metadata?
Since there is  ONE way to put the data in there in the first place, it seems improbable that they cannot be edited whatsoever!
Of course there is the possibility that there is a way to edit them but no one (including Sony and Panasonic) has bothered to write a tool to do so. However this seems improbable too. :)
So if you are aware of any way please let me know.

-Nick

Phil Harvey

Hi Nick,

That is certainly one big problem, yes.  Video formats are a real nightmare.

Your best chance at editing this is with ffmpeg, but I would be surprised if it could do this.

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

richdraves

I just wanted to add another request for this feature. If anyone out there has a solution for shifting DateTimeOriginal in MTS/AVCHD files, please reply.

Thanks,
Rich