ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: npappas on April 19, 2013, 01:42:13 PM

Title: changing DateTimeOriginal in mts files
Post by: npappas on April 19, 2013, 01:42:13 PM
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
Title: Re: changing DateTimeOriginal in mts files
Post by: Phil Harvey on April 19, 2013, 01:44:15 PM
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
Title: Re: changing DateTimeOriginal in mts files
Post by: npappas on April 19, 2013, 06:55:05 PM
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
Title: Re: changing DateTimeOriginal in mts files
Post by: Phil Harvey on April 20, 2013, 06:16:10 AM
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
Title: Re: changing DateTimeOriginal in mts files
Post by: richdraves on April 28, 2014, 02:39:05 PM
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