Closed MarcosSueiro closed 2 months ago
seems reasonable and mediainfolib already has access to this data
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.
@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).
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:
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>
@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).
Always looking for fewer commands... thanks @JeromeMartinez !
Hopefully this is not too complicated to implement... trying to have an alternative to exiftool for all our data 😁