ExifTool Forum

ExifTool => Archives => Topic started by: Archive on May 12, 2010, 08:54:23 AM

Title: RIFF Write Support
Post by: Archive on May 12, 2010, 08:54:23 AM
[Originally posted by justin on 2008-07-18 14:38:27-07]

Are there any plans to incorporate RIFF write support into Exiftool as I have a number of AVI files from my Canon G9 that I need to shift the metadata time by an hour. How would I go about providing any help in this process?
Title: Re: RIFF Write Support
Post by: Archive on May 12, 2010, 08:54:23 AM
[Originally posted by exiftool on 2008-07-18 15:46:48-07]

I'll put this on the request list.  In general, I don' t see adding
write support for many of the audio/video formats because some
of them can be quite complex, but AVI is fairly simple (and also
part of the EXIF specification), so this may be do-able.

- Phil
Title: Re: RIFF Write Support
Post by: Archive on May 12, 2010, 08:54:23 AM
[Originally posted by fjord on 2008-08-03 13:07:13-07]

For my Canon S3 IS, I would like to set the FileModifyDate on .AVI files from the -DateTimeOriginal tag in the associated sidecar .THM file. Exiftool gives the error that RIFF files can't be written.

My command line that didn't work was:

Code:
 exiftool -ext AVI -ext THM -TagsFromFile %d%f.THM -DateTimeOriginal>FileModifyDate -r .

I am trying to set the file system dates for both .AVI and .THM files using the .THM date.

Can you implement setting the file date on AVI (RIFF) files? This doesn't require modifying the file contents at all.

Or is there already a way to do this that works?
Title: Re: RIFF Write Support
Post by: Archive on May 12, 2010, 08:54:23 AM
[Originally posted by fjord on 2008-08-03 16:00:03-07]

Never mind, I fixed my own error: forgot the quotes around the tag with "&lt" character. The correct command line in Windows is

Code:
 exiftool -ext AVI -ext THM -TagsFromFile %d%f.THM "-DateTimeOriginal<FileModifyDate" -r .

which correctly sets the file dates on both the .AVI and .THM files to DateTimeOriginal in the .THM sidecar file.