Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Bug Reports

Reply
 
Thread Tools Display Modes
Old 03-05-2021, 04:16 AM   #1
Rodilab
Human being with feelings
 
Rodilab's Avatar
 
Join Date: Jan 2021
Location: Paris
Posts: 80
Default [6.24] iXML metadata : track information missing for multichannel files (FIXED)

Hi,

Reaper don't show me all iXML Metadata : Track information is missing for all multichannel files.

Missing in the "Take Media Source Properties", missing in API GetMediaFileMetadata to.

I think I understand why.
In multichannel files, iXML gives track information like this (extract of an ixml code):
Code:
<TRACK_LIST>
<TRACK_COUNT>6</TRACK_COUNT>
<TRACK>
<CHANNEL_INDEX>1</CHANNEL_INDEX>
<INTERLEAVE_INDEX>1</INTERLEAVE_INDEX>
<NAME>Perche 1</NAME>
<FUNCTION></FUNCTION>
</TRACK>
<TRACK>
<CHANNEL_INDEX>2</CHANNEL_INDEX>
<INTERLEAVE_INDEX>2</INTERLEAVE_INDEX>
<NAME>Perche 2</NAME>
<FUNCTION></FUNCTION>
</TRACK>
<TRACK>
<CHANNEL_INDEX>3</CHANNEL_INDEX>
<INTERLEAVE_INDEX>3</INTERLEAVE_INDEX>
<NAME>ORTF L</NAME>
<FUNCTION></FUNCTION>
</TRACK>
<TRACK>
<CHANNEL_INDEX>4</CHANNEL_INDEX>
<INTERLEAVE_INDEX>4</INTERLEAVE_INDEX>
<NAME>ORTF R</NAME>
<FUNCTION></FUNCTION>
</TRACK>
<TRACK>
<CHANNEL_INDEX>5</CHANNEL_INDEX>
<INTERLEAVE_INDEX>5</INTERLEAVE_INDEX>
<NAME>Musique L</NAME>
<FUNCTION></FUNCTION>
</TRACK>
<TRACK>
<CHANNEL_INDEX>6</CHANNEL_INDEX>
<INTERLEAVE_INDEX>6</INTERLEAVE_INDEX>
<NAME>Musique R</NAME>
<FUNCTION></FUNCTION>
</TRACK>
</TRACK_LIST>
And Reaper only show the last track info :
Quote:
IXML tags:
BEXT:BWF_ORIGINATION_DATE: 2014-10-27
BEXT:BWF_ORIGINATION_TIME: 20:02:37
BEXT:BWF_ORIGINATOR: Pro Tools
BEXT:BWF_ORIGINATOR_REFERENCE: fwYRnbnDiPcaaaGk
BEXT:BWF_TIME_REFERENCE_HIGH: 0
BEXT:BWF_TIME_REFERENCE_LOW: 1911809281
FILE_SET:FAMILY_UID: USSDV814258295121200905048959400
FILE_SET:TOTAL_FILES: 1
FILE_UID: USSDV423413467950200905077330501
HISTORY:CURRENT_FILENAME: OTWT03_1_2_3_4_5_6.wav
HISTORY:ORIGINAL_FILENAME: OTWT03_1_2_3_4_5_6.wav
HISTORY:PARENT_UID: USSDV814258295121200905048959400
IXML_VERSION: 1.5
NOTE: Coupee
SCENE: W
SPEED:AUDIO_BIT_DEPTH: 24
SPEED:FILE_SAMPLE_RATE: 48000
SPEED:MASTER_SPEED: 25/1
SPEED:TIMECODE_FLAG: NDF
SPEED:TIMECODE_RATE: 25/1
SPEED:TIMESTAMP_SAMPLES_SINCE_MIDNIGHT_HI: 0
SPEED:TIMESTAMP_SAMPLES_SINCE_MIDNIGHT_LO: 1911809281
TAKE: 03
TRACK_LIST:TRACK:CHANNEL_INDEX: 6
TRACK_LIST:TRACK:INTERLEAVE_INDEX: 6
TRACK_LIST:TRACK:NAME: Musique R

TRACK_LIST:TRACK_COUNT: 6
WILD_TRACK: TRUE
I think Reaper doesn't understand this information because it finds the same tag several times (CHANNEL_INDEX, INTERLEAVE_INDEX, NAME, FUNCTION). And keeps only the last one.

iXML metadata ar important for postproduction works.
Some recorder like Aaton Cantar X3 don't provide tracks infos in BWF metadata, only in iXML metadata.

Thanks for reading me

Last edited by Rodilab; 03-05-2021 at 04:25 AM.
Rodilab is offline   Reply With Quote
Old 03-06-2021, 01:00 PM   #2
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 11,561
Default

