XML metadata merge on WAV to m4a batch

All topics on WaveLab 8 and WaveLab Elements 8
Post Reply
Damien Cassidy
New Member
Posts: 28
Joined: Wed Feb 03, 2016 12:18 am
Contact:

XML metadata merge on WAV to m4a batch

Post by Damien Cassidy » Thu Dec 07, 2017 6:54 am

Hi,

I'm using xml files to inform a batch process to convert wav files to AAC encoded m4a with external metadata.
I have set the variables. I have instructed WL to map the xml metadata fields to to the variables and I have set the ID3 tags in the batch process to use the variables.

Here's the real catch, some work and some don't even though the process is the same for all of them. I get a title and genre but no album title or artist. I need help as this is essential for a workflow. Happy to share any xml or config files but any, 'did you check...' kind of things to. I've done this before and whilst it took me a while to understand and set up the process, i did it for 17000 files. The point of difference is the output format is different this time. Previously MP3, now m4a (AAC).

Damien
Damien Cassidy
Digital Media Technical Analyst
Digitisation & Imaging
State Library of New South Wales
Australia
sl.nsw.gov.au

PG
Moderator
Posts: 6331
Joined: Wed Dec 15, 2010 6:15 pm
Contact:

Re: XML metadata merge on WAV to m4a batch

Post by PG » Thu Dec 07, 2017 8:10 am

When you say some work, some others don't, can you be more explicit? For example, a given file never works, or is it random? Did you try to run the batch processor with a single thread, instead of multiple?
Philippe

Damien Cassidy
New Member
Posts: 28
Joined: Wed Feb 03, 2016 12:18 am
Contact:

Re: XML metadata merge on WAV to m4a batch

Post by Damien Cassidy » Fri Dec 08, 2017 12:10 am

Hi Phillipe,

Some fields from the xml make it to the intended tag in the resulting m4a file but not all.
For example, I've set up variable for all of the fields in the xml below and mapped those variables in the metadata settings of the batch job.

INAM=Title and is successfully written to the m4a
IGNR=Genre and is successfully written to the m4a
however,
IPRD=Album but is not successfully written the m4a
IART=Artists but is not successfully written the m4a

None of the remaining tags are written though I've used the exact same process for each of them and I've gone over it a number of times.

Code: Select all

<?xml version="1.0"?>
<data>
	<FileName>\\filprd11\digit_work\Digital Collections\_PrepForIngestion\9580856\data\PRESERVATION_MASTER\Leighton_Probert_interview_20170616.wav</FileName>
	<OutputPath>W:\Digital Collections\_PrepForIngestion\Audio_Derivative_WF\Derivative_Output\1009501\Leighton_Probert_interview_20170616.m4a</OutputPath>
	<USID>1009501-01</USID>
	<IARL>State Library of New South Wales</IARL>
	<IART>Darmody, Louise</IART>
	<ICMS>Probert, Leighton</ICMS>
	<ICMT>Recorded in the sound studio of One Flight Up Studios Precinct 75, St Peters, Sydney on 16 June 2017.</ICMT>
	<ICOP>Copyright restrictions may apply. For details contact the State Library of New South Wales.</ICOP>
	<ICRD>16/06/2017</ICRD>
	<IGNR>Interview</IGNR>
	<INAM>Item 01: Leighton Probert interviewed by Louise Darmody, 16 June 2017</INAM>
	<IPRD>Louise Darmody interviews with people in New South Wales regarding disability, 1 June 2017-15 August 2017</IPRD>
	<ISRC>AuSN</ISRC>
</data>
Damien Cassidy
Digital Media Technical Analyst
Digitisation & Imaging
State Library of New South Wales
Australia
sl.nsw.gov.au

PG
Moderator
Posts: 6331
Joined: Wed Dec 15, 2010 6:15 pm
Contact:

Re: XML metadata merge on WAV to m4a batch

Post by PG » Fri Dec 08, 2017 12:16 am

To test, I would need you xml file, your XML Audio Description preset, and your batch.
Philippe

