write to wav audio files

Started by Danne, June 19, 2016, 10:28:05 AM

Previous topic - Next topic

Danne

Hi Phil!
I,ve been inserting ixml information to wav files with bwf metaedit but I now look for to being able to do the same with exiftool instead. I tried writing a piece of information from xml but command line says Error: Writing of WAV files is not yet supported.

Will you consider writing support for wav files?

My example goes like this
exiftool -xml+="<?xml version="\"1.0"\" encoding="\"UTF-8"\"?><BWFXML><IXML_VERSION>1.5</IXML_VERSION><PROJECT>Magic Lantern</PROJECT><NOTE></NOTE><CIRCLED>FALSE</CIRCLED><BLACKMAGIC-KEYWORDS></BLACKMAGIC-KEYWORDS><TAPE>1</TAPE><SCENE>1</SCENE><BLACKMAGIC-SHOT>1</BLACKMAGIC-SHOT><TAKE>1</TAKE><BLACKMAGIC-ANGLE>ms</BLACKMAGIC-ANGLE><SPEED><MASTER_SPEED>$FPS_1/1000</MASTER_SPEED><CURRENT_SPEED>$FPS_1/1000</CURRENT_SPEED><TIMECODE_RATE>$FPS_1/1000</TIMECODE_RATE><TIMECODE_FLAG>NDF</TIMECODE_FLAG></SPEED></BWFXML>" /Users/Daniel/Desktop/Myfiles/M04-0025_1_2015-12-04_0001_C0000.wav

Phil Harvey

It would be quite a bit of work adding write support for WAV files, and I don't know if the demand justifies this effort, but I'll note your request and maybe sometime in the future this feature could be added.

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

Danne

#2
Thanks for listening and answering once again. Appreciated.
/D

jdh

There is probably a bigger need for this than you realize for people / companies tagging sound effects libraries and sample libraries. Think it's a small market? $47.2M funding for the leader of the pack now (splice.com). $59M funding for the competition (sounds.com). These companies simply provide sounds that are tagged for use by musicians and sound designers. Many of the libraries are old and need desperately to be re-edited/tagged for consumption into todays DAM software. There are options out there to help with tagging files (all of which are quite outdated, slow and clunky). There is a business opportunity you're missing in providing a solution to make the process easy for people who need to catalog their sounds and move meta data around. Drop me a pm if you want to talk about it some more.

linuxline

Maybe a paid version for the .wav feature? I would purchase this feature if available. Thanks, Jeff

Phil Harvey

Well, that's 3.  I'll move this request up.  But there is still a lot to do before I can get to it.

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

smallhouse

Created the account to +1 this feature request.
Gave up on a previous project due to not being able to find a reasonable way to write arbitrary metadata to wav files, and now one year later I find myself in the same situation once again.
It would be absolutely amazing to use exiftool to write xmp to audio files!
Thanks for a great tool, and good luck going forward!
Best, Erik

Phil Harvey

Hi Erik,

OK.  I'll bump it up again on the "to-do" list; it had fallen to number 17. Note that I'm not keeping up with items on my "to-do" list, and it currently has 538 entries.  However, on the bright side, my "done" list has 898 entries, so I am getting some things done.  However, this request will require significant effort and testing, so I will need to find a large block of time to dedicate to 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 ($).

Chris C.

Adding my name for this request, especially to change DateTimeOriginal for cameras whose clocks don't change according to DST and you've forgotten to change the hour manually. I have tons of WAV files that are now off by an hour because of this (I use the record comment feature extensively with my pictures and my picture browser plays the audio comment with the picture to let me know what it's about).

For now I'm doing it manually for the most important files, writing in hex, although I have found that doing it in Notepad somehow works just as well. If that's of any help, the time stamps always appear in clear at the exact same location in the file for my particular camera (offset 0x0064), always very close to the start of the file, with the data part starting way down at around offset 0x4C0, so there seems to be plenty of space to write to.

I've joined a screen grab for your information


paolobenve

+1 for this feature!

I'm developing an app that manage images, audios, videos, and I'd be happy with geotagging my audios as I geotag photos and videos!

Thank you for your work!

Phil Harvey

What tags do you want to write to geotag a .wav file?  Can you provide a sample of a .wav with these tags?

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

paolobenve

I actually need to store latitude and longitude in all audio files.

Phil Harvey

OK, thanks.  You should know that there is zero chance any other software would be able to read GPS from WAV files.  ExifTool would have to write it to XMP in these files (I don't know of any other place to store this information in WAV), and I'm sure that no other software would look for GPS there.

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

wooxta

Quote from: smallhouse on September 24, 2019, 04:26:12 PMCreated the account to +1 this feature request.
Gave up on a previous project due to not being able to find a reasonable way to write arbitrary metadata to wav files, and now one year later I find myself in the same situation once again.
It would be absolutely amazing to use exiftool to write xmp to audio files!
Thanks for a great tool, and good luck going forward!
Best, Erik

Until this feature will be implemented in Exiftool, there is a commercial GUI tool that can edit XMP in audio files files (WAV, AIFF, MP3) - Metadata Touch.