Would you mind attaching or linking to a file that has multiple TrackList::Track metadata elements?
schwa is offline   Reply With Quote
Old 03-07-2021, 12:21 PM   #3
Rodilab
Human being with feelings
 
Rodilab's Avatar
 
Join Date: Jan 2021
Location: Paris
Posts: 80
Default

Quote:
Would you mind attaching or linking to a file that has multiple TrackList::Track metadata elements?
Of course.
Here is a Google Drive link to a BWF poly multitrack file generated by a SoundDevices recorder.
There are 5 tracks in this file. All track names are listed in the BWF classic metadata and in iXML metadata.

iXML code :
Code:
<?xml version="1.0" encoding="UTF-8"?>
<BWFXML>
	<IXML_VERSION>1.5</IXML_VERSION>
	<PROJECT>04-10-19</PROJECT>
	<SCENE>1</SCENE>
	<MEDIA_ID>9</MEDIA_ID>
	<TAKE>010</TAKE>
	<TAPE>190410</TAPE>
	<CIRCLED>FALSE</CIRCLED>
	<UBITS>00000000</UBITS>
	<FILE_UID>USSDVQC0418052016190410IaP000901</FILE_UID>
	<NOTE></NOTE>
	<SPEED>
		<NOTE></NOTE>
		<MASTER_SPEED>30/1</MASTER_SPEED>
		<CURRENT_SPEED>30/1</CURRENT_SPEED>
		<TIMECODE_FLAG>NDF</TIMECODE_FLAG>
		<TIMECODE_RATE>30/1</TIMECODE_RATE>
		<FILE_SAMPLE_RATE>48000</FILE_SAMPLE_RATE>
		<AUDIO_BIT_DEPTH>24</AUDIO_BIT_DEPTH>
		<DIGITIZER_SAMPLE_RATE>48000</DIGITIZER_SAMPLE_RATE>
		<TIMESTAMP_SAMPLE_RATE>48000</TIMESTAMP_SAMPLE_RATE>
		<TIMESTAMP_SAMPLES_SINCE_MIDNIGHT_HI>0000000000</TIMESTAMP_SAMPLES_SINCE_MIDNIGHT_HI>
		<TIMESTAMP_SAMPLES_SINCE_MIDNIGHT_LO>3216494401</TIMESTAMP_SAMPLES_SINCE_MIDNIGHT_LO>
	</SPEED>
	<HISTORY>
		<ORIGINAL_FILENAME>1-010.WAV</ORIGINAL_FILENAME>
		<CURRENT_FILENAME>1-010.WAV</CURRENT_FILENAME>
	</HISTORY>
	<FILE_SET>
		<TOTAL_FILES>1</TOTAL_FILES>
		<FAMILY_UID>USSDVQC0418052016190410IaP000900</FAMILY_UID>
		<FILE_SET_INDEX>A</FILE_SET_INDEX>
	</FILE_SET>
	<TRACK_LIST>
		<TRACK_COUNT>5</TRACK_COUNT>
		<TRACK>
			<CHANNEL_INDEX>1</CHANNEL_INDEX>
			<INTERLEAVE_INDEX>1</INTERLEAVE_INDEX>
			<NAME>MixL</NAME>
		</TRACK>
		<TRACK>
			<CHANNEL_INDEX>2</CHANNEL_INDEX>
			<INTERLEAVE_INDEX>2</INTERLEAVE_INDEX>
			<NAME>MixR</NAME>
		</TRACK>
		<TRACK>
			<CHANNEL_INDEX>3</CHANNEL_INDEX>
			<INTERLEAVE_INDEX>3</INTERLEAVE_INDEX>
			<NAME>Perche</NAME>
		</TRACK>
		<TRACK>
			<CHANNEL_INDEX>4</CHANNEL_INDEX>
			<INTERLEAVE_INDEX>4</INTERLEAVE_INDEX>
			<NAME>HF 1</NAME>
		</TRACK>
		<TRACK>
			<CHANNEL_INDEX>5</CHANNEL_INDEX>
			<INTERLEAVE_INDEX>5</INTERLEAVE_INDEX>
			<NAME>HF 2</NAME>
		</TRACK>
	</TRACK_LIST>
</BWFXML>
What Reaper actually displays :
Code:
Length: 0:42.976
Sample rate: 48000
Channels: 5
Bits/sample: 24 (int)
Total samples: 2,062,880
Blockalign: 15
Datablock start: 6144
Start offset: 18:36:50.300
Metadata:
    Title: 04-10-19
    Date: 2019-04-10
    Description: sSPEED=030.000-ND
sTAKE=010
sUBITS=$00000000
sSWVER=2.21.08
sSCENE=1
sFILENAME=1-010.WAV
sTAPE=190410
sCIRCLED=FALSE
sTRK1=MixL
sTRK2=MixR
sTRK3=Perche
sTRK4=HF 1
sTRK5=HF 2
sNOTE=