Damien Cassidy
New Member
Posts: 28
Joined: Wed Feb 03, 2016 12:18 am
Contact:

Re: XML metadata merge on WAV to m4a batch

Post by Damien Cassidy » Fri Dec 08, 2017 12:37 am

Hi Phillipe,

Here's some screen grabs of other stages, setting user variables, mapping them to XML descriptors and applying them to the metadata in the batch process.

Damien
Attachments
XMLDescription.JPG
(34.93 KiB) Not downloaded yet
Variables.JPG
(31.3 KiB) Not downloaded yet
MDWindow.JPG
(116.97 KiB) Not downloaded yet
Damien Cassidy
Digital Media Technical Analyst
Digitisation & Imaging
State Library of New South Wales
Australia
sl.nsw.gov.au

Damien Cassidy
New Member
Posts: 28
Joined: Wed Feb 03, 2016 12:18 am
Contact:

Re: XML metadata merge on WAV to m4a batch

Post by Damien Cassidy » Fri Dec 08, 2017 12:45 am

Sorry, didn't see your reply.
Attached in zip file.
Attachments
SLNSWMDFILES.zip
(68.45 KiB) Downloaded 58 times
Damien Cassidy
Digital Media Technical Analyst
Digitisation & Imaging
State Library of New South Wales
Australia
sl.nsw.gov.au

PG
Moderator
Posts: 6331
Joined: Wed Dec 15, 2010 6:15 pm
Contact:

Re: XML metadata merge on WAV to m4a batch

Post by PG » Fri Dec 08, 2017 8:16 am

About your 3rd picture: all the tags that don't have the suffix (i) are not compatible with m4a. The (i) stands for iTunes. All fields are compatible with id3v2, fully supported by mp3, but not mp4.
Could that explain your problem?
If not, please also save your custom variables as a preset, and send it too. Thanks.
Philippe

Damien Cassidy
New Member
Posts: 28
Joined: Wed Feb 03, 2016 12:18 am
Contact:

Re: XML metadata merge on WAV to m4a batch

Post by Damien Cassidy » Mon Dec 11, 2017 1:10 am

Hi Philippe,

That would certainly explain some, but not all the missing data.
The attached zip file includes the files I sent and the variables file.

Damien
Attachments
SLNSWMDFILESv2.zip
(69.13 KiB) Downloaded 57 times
Damien Cassidy
Digital Media Technical Analyst
Digitisation & Imaging
State Library of New South Wales
Australia
sl.nsw.gov.au

Damien Cassidy
New Member
Posts: 28
Joined: Wed Feb 03, 2016 12:18 am
Contact:

Re: XML metadata merge on WAV to m4a batch

Post by Damien Cassidy » Mon Dec 11, 2017 2:10 am

Hi Phillipe,

FYI: I tried removing mapping from all non-itunes fields with the pretty much the same result:

TIT2: Title = Success
TALB: Album = Fail
TCOM: Composer = Fail
TCON: Genre = Success
TPE1: Lead Performer = Fail
TIT1: Content Description = Fail
TENC: Encode by = Success (though value entered into mapping directly, not from xml)

Damien
Damien Cassidy
Digital Media Technical Analyst
Digitisation & Imaging
State Library of New South Wales
Australia
sl.nsw.gov.au

PG
Moderator
Posts: 6331
Joined: Wed Dec 15, 2010 6:15 pm
Contact:

Re: XML metadata merge on WAV to m4a batch

Post by PG » Mon Dec 11, 2017 7:52 am

I will investigate your case, but I need a last thing: the contents of your preferences (ZIP). Thanks.
Philippe

Damien Cassidy
New Member
Posts: 28
Joined: Wed Feb 03, 2016 12:18 am
Contact:

Re: XML metadata merge on WAV to m4a batch

Post by Damien Cassidy » Tue Dec 12, 2017 12:37 am

