{
  "title": "Complete personal-vow exchange: original, 50% background and speech-only comparison",
  "source": {
    "creator": "Paul d\u2019Aoust",
    "title": "Scenes from DWeb Camp 2022, Joachim & Iryna wedding #1",
    "url": "https://archive.org/details/dwebcamp2022_pauldaoust_7774",
    "license": "CC BY-SA 4.0",
    "license_url": "https://creativecommons.org/licenses/by-sa/4.0/",
    "original_file": "MVI_7774.MP4",
    "original_bytes": 4273246176,
    "original_sha256": "a3a035b7111a65965eec4500b8e6798a4b3ad5282c76c905cf8b890121ab18b3",
    "original_video_frames": 26916,
    "original_video_rate": "24000/1001"
  },
  "distributed_adaptations": {
    "license": "CC BY-SA 4.0",
    "license_url": "https://creativecommons.org/licenses/by-sa/4.0/",
    "credit": "Source recording by Paul d\u2019Aoust. Trim, input preparation, Diffio speech treatment and web previews as described below.",
    "endorsement": "No endorsement by the creator, publisher or participants is implied."
  },
  "complete_unit": {
    "scope": "Officiant introduction, both personal vows, handoffs and closing reaction; not the whole ceremony or ring exchange.",
    "source_start_frame_inclusive": 14242,
    "source_end_frame_exclusive": 17622,
    "frame_count": 3380,
    "source_start_seconds": 594.0100833333333,
    "source_end_seconds": 734.98425,
    "duration_seconds": 140.97416666666666,
    "original_audio_start_sample_inclusive": 28512484,
    "original_audio_end_sample_exclusive": 35279244,
    "input_audio_sample_rate": 48000,
    "input_audio_sample_frames": 6766760,
    "picture": "1920\u00d71080, full frame, 24000/1001, full-range BT.709; zero start."
  },
  "preserved_media": [
    {
      "file": "personal-vows-headroom-upload-crf14.mp4",
      "bytes": 369851107,
      "sha256": "41781472bd388844436af8b6249d0d02ab15d55f6c8499884cc768fccca27384",
      "role": "Submitted input: H.264 CRF14 medium picture and ALAC24 input audio."
    },
    {
      "file": "personal-vows-headroom-pcm24.wav",
      "bytes": 40600662,
      "sha256": "8ba566008eeb0233084885bbf835e4104a76c384b7e0eb98c8a3d47d744ea40a",
      "role": "Exact prepared input PCM24 WAV."
    },
    {
      "file": "licensed-vows-native-speech.mp4",
      "bytes": 347437203,
      "sha256": "340e1f341e34f656c4c1b766cce674f53aca28ccfac843fa6813750c45e50b03",
      "role": "Untouched native Restored speech MP4 (stem-export recipe on the Diffio 4.6 Flash masters); not published."
    },
    {
      "file": "licensed-vows-mix50-native.wav",
      "bytes": 18650986,
      "sha256": "1697f8fbc42aed41ca601d6c907d92e2b310231c394c77aac9f8eb9113019e53",
      "role": "Untouched genuine native WAV: Current mix,50% background"
    },
    {
      "file": "licensed-vows-speech0-native.wav",
      "bytes": 18650986,
      "sha256": "912f516231514e2c6925c9fdf5082d6fc84cc74f34dc8cf6a3823ecb46c4f1bd",
      "role": "Untouched genuine native WAV: Restored speech,no background added"
    }
  ],
  "input_preparation": {
    "source_trim": "One continuous frame/sample interval; no interior cuts or removed pauses.",
    "picture": "H.264 CRF14 medium upload derivative; the exact lossless selected reference is preserved separately.",
    "audio": "One fixed -0.20 dB gain across the entire decoded source interval before PCM24/ALAC24, for headroom; no other input audio processing.",
    "preserved_lossless_reference": {
      "file": "personal-vows-headroom-lossless.mp4",
      "bytes": 2476643284,
      "sha256": "cb961dc4a63420e9b477ad2b780ddab598e87f32c9eb0b5759bbcbe592513b5a"
    }
  },
  "diffio": {
    "model": "Diffio 4.6 Flash",
    "project_id": "713ad11c-ef53-4a95-8070-06dd370743f2",
    "generation_id": "d7d9cc36-b519-5f41-8382-2a21509645cc",
    "generations": 1,
    "revision_jobs_created": 0,
    "native_format": "PCM24 WAV, mono, 44.1 kHz, 6,216,961 samples",
    "current_exports": [
      {
        "file": "licensed-vows-mix50-native.wav",
        "selection": "Current mix,50% background",
        "bytes": 18650986,
        "sha256": "1697f8fbc42aed41ca601d6c907d92e2b310231c394c77aac9f8eb9113019e53"
      },
      {
        "file": "licensed-vows-speech0-native.wav",
        "selection": "Restored speech,no background added",
        "bytes": 18650986,
        "sha256": "912f516231514e2c6925c9fdf5082d6fc84cc74f34dc8cf6a3823ecb46c4f1bd"
      }
    ],
    "method": "Diffio 4.6 Flash through the Diffio API on October 21, 2026, one generation on the exact submitted upload. 50% Current mix, Restored speech/no background and Background noise WAVs rendered with the web app's stem-export recipe from the separated masters. Native WAV files untouched after export.",
    "api": {
      "model": "Diffio 4.6 Flash",
      "model_id": "diffio-4.6-flash",
      "restore_path": "the Diffio API",
      "api_base": "https://diffio-api-dev.web.app",
      "api_project_id": "713ad11c-ef53-4a95-8070-06dd370743f2",
      "generation_id": "d7d9cc36-b519-5f41-8382-2a21509645cc",
      "worker": "mac-min-2",
      "release": {
        "code": "c2fd55dfabad2682040b01226e044d5c59e810bf",
        "weights": "d02fad57238a443940f68490c4015c0dc53343bbbc128478ccc04854f61e6ac7"
      },
      "completed_at_utc": "2026-10-22T00:41:03.848842+00:00",
      "stem_revision": "e54133ed017c4d168320328807bb130b",
      "input": {
        "file": "personal-vows-headroom-upload-crf14.mp4",
        "bytes": 369851107,
        "sha256": "41781472bd388844436af8b6249d0d02ab15d55f6c8499884cc768fccca27384"
      },
      "native_export_method": "Native downloads reproduce the Diffio web app's stem-export recipe (worker stem_export renderVersion 1: PCM24 WAV from the separated speech/background masters, mix = speech + gain x background, MP4 = submitted picture copied + AAC 192 kb/s) applied locally (FFmpeg 6.1.1) to the 4.6 masters r2/stems/<rev>/speech.wav and background.wav, because the API offers no stem export. On the 4.5 generation this recipe reproduced the app's WAV downloads sample-for-sample; its AAC differs from the worker's encoder build (SNR about 43 dB)."
    }
  },
  "speech_wav_extraction": {
    "native_decoded_samples": 6217728,
    "selected_start_sample": 0,
    "selected_end_sample_exclusive": 6216961,
    "removed_trailing_framing_samples": 767,
    "sample_rate": 44100,
    "channels": 1,
    "pcm_bits": 24,
    "decoded_samples_finite": true,
    "max_absolute_quantization_error": 1.1897634522028966e-07,
    "max_error_in_pcm24_lsb": 0.9980459213256836,
    "pcm24_rail_samples": 0,
    "pcm24_peak": 0.46372079849243164,
    "pcm24_bytes_sha256": "57a1cd0f6ee0e4762376ff74854c700dab7532f5830af0700fd0c74dc3e601c6",
    "gain_applied": false,
    "description": "Decoded AAC to PCM24 with no gain, EQ, normalization, dither filter or sample-rate conversion. PCM24 conversion does not recover information lost in AAC. Removed only 767 decoder framing samples beyond the declared 6,216,961-sample timeline; no ceremony-content cut.",
    "duration_seconds": 140.9741723356009
  },
  "preview_preparation": {
    "picture": "Exact existing shared CRF22 compressed picture copied to carrier and fallback without re-encoding; complete3380-frame timeline retained.",
    "carrier": "stems-carrier.mp4: one AAC-LC256kbps44.1kHz two-channel stream. Channel0=speech, channel1=full separated background; native unity levels in encode; AAC mid/side and intensity stereo disabled. This lossy carrier is not native PCM and is never offered for ordinary split-ear playback.",
    "graph": "One MediaElementAudioSourceNode, split channel0 and1, fixed speech gain1 and linear background gain, mono sum, constant-0.17dB master. Original stereo uses a separate mutually exclusive gate from the same media source.",
    "background_native": {
      "file": "background-native.wav",
      "sha256": "13e929a03ad358ace1ce73a5ebcfb2b935e23f30430fcd4292c1976cd494cfc8",
      "generation_id": "d7d9cc36-b519-5f41-8382-2a21509645cc",
      "export": "Genuine Background noise WAV export; no restored speech, full separated background.",
      "bytes": 18650986
    },
    "fallback": "Prepared existing original preview plus mix50-preview.mp4 and speech0-common-preview.mp4, both with the common -0.17 dB master gain. Fallback replaces a graph-bound element with a fresh unbound video.",
    "native_identity": "All 6,216,961 native PCM24 samples: mix50=speech0+floor(background/2). This integer identity does not apply to the lossy AAC carrier.",
    "processing_limits": "One new Diffio generation (4.6 Flash, October 21, 2026); no stem normalization, resampling, limiter, dynamic processing, cuts, retiming or fades. Moving Background changes only its gain; it does not reload or seek.",
    "browser_delivery": "Same-origin range-enabled faststart MP4, metadata preload. Play resumes context and media in a user gesture. No full native WAV fetch/decode before playback.",
    "audit": {
      "status": "technical checks passed",
      "native_hashes_unchanged": {
        "speech0": "912f516231514e2c6925c9fdf5082d6fc84cc74f34dc8cf6a3823ecb46c4f1bd",
        "background": "13e929a03ad358ace1ce73a5ebcfb2b935e23f30430fcd4292c1976cd494cfc8",
        "mix50": "1697f8fbc42aed41ca601d6c907d92e2b310231c394c77aac9f8eb9113019e53"
      },
      "carrier": {
        "file": "stems-carrier.mp4",
        "bytes": 78324771,
        "sha256": "9dacaa55743a5a4af117570deebe21e62e7c80e709db6c6d901906218d933496",
        "all_3380_video_packets_timestamps_and_decoded_frames_identical": true,
        "fast_start": true,
        "audio_samples_declared": 6216961,
        "audio_channels": 2,
        "sample_rate": "44100",
        "format_duration": "140.974172"
      },
      "common_gain_speech0_fallback": {
        "file": "speech0-common-preview.mp4",
        "bytes": 76183463,
        "sha256": "03e173ce42da489f581c20c93b48113ff3aa0fee4805a881ba77c3c132182b0b",
        "all_3380_video_packets_timestamps_and_decoded_frames_identical": true,
        "fast_start": true,
        "audio_samples_declared": 6216961,
        "audio_channels": 1,
        "sample_rate": "44100",
        "format_duration": "140.974172"
      },
      "codec": "AAC-LC 256 kbps total, ms/is stereo tools disabled; lossy",
      "timeline": {
        "declared_samples": 6216961,
        "decoded_samples_including_AAC_padding": 6217728,
        "duration_seconds": 140.9741723356009,
        "video_frames": 3380
      },
      "channels": [
        {
          "channel": 0,
          "native": "speech0",
          "rms_native": 0.028969812662227833,
          "rms_error": 0.0004794786014626458,
          "max_abs_error": 0.02663186565041542,
          "snr_db": 35.62352913734426,
          "correlation_native": 0.9998649582987545,
          "correlation_wrong_stem": 0.00015377243377918384,
          "least_squares_speech_coefficient": 0.997763136801543,
          "least_squares_background_coefficient": -4.531870684011826e-06
        },
        {
          "channel": 1,
          "native": "background",
          "rms_native": 0.00889082549169272,
          "rms_error": 0.000245612135297672,
          "max_abs_error": 0.02357548475265503,
          "snr_db": 31.173845305019633,
          "correlation_native": 0.9996222219944725,
          "correlation_wrong_stem": 0.00015247320455602975,
          "least_squares_speech_coefficient": -8.089507418453276e-07,
          "least_squares_background_coefficient": 0.9964625915570555
        }
      ],
      "mixes": [
        {
          "background_gain": 0,
          "fixed_master_db": -0.17,
          "peak_amplitude": 0.45428816162833924,
          "full_scale_samples": 0,
          "rms_error_against_native_sum_after_master": 0.000470185497919756,
          "input_lufs": -29.73,
          "true_peak_dbtp": -6.84
        },
        {
          "background_gain": 0.5,
          "fixed_master_db": -0.17,
          "peak_amplitude": 0.45386774052856016,
          "full_scale_samples": 0,
          "rms_error_against_native_sum_after_master": 0.00048542467825646557,
          "input_lufs": -30.01,
          "true_peak_dbtp": -6.85
        },
        {
          "background_gain": 1,
          "fixed_master_db": -0.17,
          "peak_amplitude": 0.6782740889551144,
          "full_scale_samples": 0,
          "rms_error_against_native_sum_after_master": 0.0005283981630881122,
          "input_lufs": -29.69,
          "true_peak_dbtp": -3.37
        }
      ],
      "video_proof": "Every compressed packet hash, timestamp and duration plus all decoded frame hashes/timing equals existing shared picture. No cut, stretch or video re-encode.",
      "headroom_interpolation": "Absolute value of the linear S+gB signal is convex in g; endpoint sample and oversampled peaks bound all intermediate gains in [0,1]. Endpoint decoded true peaks are below full scale.",
      "limitations": [
        "AAC differs from native PCM; the native half-LSB mix identity does not apply to the carrier.",
        "Whole-file channel fitting strongly supports the declared order and no material swapped/crossfed stem. It cannot prove mathematically zero lossy codec leakage.",
        "No listening, cue-quality, browser, Safari or cold-network approval."
      ]
    }
  },
  "integrity": {
    "frames": 3380,
    "cadence": "24000/1001",
    "duration_seconds": 140.97416666666666,
    "shared_original_speech_all_decoded_frame_hashes_and_timing_equal": true,
    "shared_original_speech_all_compressed_packets_hashes_pts_dts_duration_equal": true,
    "all_frame_timing_rows_equal_to_submitted_input": true,
    "pixels_changed_from_input": "One approved H.264 CRF22 medium encode; no lossless-to-source claim.",
    "original_preview_audio_samples": 6766760,
    "speech_preview_audio_samples": 6216961,
    "preview_movie_timescale": 7056000,
    "new_0_50_all_decoded_frame_hashes_and_timing_equal_to_existing_shared_picture": true,
    "new_0_50_all_compressed_packets_hashes_pts_dts_duration_equal_to_existing_shared_picture": true,
    "new_native_wav_downloads_byte_identical": true,
    "mix50_preview_audio_samples": 6216961,
    "speech0_preview_audio_samples": 6216961,
    "all_original_and_earlier_public_media_unchanged": true
  },
  "public_files": [
    {
      "file": "original-input.wav",
      "role": "Original input WAV: exact prepared input PCM24, including the fixed -0.20 dB source headroom adjustment. No preview gain.",
      "bytes": 40600662,
      "sha256": "8ba566008eeb0233084885bbf835e4104a76c384b7e0eb98c8a3d47d744ea40a",
      "license": "CC BY-SA 4.0"
    },
    {
      "file": "speech-extracted.wav",
      "role": "Speech WAV extracted from the native speech MP4 export: PCM24 decode of its mono AAC, restricted to the declared timeline. Not a native WAV download; no gain. Not the active speech-only preview/download.",
      "bytes": 18650986,
      "sha256": "c3f11a7ffee0dcc1f48cceb0be0df7a4daa8b618f3cbdc324910f21f81f77216",
      "license": "CC BY-SA 4.0"
    },
    {
      "file": "original-preview.mp4",
      "role": "Complete original-input preview with fixed -7.69 dB gain and shared CRF22 picture.",
      "bytes": 77283882,
      "sha256": "c3b82553a7c2f68a25b9d61247559848cabcf0a548b500191a3d1a8c5d4ee4dc",
      "license": "CC BY-SA 4.0"
    },
    {
      "file": "poster.jpg",
      "role": "JPEG of frame zero from the complete submitted input; full frame, no graphic additions.",
      "bytes": 269259,
      "sha256": "99aea1d2f2ff53ee357358e0fbb4cc7cc734c1daa381701f188fbf26930a8182",
      "license": "CC BY-SA 4.0"
    },
    {
      "file": "mix50-native.wav",
      "role": "Genuine complete native50% background WAV; no gain, resampling, cut or transformation.",
      "bytes": 18650986,
      "sha256": "1697f8fbc42aed41ca601d6c907d92e2b310231c394c77aac9f8eb9113019e53",
      "license": "CC BY-SA 4.0"
    },
    {
      "file": "speech0-native.wav",
      "role": "Genuine complete native0% speech-only WAV; no gain, resampling, cut or transformation.",
      "bytes": 18650986,
      "sha256": "912f516231514e2c6925c9fdf5082d6fc84cc74f34dc8cf6a3823ecb46c4f1bd",
      "license": "CC BY-SA 4.0"
    },
    {
      "file": "mix50-preview.mp4",
      "role": "Complete50% background preview, -0.17dB fixed gain, singleAACencode from nativePCM, copied unchanged shared picture.",
      "bytes": 76245561,
      "sha256": "bdc655581e1428650d88fbd49c5170e0f1718d9863353f345a153bdf89a97ff2",
      "license": "CC BY-SA 4.0"
    },
    {
      "file": "stems-carrier.mp4",
      "bytes": 78324771,
      "sha256": "9dacaa55743a5a4af117570deebe21e62e7c80e709db6c6d901906218d933496",
      "role": "Streamed stem carrier; no standalone play/download link"
    },
    {
      "file": "speech0-common-preview.mp4",
      "bytes": 76183463,
      "sha256": "03e173ce42da489f581c20c93b48113ff3aa0fee4805a881ba77c3c132182b0b",
      "role": "Common-master speech0 fallback preview"
    },
    {
      "file": "background-native.wav",
      "bytes": 18650986,
      "sha256": "13e929a03ad358ace1ce73a5ebcfb2b935e23f30430fcd4292c1976cd494cfc8",
      "role": "Genuine native separated background; complete unchanged export"
    }
  ],
  "review_limits": [
    "Measurements, complete timelines and picture correspondence do not establish word fidelity, reaction preservation, preferred mix or perceptual A/V alignment.",
    "No auditory perception or listening approval was available for this revision.",
    "50% is the requested starting candidate, not a measured best mix or claim that particular laughter/applause survived.",
    "This is a worked comparison, not a customer testimonial or a finished wedding mix.",
    "Continuous-mix browser checks cover desktop Chrome playback/control state and a phone-width layout; no Safari, listening or cold-connection latency approval. Numeric codec diagnostics establish neither audible quality nor preserved reactions."
  ],
  "current_comparison": {
    "type": "Continuous background comparison",
    "versions": [
      "Original stereo",
      "Restored mono with Background 0\u2013100%"
    ],
    "default": "Restored, Background50%, paused",
    "formula": "fixed master \u00d7 (decoded native-speech AAC channel0 + background_gain \u00d7 decoded native-background AAC channel1)",
    "gain_range": [
      0,
      1
    ],
    "speech_gain": 1,
    "restored_master_db": -0.17,
    "gain_ramp_seconds": 0.02,
    "timeline": "One video element, one media clock, full140.974172-second exchange",
    "fallback": [
      "Original",
      "50% background",
      "Speech only \u00b7 0%"
    ],
    "fallback_speech_file": "speech0-common-preview.mp4",
    "fallback_new_element": true,
    "listening_review": "pending",
    "original_unchanged": true,
    "measurements": {
      "reference": "Fixed \u221230.00 LUFS target (the original preview's level); restored master = \u221230.00 \u2212 LUFS(native 50% mix PCM).",
      "native_lufs": {
        "speech0": -29.53,
        "mix50": -29.83,
        "extracted": -29.55
      },
      "previews": {
        "original-preview.mp4": {
          "integrated_lufs": -30.01,
          "true_peak_dbtp": -7.54,
          "loudness_range_lu": 11.3
        },
        "mix50-preview.mp4": {
          "integrated_lufs": -30.01,
          "true_peak_dbtp": -6.84,
          "loudness_range_lu": 9.8
        },
        "speech0-common-preview.mp4": {
          "integrated_lufs": -29.73,
          "true_peak_dbtp": -6.85,
          "loudness_range_lu": 10.2
        }
      },
      "speech0_common_gap_lu": 0.27,
      "level_match_note": "With one common master, speech0-common-preview.mp4 measures -29.73 LUFS, 0.27 LU above the -30.00 LUFS target (mix50-preview.mp4 -30.01, original-preview.mp4 -30.01). This exceeds the 0.2 LU guard used for the earlier per-file previews; no per-file gain is applied because the carrier graph and its fallback share one master."
    }
  },
  "listening_assessment": {
    "status": "pending",
    "candidate": "50% background",
    "assessment": "The proposed50% setting awaits listening review of the complete exchange. No finding about reaction preservation, word fidelity or preferred mix has been made."
  },
  "browser_review": {
    "reported_by": "Root actual Chrome CUA review",
    "playback_and_controls": "Passed default paused50%, first Play, live Background changes without source/time reset, paused same-position switches, rapid switching settled playing, replay/start/end/restart.",
    "fallback": "Both absent AudioContext and rejected-resume fixtures replaced element1 with fresh element2 and played the ordinary mix50 preview unmuted. Paused fallback switch retained16.243453\u219216.243452s.",
    "layout": "Desktop and390px viewport had no overflow; Background input measured44px after adjustment. No warnings/errors observed.",
    "limits": "Media/DOM state only, not auditory quality or Safari evidence. Local-only failure fixtures are not distributed."
  },
  "removed_files": {
    "files": [
      "speech0-preview.mp4",
      "speech-preview.mp4"
    ],
    "note": "removed on 2026-10-21: superseded 4.5-era files, not used by the page; the earlier speech-export and three-choice preview records that described them were removed with them."
  }
}
