Documenation of base64 output

This commit is contained in:
Jamie Hardt
2024-11-25 10:27:25 -08:00
parent ffc0c48af7
commit 36e4a02ab8

View File

@@ -60,62 +60,80 @@ Type `help` or `?` at the prompt to get a full list of commands.
Example Output Example Output
-------------- --------------
.. attention::
Metadata fields containing binary data, such as the Broadcast-WAV UMID, will
be included in the JSON output as a base-64 encoded string, preceded by the
marker "base64:".
.. code-block:: javascript .. code-block:: javascript
{ {
"filename": "tests/test_files/sounddevices/A101_1.WAV", "filename": "../tests/test_files/nuendo/wavinfo Test Project - Audio - 1OA.wav",
"run_date": "2022-11-26T17:56:38.342935", "run_date": "2024-11-25T10:26:11.280053",
"application": "wavinfo 2.1.0", "application": "wavinfo 3.0.0",
"scopes": { "scopes": {
"fmt": { "fmt": {
"audio_format": 1, "audio_format": 65534,
"channel_count": 2, "channel_count": 4,
"sample_rate": 48000, "sample_rate": 48000,
"byte_rate": 288000, "byte_rate": 576000,
"block_align": 6, "block_align": 12,
"bits_per_sample": 24 "bits_per_sample": 24
}, },
"data": { "data": {
"byte_count": 1441434, "byte_count": 576000,
"frame_count": 240239 "frame_count": 48000
}, },
"ixml": { "ixml": {
"track_list": [ "track_list": [
{ {
"channel_index": "1", "channel_index": "1",
"interleave_index": "1", "interleave_index": "1",
"name": "MKH516 A", "name": "",
"function": "" "function": "ACN0-FOA"
}, },
{ {
"channel_index": "2", "channel_index": "2",
"interleave_index": "2", "interleave_index": "2",
"name": "Boom", "name": "",
"function": "" "function": "ACN1-FOA"
},
{
"channel_index": "3",
"interleave_index": "3",
"name": "",
"function": "ACN2-FOA"
},
{
"channel_index": "4",
"interleave_index": "4",
"name": "",
"function": "ACN3-FOA"
} }
], ],
"project": "BMH", "project": "wavinfo Test Project",
"scene": "A101", "scene": null,
"take": "1", "take": null,
"tape": "18Y12M31", "tape": null,
"family_uid": "USSDVGR1112089007124001008206300", "family_uid": "E5DDE719B9484A758162FF7B652383A3",
"family_name": null "family_name": null
}, },
"bext": { "bext": {
"description": "sSPEED=023.976-ND\r\nsTAKE=1\r\nsUBITS=$12311801\r\nsSWVER=2.67\r\nsPROJECT=BMH\r\nsSCENE=A101\r\nsFILENAME=A101_1.WAV\r\nsTAPE=18Y12M31\r\nsTRK1=MKH516 A\r\nsTRK2=Boom\r\nsNOTE=\r\n", "description": "wavinfo Test Project Nuendo output",
"originator": "Sound Dev: 702T S#GR1112089007", "originator": "Nuendo",
"originator_ref": "USSDVGR1112089007124001008206301", "originator_ref": "USJPHNNNNNNNNN202829RRRRRRRRR",
"originator_date": "2018-12-31", "originator_date": "2022-12-02",
"originator_time": "12:40:00", "originator_time": "10:21:06",
"time_reference": 2190940753, "time_reference": 172800000,
"version": 1, "version": 2,
"umid": "0000000000000000000000000000000000000000000000000000000000000000", "umid": "base64:k/zr4qE4RiaXyd/fO7GuCwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
"coding_history": "A=PCM,F=48000,W=24,M=stereo,R=48000,T=2 Ch\r\n", "coding_history": "A=PCM,F=48000,W=24,T=Nuendo\r\n",
"loudness_value": null, "loudness_value": 327.67,
"loudness_range": null, "loudness_range": 327.67,
"max_true_peak": null, "max_true_peak": 327.67,
"max_momentary_loudness": null, "max_momentary_loudness": 327.67,
"max_shortterm_loudness": null "max_shortterm_loudness": 327.67
} }
} }
} }