BWF tags:
    Description: sSPEED=030.000-ND
sTAKE=010
sUBITS=$00000000
sSWVER=2.21.08
sSCENE=1
sFILENAME=1-010.WAV
sTAPE=190410
sCIRCLED=FALSE
sTRK1=MixL
sTRK2=MixR
sTRK3=Perche
sTRK4=HF 1
sTRK5=HF 2
sNOTE=

    OriginationDate: 2019-04-10
    OriginationTime: 18:36:50
    Originator: SoundDev: MixPre-6 QC0418052016
    OriginatorReference: USSDVQC0418052016190410IaP000901
    TimeReference: 3216494401
IXML tags:
    CIRCLED: FALSE
    FILE_SET:FAMILY_UID: USSDVQC0418052016190410IaP000900
    FILE_SET:FILE_SET_INDEX: A
    FILE_SET:TOTAL_FILES: 1
    FILE_UID: USSDVQC0418052016190410IaP000901
    HISTORY:CURRENT_FILENAME: 1-010.WAV
    HISTORY:ORIGINAL_FILENAME: 1-010.WAV
    IXML_VERSION: 1.5
    MEDIA_ID: 9
    PROJECT: 04-10-19
    SCENE: 1
    SPEED:AUDIO_BIT_DEPTH: 24
    SPEED:CURRENT_SPEED: 30/1
    SPEED:DIGITIZER_SAMPLE_RATE: 48000
    SPEED:FILE_SAMPLE_RATE: 48000
    SPEED:MASTER_SPEED: 30/1
    SPEED:TIMECODE_FLAG: NDF
    SPEED:TIMECODE_RATE: 30/1
    SPEED:TIMESTAMP_SAMPLE_RATE: 48000
    SPEED:TIMESTAMP_SAMPLES_SINCE_MIDNIGHT_HI: 0000000000
    SPEED:TIMESTAMP_SAMPLES_SINCE_MIDNIGHT_LO: 3216494401
    TAKE: 010
    TAPE: 190410
    TRACK_LIST:TRACK:CHANNEL_INDEX: 5
    TRACK_LIST:TRACK:INTERLEAVE_INDEX: 5
    TRACK_LIST:TRACK:NAME: HF 2
    TRACK_LIST:TRACK_COUNT: 5
    UBITS: 00000000
Rodilab is offline   Reply With Quote
Old 03-08-2021, 06:16 AM   #4
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 11,561
Default

OK, the next build of REAPER will display the data like this:

Code:
    TRACK_LIST:TRACK:CHANNEL_INDEX: 1
    TRACK_LIST:TRACK:INTERLEAVE_INDEX: 1
    TRACK_LIST:TRACK:NAME: MixL
    TRACK_LIST:TRACK:CHANNEL_INDEX_2: 2
    TRACK_LIST:TRACK:INTERLEAVE_INDEX_2: 2
    TRACK_LIST:TRACK:NAME_2: MixR
    TRACK_LIST:TRACK:CHANNEL_INDEX_3: 3
    TRACK_LIST:TRACK:INTERLEAVE_INDEX_3: 3
    TRACK_LIST:TRACK:NAME_3: Perche
    TRACK_LIST:TRACK:CHANNEL_INDEX_4: 4
    TRACK_LIST:TRACK:INTERLEAVE_INDEX_4: 4
    TRACK_LIST:TRACK:NAME_4: HF 1
    TRACK_LIST:TRACK:CHANNEL_INDEX_5: 5
    TRACK_LIST:TRACK:INTERLEAVE_INDEX_5: 5
    TRACK_LIST:TRACK:NAME_5: HF 2
    TRACK_LIST:TRACK_COUNT: 5
schwa is offline   Reply With Quote
Old 03-08-2021, 06:42 AM   #5
Rodilab
Human being with feelings
 
Rodilab's Avatar
 
Join Date: Jan 2021
Location: Paris
Posts: 80
Default

Wow Thank you for your reactivity !
Rodilab is offline   Reply With Quote
Old 03-10-2021, 04:53 AM   #6
Rodilab
Human being with feelings
 
Rodilab's Avatar
 
Join Date: Jan 2021
Location: Paris
Posts: 80
Default

The “5” index of “ TRACK_LIST:TRACK:NAME_5: HF 2” will be determinate by “TRACK_LIST:TRACK:CHANNEL_INDEX_5: 5” or “TRACK_LIST:TRACK:INTERLEAVE_INDEX_5: 5” ?

Interleave index and channel index could be different.
Rodilab is offline   Reply With Quote
Old 03-10-2021, 07:29 AM   #7
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 11,561
Default

The _5 suffix just means that element was the 5th occurrence of the same key. It has no relationship with the actual value of the element.
schwa is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 08:27 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.