MediaArea / BWFMetaEdit

WAV/BWF metadata editor
https://MediaArea.net/BWFMetaEdit
Other
41 stars 18 forks source link

Include FileCreate, FileModify dateTime in Technical output #287

Open MarcosSueiro opened 3 months ago

MarcosSueiro commented 3 months ago

Hopefully this is not too complicated to implement... trying to have an alternative to exiftool for all our data 😁

dericed commented 3 months ago

seems reasonable and mediainfolib already has access to this data

JeromeMartinez commented 3 months ago

seems reasonable and mediainfolib already has access to this data

but BWF MetaEdit doesn't use MediaInfoLib ;-). In practice, it is just a stat (or equivalent on Windows) API call.

JeromeMartinez commented 3 months ago

@MarcosSueiro you mean that you need all in 1 output? Because if you can use 2 commands, MediaInfo has it ( -f and/or a template) so need to duplicate works in BWF MetaEdit (not complicated but still more dev).

MarcosSueiro commented 3 months ago

Correct, under the <Technical> field.

We currently use exiftool to display, and BWFME to edit, which is a drag (to use the technical term...).

The use case is:

  1. Upload files to BWFME GUI
  2. Edit as needed
  3. Export all fields as "Unified XML Metadata"
  4. Have a complete description of the WAVE files

Some useful info that exiftool displays:

<System:FileName>SEAR-FAB-1974-05-01-500177.1 jeanpierre rampal tape 245.WAV</System:FileName>
 <System:Directory>W:/ARCHIVESNAS1/INGEST/01 PLEASE REVIEW/20231205SEAR-FAB - DONE</System:Directory>
 <System:FileSize>1006 MB</System:FileSize>
 <System:FileModifyDate>2023:12:05 16:18:40-05:00</System:FileModifyDate>
 <System:FileAccessDate>2023:12:05 16:18:40-05:00</System:FileAccessDate>
 <System:FileCreateDate>2012:02:28 13:21:08-05:00</System:FileCreateDate>
 <System:FilePermissions>-rw-rw-rw-</System:FilePermissions>
 <File:FileType>WAV</File:FileType>
 <File:FileTypeExtension>wav</File:FileTypeExtension>
 <File:MIMEType>audio/x-wav</File:MIMEType>
 <RIFF:Encoding>Microsoft PCM</RIFF:Encoding>
 <RIFF:NumChannels>2</RIFF:NumChannels>
 <RIFF:SampleRate>96000</RIFF:SampleRate>
 <RIFF:AvgBytesPerSec>576000</RIFF:AvgBytesPerSec>
 <RIFF:BitsPerSample>24</RIFF:BitsPerSample>

And of course you know the MediaInfo fields that are useful as well:

<Format_Settings_Endianness>Little</Format_Settings_Endianness>
<Format_Settings_Sign>Signed</Format_Settings_Sign>
<CodecID>1</CodecID>
<Duration>1747.103</Duration>
<BitRate_Mode>CBR</BitRate_Mode>
<BitRate>4608000</BitRate>
<Channels>2</Channels>
<SamplingRate>96000</SamplingRate>
<SamplingCount>167721915</SamplingCount>
<BitDepth>24</BitDepth>
<Delay>0.000000000</Delay>
<Delay_Source>Container (bext)</Delay_Source>
<StreamSize>1006331490</StreamSize>
<StreamSize_Proportion>1.00000</StreamSize_Proportion>