I appreciate your help. How do I export or find the preferences? (I'm on Windows 7 Pro, standard install of WL 8.5)
Damien Cassidy
Digital Media Technical Analyst
Digitisation & Imaging
State Library of New South Wales
Australia
sl.nsw.gov.au

PG
Moderator
Posts: 6331
Joined: Wed Dec 15, 2010 6:15 pm
Contact:

Re: XML metadata merge on WAV to m4a batch

Post by PG » Tue Dec 12, 2017 7:42 am

Zip this folder: "C:\Users\[yourname]\AppData\Roaming\Steinberg\WaveLab 8.5\
Philippe

Damien Cassidy
New Member
Posts: 28
Joined: Wed Feb 03, 2016 12:18 am
Contact:

Re: XML metadata merge on WAV to m4a batch

Post by Damien Cassidy » Wed Dec 13, 2017 5:33 am

Hi, Attached. Thanks.
Attachments
WLPrefs_20171312.zip
(406.8 KiB) Downloaded 53 times
Damien Cassidy
Digital Media Technical Analyst
Digitisation & Imaging
State Library of New South Wales
Australia
sl.nsw.gov.au

PG
Moderator
Posts: 6331
Joined: Wed Dec 15, 2010 6:15 pm
Contact:

Re: XML metadata merge on WAV to m4a batch

Post by PG » Thu Dec 14, 2017 1:19 pm

Your ZIP files contains very old stuff (2015), not your recent settings.
Please use this button to know the real location of your settings. Thanks.
2017-12-14_13-17-51.png
(25.11 KiB) Not downloaded yet
Philippe

Damien Cassidy
New Member
Posts: 28
Joined: Wed Feb 03, 2016 12:18 am
Contact:

Re: XML metadata merge on WAV to m4a batch

Post by Damien Cassidy » Fri Dec 15, 2017 12:32 am

Hi Phillipe.

Apologies. Settings attached in zip. Thanks.

Damien
Attachments
WLPrefs_20171412.zip
(880.83 KiB) Downloaded 57 times
Damien Cassidy
Digital Media Technical Analyst
Digitisation & Imaging
State Library of New South Wales
Australia
sl.nsw.gov.au

PG
Moderator
Posts: 6331
Joined: Wed Dec 15, 2010 6:15 pm
Contact:

Re: XML metadata merge on WAV to m4a batch

Post by PG » Sun Dec 17, 2017 1:15 pm

I have analysed your case. I found a bug in WaveLab, but also an immediate solution for you.

First you need to understand the underlying issue.
In this dialog (this is a WaveLab 9.5 style, but you will recognize it anyway)
2017-12-17_13-01-40.png
(20.66 KiB) Not downloaded yet
you can see:

"Collection <-> IPRD"

But what you cannot see, is

"Album <-> IPRD"

This last item is something you have entered in the past, but which is not visible in the dialog, because there is currently no user variable called "Album".

When the batch processing happens, WaveLab finds two entries for IPRD, and unfortunately, it might retain the one you don't use ("Album" here, instead of "Collection").
In that case, the proper metadata connection is not found and you don't get the result you expect, with some missing fields.

I will fix this on the WaveLab side for 9.5.20 (for WaveLab to ignore the user variables that are not active).

But you have a solution today, which is to redo (from nothing), the XML Audio Description. In that way, some old user variable won't "pollute" it and the batch process should work as you expect.

Tell me is that works for you.
Philippe

Damien Cassidy
New Member
Posts: 28
Joined: Wed Feb 03, 2016 12:18 am
Contact:

Re: XML metadata merge on WAV to m4a batch

Post by Damien Cassidy » Mon Dec 18, 2017 12:28 am

Success!!! Thanks so much for your help Phillipe. This is going to be put to a lot of work now.

Damien
Damien Cassidy
Digital Media Technical Analyst
Digitisation & Imaging
State Library of New South Wales
Australia
sl.nsw.gov.au

Post Reply

Return to “WaveLab 8 | WaveLab Elements 8”

Who is online

Users browsing this forum: No registered users and 1 guest