{
 "title": "AAC audio bitrate inside a video file: measured on two synthetic 60-second sources",
 "ffmpeg_version": "ffmpeg version 8.1.1-full_build-www.gyan.dev Copyright (c) 2000-2026 the FFmpeg developers",
 "machine": "One Windows 11 laptop; FFmpeg run with -threads 4",
 "scope": "Objective measurements of FFmpeg native AAC (aac encoder, default AAC-LC, constant bitrate mode) on two synthetic sources. Not a listening test. Other AAC encoders (fdk-aac, Apple, hardware) were not tested.",
 "sources": {
  "voice_mono.wav": "60 s, 48 kHz, 24-bit mono. flite \"slt\" text-to-speech (synthesised at 16 kHz, so speech content stops near 8 kHz) starting at 1.0 s, speech RMS -20 dBFS, plus pink noise at -50 dBFS RMS. Integrated loudness -21.0 LUFS.",
  "voice_stereo.wav": "voice_mono.wav copied to both channels: ffmpeg -i voice_mono.wav -af \"pan=stereo|c0=c0|c1=c0\" -c:a pcm_s24le voice_stereo.wav",
  "music_stereo.wav": "60 s, 48 kHz, 24-bit stereo. Additive sawtooth chords with harmonics to 20 kHz, sine bass, synthetic kick every 0.5 s, noise hats high-passed above 6 kHz every 0.25 s, decorrelated pink noise at -35 dBFS, 50 Hz-20 kHz log sweep at -30 dBFS, peak normalised to -1 dBFS. Integrated loudness -15.3 LUFS. Seed 20261113.",
  "music_mono.wav": "ffmpeg -i music_stereo.wav -af \"pan=mono|c0=0.5*c0+0.5*c1\" -c:a pcm_s24le music_mono.wav",
  "generator": "gen_audio.py (numpy); speech text written for this test"
 },
 "encode_command": "ffmpeg -threads 4 -i SOURCE.wav -c:a aac -b:a {64,96,128,192,256}k enc/SOURCE_{N}k.m4a",
 "measurement_definitions": {
  "aac_payload_bytes": "sum of AAC packet sizes from ffprobe -select_streams a:0 -show_entries packet=size (container excluded)",
  "measured_kbps": "aac_payload_bytes * 8 / 60 s / 1000",
  "alignment_lag_samples": "integer offset maximising cross-correlation, first 10 s; 0 for every file",
  "snr_full_db": "10*log10(sum(ref^2)/sum((ref-dec)^2)), all channels pooled",
  "snr_0_4khz_db": "same after both signals are band-limited to 0-4 kHz (FFT bins above 4 kHz zeroed)",
  "cutoff_hz_ratio_ge_-10db": "upper edge of the highest 250 Hz band whose decoded/source energy ratio is >= -10 dB (4096-point Hann, 50% overlap)",
  "energy_kept_above_16khz_pct": "decoded energy / source energy summed over 16-22 kHz"
 },
 "encodes": [
  {
   "file": "voice_mono_64k.m4a",
   "source": "voice_mono.wav",
   "requested_kbps": 64,
   "channels": 1,
   "file_bytes": 497175,
   "aac_payload_bytes": 485112,
   "aac_packets": 2814,
   "measured_kbps": 64.7,
   "payload_bytes_per_minute": 485112,
   "decoded_samples": 2880512,
   "alignment_lag_samples": 0,
   "snr_full_db": 26.31,
   "snr_0_4khz_db": 26.85,
   "cutoff_hz_ratio_ge_-10db": 17250,
   "cutoff_hz_ratio_ge_-3db": 17250,
   "energy_kept_above_16khz_pct": 30.43
  },
  {
   "file": "voice_mono_96k.m4a",
   "source": "voice_mono.wav",
   "requested_kbps": 96,
   "channels": 1,
   "file_bytes": 735302,
   "aac_payload_bytes": 723239,
   "aac_packets": 2814,
   "measured_kbps": 96.4,
   "payload_bytes_per_minute": 723239,
   "decoded_samples": 2880512,
   "alignment_lag_samples": 0,
   "snr_full_db": 35.38,
   "snr_0_4khz_db": 37.17,
   "cutoff_hz_ratio_ge_-10db": 19500,
   "cutoff_hz_ratio_ge_-3db": 19500,
   "energy_kept_above_16khz_pct": 67.15
  },
  {
   "file": "voice_mono_128k.m4a",
   "source": "voice_mono.wav",
   "requested_kbps": 128,
   "channels": 1,
   "file_bytes": 974231,
   "aac_payload_bytes": 962168,
   "aac_packets": 2814,
   "measured_kbps": 128.3,
   "payload_bytes_per_minute": 962168,
   "decoded_samples": 2880512,
   "alignment_lag_samples": 0,
   "snr_full_db": 39.4,
   "snr_0_4khz_db": 41.66,
   "cutoff_hz_ratio_ge_-10db": 21750,
   "cutoff_hz_ratio_ge_-3db": 21750,
   "energy_kept_above_16khz_pct": 90.5
  },
  {
   "file": "voice_mono_192k.m4a",
   "source": "voice_mono.wav",
   "requested_kbps": 192,
   "channels": 1,
   "file_bytes": 1308705,
   "aac_payload_bytes": 1296626,
   "aac_packets": 2814,
   "measured_kbps": 172.9,
   "payload_bytes_per_minute": 1296626,
   "decoded_samples": 2880512,
   "alignment_lag_samples": 0,
   "snr_full_db": 47.87,
   "snr_0_4khz_db": 51.72,
   "cutoff_hz_ratio_ge_-10db": 22000,
   "cutoff_hz_ratio_ge_-3db": 22000,
   "energy_kept_above_16khz_pct": 94.05
  },
  {
   "file": "voice_mono_256k.m4a",
   "source": "voice_mono.wav",
   "requested_kbps": 256,
   "channels": 1,
   "file_bytes": 1311383,
   "aac_payload_bytes": 1299304,
   "aac_packets": 2814,
   "measured_kbps": 173.2,
   "payload_bytes_per_minute": 1299304,
   "decoded_samples": 2880512,
   "alignment_lag_samples": 0,
   "snr_full_db": 47.88,
   "snr_0_4khz_db": 51.73,
   "cutoff_hz_ratio_ge_-10db": 22000,
   "cutoff_hz_ratio_ge_-3db": 22000,
   "energy_kept_above_16khz_pct": 94.21
  },
  {
   "file": "voice_stereo_64k.m4a",
   "source": "voice_stereo.wav",
   "requested_kbps": 64,
   "channels": 2,
   "file_bytes": 495321,
   "aac_payload_bytes": 483258,
   "aac_packets": 2814,
   "measured_kbps": 64.4,
   "payload_bytes_per_minute": 483258,
   "decoded_samples": 2880512,
   "alignment_lag_samples": 0,
   "snr_full_db": 23.32,
   "snr_0_4khz_db": 23.87,
   "cutoff_hz_ratio_ge_-10db": 12000,
   "cutoff_hz_ratio_ge_-3db": 12000,
   "energy_kept_above_16khz_pct": 0.0
  },
  {
   "file": "voice_stereo_96k.m4a",
   "source": "voice_stereo.wav",
   "requested_kbps": 96,
   "channels": 2,
   "file_bytes": 734703,
   "aac_payload_bytes": 722640,
   "aac_packets": 2814,
   "measured_kbps": 96.4,
   "payload_bytes_per_minute": 722640,
   "decoded_samples": 2880512,
   "alignment_lag_samples": 0,
   "snr_full_db": 30.05,
   "snr_0_4khz_db": 30.95,
   "cutoff_hz_ratio_ge_-10db": 15750,
   "cutoff_hz_ratio_ge_-3db": 15750,
   "energy_kept_above_16khz_pct": 0.0
  },
  {
   "file": "voice_stereo_128k.m4a",
   "source": "voice_stereo.wav",
   "requested_kbps": 128,
   "channels": 2,
   "file_bytes": 974377,
   "aac_payload_bytes": 962314,
   "aac_packets": 2814,
   "measured_kbps": 128.3,
   "payload_bytes_per_minute": 962314,
   "decoded_samples": 2880512,
   "alignment_lag_samples": 0,
   "snr_full_db": 35.46,
   "snr_0_4khz_db": 37.13,
   "cutoff_hz_ratio_ge_-10db": 17250,
   "cutoff_hz_ratio_ge_-3db": 17250,
   "energy_kept_above_16khz_pct": 22.42
  },
  {
   "file": "voice_stereo_192k.m4a",
   "source": "voice_stereo.wav",
   "requested_kbps": 192,
   "channels": 2,
   "file_bytes": 1452910,
   "aac_payload_bytes": 1440831,
   "aac_packets": 2814,
   "measured_kbps": 192.1,
   "payload_bytes_per_minute": 1440831,
   "decoded_samples": 2880512,
   "alignment_lag_samples": 0,
   "snr_full_db": 42.56,
   "snr_0_4khz_db": 47.7,
   "cutoff_hz_ratio_ge_-10db": 19500,
   "cutoff_hz_ratio_ge_-3db": 19500,
   "energy_kept_above_16khz_pct": 59.85
  },
  {
   "file": "voice_stereo_256k.m4a",
   "source": "voice_stereo.wav",
   "requested_kbps": 256,
   "channels": 2,
   "file_bytes": 1813011,
   "aac_payload_bytes": 1800932,
   "aac_packets": 2814,
   "measured_kbps": 240.1,
   "payload_bytes_per_minute": 1800932,
   "decoded_samples": 2880512,
   "alignment_lag_samples": 0,
   "snr_full_db": 46.44,
   "snr_0_4khz_db": 53.02,
   "cutoff_hz_ratio_ge_-10db": 21750,
   "cutoff_hz_ratio_ge_-3db": 21750,
   "energy_kept_above_16khz_pct": 93.5
  },
  {
   "file": "music_mono_64k.m4a",
   "source": "music_mono.wav",
   "requested_kbps": 64,
   "channels": 1,
   "file_bytes": 496809,
   "aac_payload_bytes": 484746,
   "aac_packets": 2814,
   "measured_kbps": 64.6,
   "payload_bytes_per_minute": 484746,
   "decoded_samples": 2880512,
   "alignment_lag_samples": 0,
   "snr_full_db": 19.98,
   "snr_0_4khz_db": 23.44,
   "cutoff_hz_ratio_ge_-10db": 17250,
   "cutoff_hz_ratio_ge_-3db": 17250,
   "energy_kept_above_16khz_pct": 29.18
  },
  {
   "file": "music_mono_96k.m4a",
   "source": "music_mono.wav",
   "requested_kbps": 96,
   "channels": 1,
   "file_bytes": 738872,
   "aac_payload_bytes": 726809,
   "aac_packets": 2814,
   "measured_kbps": 96.9,
   "payload_bytes_per_minute": 726809,
   "decoded_samples": 2880512,
   "alignment_lag_samples": 0,
   "snr_full_db": 23.47,
   "snr_0_4khz_db": 28.54,
   "cutoff_hz_ratio_ge_-10db": 19500,
   "cutoff_hz_ratio_ge_-3db": 19500,
   "energy_kept_above_16khz_pct": 68.73
  },
  {
   "file": "music_mono_128k.m4a",
   "source": "music_mono.wav",
   "requested_kbps": 128,
   "channels": 1,
   "file_bytes": 984571,
   "aac_payload_bytes": 972508,
   "aac_packets": 2814,
   "measured_kbps": 129.7,
   "payload_bytes_per_minute": 972508,
   "decoded_samples": 2880512,
   "alignment_lag_samples": 0,
   "snr_full_db": 26.61,
   "snr_0_4khz_db": 31.75,
   "cutoff_hz_ratio_ge_-10db": 21750,
   "cutoff_hz_ratio_ge_-3db": 21750,
   "energy_kept_above_16khz_pct": 92.1
  },
  {
   "file": "music_mono_192k.m4a",
   "source": "music_mono.wav",
   "requested_kbps": 192,
   "channels": 1,
   "file_bytes": 1494495,
   "aac_payload_bytes": 1482416,
   "aac_packets": 2814,
   "measured_kbps": 197.7,
   "payload_bytes_per_minute": 1482416,
   "decoded_samples": 2880512,
   "alignment_lag_samples": 0,
   "snr_full_db": 34.29,
   "snr_0_4khz_db": 37.46,
   "cutoff_hz_ratio_ge_-10db": 22000,
   "cutoff_hz_ratio_ge_-3db": 22000,
   "energy_kept_above_16khz_pct": 96.03
  },
  {
   "file": "music_mono_256k.m4a",
   "source": "music_mono.wav",
   "requested_kbps": 256,
   "channels": 1,
   "file_bytes": 1743389,
   "aac_payload_bytes": 1731310,
   "aac_packets": 2814,
   "measured_kbps": 230.8,
   "payload_bytes_per_minute": 1731310,
   "decoded_samples": 2880512,
   "alignment_lag_samples": 0,
   "snr_full_db": 37.98,
   "snr_0_4khz_db": 40.34,
   "cutoff_hz_ratio_ge_-10db": 22000,
   "cutoff_hz_ratio_ge_-3db": 22000,
   "energy_kept_above_16khz_pct": 97.07
  },
  {
   "file": "music_stereo_64k.m4a",
   "source": "music_stereo.wav",
   "requested_kbps": 64,
   "channels": 2,
   "file_bytes": 495214,
   "aac_payload_bytes": 483151,
   "aac_packets": 2814,
   "measured_kbps": 64.4,
   "payload_bytes_per_minute": 483151,
   "decoded_samples": 2880512,
   "alignment_lag_samples": 0,
   "snr_full_db": 14.67,
   "snr_0_4khz_db": 17.07,
   "cutoff_hz_ratio_ge_-10db": 12000,
   "cutoff_hz_ratio_ge_-3db": 12000,
   "energy_kept_above_16khz_pct": 0.0
  },
  {
   "file": "music_stereo_96k.m4a",
   "source": "music_stereo.wav",
   "requested_kbps": 96,
   "channels": 2,
   "file_bytes": 739242,
   "aac_payload_bytes": 727179,
   "aac_packets": 2814,
   "measured_kbps": 97.0,
   "payload_bytes_per_minute": 727179,
   "decoded_samples": 2880512,
   "alignment_lag_samples": 0,
   "snr_full_db": 16.93,
   "snr_0_4khz_db": 19.82,
   "cutoff_hz_ratio_ge_-10db": 15750,
   "cutoff_hz_ratio_ge_-3db": 15750,
   "energy_kept_above_16khz_pct": 1.44
  },
  {
   "file": "music_stereo_128k.m4a",
   "source": "music_stereo.wav",
   "requested_kbps": 128,
   "channels": 2,
   "file_bytes": 981798,
   "aac_payload_bytes": 969735,
   "aac_packets": 2814,
   "measured_kbps": 129.3,
   "payload_bytes_per_minute": 969735,
   "decoded_samples": 2880512,
   "alignment_lag_samples": 0,
   "snr_full_db": 19.4,
   "snr_0_4khz_db": 23.23,
   "cutoff_hz_ratio_ge_-10db": 17250,
   "cutoff_hz_ratio_ge_-3db": 17250,
   "energy_kept_above_16khz_pct": 27.62
  },
  {
   "file": "music_stereo_192k.m4a",
   "source": "music_stereo.wav",
   "requested_kbps": 192,
   "channels": 2,
   "file_bytes": 1471531,
   "aac_payload_bytes": 1459452,
   "aac_packets": 2814,
   "measured_kbps": 194.6,
   "payload_bytes_per_minute": 1459452,
   "decoded_samples": 2880512,
   "alignment_lag_samples": 0,
   "snr_full_db": 22.59,
   "snr_0_4khz_db": 28.23,
   "cutoff_hz_ratio_ge_-10db": 19500,
   "cutoff_hz_ratio_ge_-3db": 19500,
   "energy_kept_above_16khz_pct": 68.63
  },
  {
   "file": "music_stereo_256k.m4a",
   "source": "music_stereo.wav",
   "requested_kbps": 256,
   "channels": 2,
   "file_bytes": 1966409,
   "aac_payload_bytes": 1954330,
   "aac_packets": 2814,
   "measured_kbps": 260.6,
   "payload_bytes_per_minute": 1954330,
   "decoded_samples": 2880512,
   "alignment_lag_samples": 0,
   "snr_full_db": 25.77,
   "snr_0_4khz_db": 31.39,
   "cutoff_hz_ratio_ge_-10db": 22000,
   "cutoff_hz_ratio_ge_-3db": 21750,
   "energy_kept_above_16khz_pct": 93.3
  }
 ],
 "source_spectral_context": {
  "voice_mono": {
   "pct_energy_above_8khz": 0.0163,
   "pct_energy_above_16khz": 0.00513
  },
  "voice_stereo": {
   "pct_energy_above_8khz": 0.0163,
   "pct_energy_above_16khz": 0.00513
  },
  "music_mono": {
   "pct_energy_above_8khz": 1.0049,
   "pct_energy_above_16khz": 0.32747
  },
  "music_stereo": {
   "pct_energy_above_8khz": 1.1761,
   "pct_energy_above_16khz": 0.37954
  }
 },
 "asdr_crosscheck_command": "ffmpeg -i enc/X.m4a -i SOURCE.wav -filter_complex \"[0:a]aformat=sample_fmts=dblp[a];[1:a]aformat=sample_fmts=dblp[b];[a][b]asdr\" -f null -",
 "asdr_crosscheck_output": [
  "music_mono_128k ch0 26.5864",
  "music_mono_192k ch0 34.2787",
  "music_mono_256k ch0 37.9641",
  "music_mono_64k ch0 19.9454",
  "music_mono_96k ch0 23.4274",
  "music_stereo_128k ch0 19.3663",
  "music_stereo_128k ch1 19.3365",
  "music_stereo_192k ch0 22.5656",
  "music_stereo_192k ch1 22.5349",
  "music_stereo_256k ch0 25.6659",
  "music_stereo_256k ch1 25.8227",
  "music_stereo_64k ch0 14.5978",
  "music_stereo_64k ch1 14.6529",
  "music_stereo_96k ch0 16.9067",
  "music_stereo_96k ch1 16.8695",
  "voice_mono_128k ch0 39.3879",
  "voice_mono_192k ch0 47.8623",
  "voice_mono_256k ch0 47.8764",
  "voice_mono_64k ch0 26.2927",
  "voice_mono_96k ch0 35.364",
  "voice_stereo_128k ch0 35.4433",
  "voice_stereo_128k ch1 35.4449",
  "voice_stereo_192k ch0 42.5489",
  "voice_stereo_192k ch1 42.5529",
  "voice_stereo_256k ch0 46.441",
  "voice_stereo_256k ch1 46.4417",
  "voice_stereo_64k ch0 23.3045",
  "voice_stereo_64k ch1 23.3059",
  "voice_stereo_96k ch0 30.0261",
  "voice_stereo_96k ch1 30.024"
 ],
 "mux_test": {
  "video": "60 s testsrc2=s=1280x720:r=30, libx264 -preset medium two-pass at -b:v 1000k and 5000k, no audio",
  "mux_command": "ffmpeg -i video_{1000k,5000k}.mp4 -i enc/X.m4a -map 0:v:0 -map 1:a:0 -c copy -movflags +faststart mux/V_X.mp4",
  "rows": [
   {
    "video": "1000k",
    "audio": "music_mono_128k",
    "total_bytes": "8555827",
    "video_payload": "7516982",
    "audio_payload": "972508",
    "audio_share_pct_of_total": 11.37,
    "container_overhead_bytes": 66337
   },
   {
    "video": "1000k",
    "audio": "music_mono_192k",
    "total_bytes": "9065735",
    "video_payload": "7516982",
    "audio_payload": "1482416",
    "audio_share_pct_of_total": 16.35,
    "container_overhead_bytes": 66337
   },
   {
    "video": "1000k",
    "audio": "music_mono_256k",
    "total_bytes": "9314629",
    "video_payload": "7516982",
    "audio_payload": "1731310",
    "audio_share_pct_of_total": 18.59,
    "container_overhead_bytes": 66337
   },
   {
    "video": "1000k",
    "audio": "music_mono_64k",
    "total_bytes": "8068065",
    "video_payload": "7516982",
    "audio_payload": "484746",
    "audio_share_pct_of_total": 6.01,
    "container_overhead_bytes": 66337
   },
   {
    "video": "1000k",
    "audio": "music_mono_96k",
    "total_bytes": "8310128",
    "video_payload": "7516982",
    "audio_payload": "726809",
    "audio_share_pct_of_total": 8.75,
    "container_overhead_bytes": 66337
   },
   {
    "video": "1000k",
    "audio": "music_stereo_128k",
    "total_bytes": "8553054",
    "video_payload": "7516982",
    "audio_payload": "969735",
    "audio_share_pct_of_total": 11.34,
    "container_overhead_bytes": 66337
   },
   {
    "video": "1000k",
    "audio": "music_stereo_192k",
    "total_bytes": "9042771",
    "video_payload": "7516982",
    "audio_payload": "1459452",
    "audio_share_pct_of_total": 16.14,
    "container_overhead_bytes": 66337
   },
   {
    "video": "1000k",
    "audio": "music_stereo_256k",
    "total_bytes": "9537649",
    "video_payload": "7516982",
    "audio_payload": "1954330",
    "audio_share_pct_of_total": 20.49,
    "container_overhead_bytes": 66337
   },
   {
    "video": "1000k",
    "audio": "music_stereo_64k",
    "total_bytes": "8066470",
    "video_payload": "7516982",
    "audio_payload": "483151",
    "audio_share_pct_of_total": 5.99,
    "container_overhead_bytes": 66337
   },
   {
    "video": "1000k",
    "audio": "music_stereo_96k",
    "total_bytes": "8310498",
    "video_payload": "7516982",
    "audio_payload": "727179",
    "audio_share_pct_of_total": 8.75,
    "container_overhead_bytes": 66337
   },
   {
    "video": "1000k",
    "audio": "voice_mono_128k",
    "total_bytes": "8545487",
    "video_payload": "7516982",
    "audio_payload": "962168",
    "audio_share_pct_of_total": 11.26,
    "container_overhead_bytes": 66337
   },
   {
    "video": "1000k",
    "audio": "voice_mono_192k",
    "total_bytes": "8879945",
    "video_payload": "7516982",
    "audio_payload": "1296626",
    "audio_share_pct_of_total": 14.6,
    "container_overhead_bytes": 66337
   },
   {
    "video": "1000k",
    "audio": "voice_mono_256k",
    "total_bytes": "8882623",
    "video_payload": "7516982",
    "audio_payload": "1299304",
    "audio_share_pct_of_total": 14.63,
    "container_overhead_bytes": 66337
   },
   {
    "video": "1000k",
    "audio": "voice_mono_64k",
    "total_bytes": "8068431",
    "video_payload": "7516982",
    "audio_payload": "485112",
    "audio_share_pct_of_total": 6.01,
    "container_overhead_bytes": 66337
   },
   {
    "video": "1000k",
    "audio": "voice_mono_96k",
    "total_bytes": "8306558",
    "video_payload": "7516982",
    "audio_payload": "723239",
    "audio_share_pct_of_total": 8.71,
    "container_overhead_bytes": 66337
   },
   {
    "video": "1000k",
    "audio": "voice_stereo_128k",
    "total_bytes": "8545633",
    "video_payload": "7516982",
    "audio_payload": "962314",
    "audio_share_pct_of_total": 11.26,
    "container_overhead_bytes": 66337
   },
   {
    "video": "1000k",
    "audio": "voice_stereo_192k",
    "total_bytes": "9024150",
    "video_payload": "7516982",
    "audio_payload": "1440831",
    "audio_share_pct_of_total": 15.97,
    "container_overhead_bytes": 66337
   },
   {
    "video": "1000k",
    "audio": "voice_stereo_256k",
    "total_bytes": "9384251",
    "video_payload": "7516982",
    "audio_payload": "1800932",
    "audio_share_pct_of_total": 19.19,
    "container_overhead_bytes": 66337
   },
   {
    "video": "1000k",
    "audio": "voice_stereo_64k",
    "total_bytes": "8066577",
    "video_payload": "7516982",
    "audio_payload": "483258",
    "audio_share_pct_of_total": 5.99,
    "container_overhead_bytes": 66337
   },
   {
    "video": "1000k",
    "audio": "voice_stereo_96k",
    "total_bytes": "8305959",
    "video_payload": "7516982",
    "audio_payload": "722640",
    "audio_share_pct_of_total": 8.7,
    "container_overhead_bytes": 66337
   },
   {
    "video": "5000k",
    "audio": "music_mono_128k",
    "total_bytes": "38403599",
    "video_payload": "37364754",
    "audio_payload": "972508",
    "audio_share_pct_of_total": 2.53,
    "container_overhead_bytes": 66337
   },
   {
    "video": "5000k",
    "audio": "music_mono_192k",
    "total_bytes": "38913507",
    "video_payload": "37364754",
    "audio_payload": "1482416",
    "audio_share_pct_of_total": 3.81,
    "container_overhead_bytes": 66337
   },
   {
    "video": "5000k",
    "audio": "music_mono_256k",
    "total_bytes": "39162401",
    "video_payload": "37364754",
    "audio_payload": "1731310",
    "audio_share_pct_of_total": 4.42,
    "container_overhead_bytes": 66337
   },
   {
    "video": "5000k",
    "audio": "music_mono_64k",
    "total_bytes": "37915837",
    "video_payload": "37364754",
    "audio_payload": "484746",
    "audio_share_pct_of_total": 1.28,
    "container_overhead_bytes": 66337
   },
   {
    "video": "5000k",
    "audio": "music_mono_96k",
    "total_bytes": "38157900",
    "video_payload": "37364754",
    "audio_payload": "726809",
    "audio_share_pct_of_total": 1.9,
    "container_overhead_bytes": 66337
   },
   {
    "video": "5000k",
    "audio": "music_stereo_128k",
    "total_bytes": "38400826",
    "video_payload": "37364754",
    "audio_payload": "969735",
    "audio_share_pct_of_total": 2.53,
    "container_overhead_bytes": 66337
   },
   {
    "video": "5000k",
    "audio": "music_stereo_192k",
    "total_bytes": "38890543",
    "video_payload": "37364754",
    "audio_payload": "1459452",
    "audio_share_pct_of_total": 3.75,
    "container_overhead_bytes": 66337
   },
   {
    "video": "5000k",
    "audio": "music_stereo_256k",
    "total_bytes": "39385421",
    "video_payload": "37364754",
    "audio_payload": "1954330",
    "audio_share_pct_of_total": 4.96,
    "container_overhead_bytes": 66337
   },
   {
    "video": "5000k",
    "audio": "music_stereo_64k",
    "total_bytes": "37914242",
    "video_payload": "37364754",
    "audio_payload": "483151",
    "audio_share_pct_of_total": 1.27,
    "container_overhead_bytes": 66337
   },
   {
    "video": "5000k",
    "audio": "music_stereo_96k",
    "total_bytes": "38158270",
    "video_payload": "37364754",
    "audio_payload": "727179",
    "audio_share_pct_of_total": 1.91,
    "container_overhead_bytes": 66337
   },
   {
    "video": "5000k",
    "audio": "voice_mono_128k",
    "total_bytes": "38393259",
    "video_payload": "37364754",
    "audio_payload": "962168",
    "audio_share_pct_of_total": 2.51,
    "container_overhead_bytes": 66337
   },
   {
    "video": "5000k",
    "audio": "voice_mono_192k",
    "total_bytes": "38727717",
    "video_payload": "37364754",
    "audio_payload": "1296626",
    "audio_share_pct_of_total": 3.35,
    "container_overhead_bytes": 66337
   },
   {
    "video": "5000k",
    "audio": "voice_mono_256k",
    "total_bytes": "38730395",
    "video_payload": "37364754",
    "audio_payload": "1299304",
    "audio_share_pct_of_total": 3.35,
    "container_overhead_bytes": 66337
   },
   {
    "video": "5000k",
    "audio": "voice_mono_64k",
    "total_bytes": "37916203",
    "video_payload": "37364754",
    "audio_payload": "485112",
    "audio_share_pct_of_total": 1.28,
    "container_overhead_bytes": 66337
   },
   {
    "video": "5000k",
    "audio": "voice_mono_96k",
    "total_bytes": "38154330",
    "video_payload": "37364754",
    "audio_payload": "723239",
    "audio_share_pct_of_total": 1.9,
    "container_overhead_bytes": 66337
   },
   {
    "video": "5000k",
    "audio": "voice_stereo_128k",
    "total_bytes": "38393405",
    "video_payload": "37364754",
    "audio_payload": "962314",
    "audio_share_pct_of_total": 2.51,
    "container_overhead_bytes": 66337
   },
   {
    "video": "5000k",
    "audio": "voice_stereo_192k",
    "total_bytes": "38871922",
    "video_payload": "37364754",
    "audio_payload": "1440831",
    "audio_share_pct_of_total": 3.71,
    "container_overhead_bytes": 66337
   },
   {
    "video": "5000k",
    "audio": "voice_stereo_256k",
    "total_bytes": "39232023",
    "video_payload": "37364754",
    "audio_payload": "1800932",
    "audio_share_pct_of_total": 4.59,
    "container_overhead_bytes": 66337
   },
   {
    "video": "5000k",
    "audio": "voice_stereo_64k",
    "total_bytes": "37914349",
    "video_payload": "37364754",
    "audio_payload": "483258",
    "audio_share_pct_of_total": 1.27,
    "container_overhead_bytes": 66337
   },
   {
    "video": "5000k",
    "audio": "voice_stereo_96k",
    "total_bytes": "38153731",
    "video_payload": "37364754",
    "audio_payload": "722640",
    "audio_share_pct_of_total": 1.89,
    "container_overhead_bytes": 66337
   }
  ]
 },
 "published_sample_commands": [
  {
   "file": "aacbr-music-stereo-64k-15s.m4a",
   "command": "ffmpeg -hide_banner -loglevel error -y -threads 4 -i enc/music_stereo_64k.m4a -t 15 -c copy -movflags +faststart C:/Users/VINAYS~1/AppData/Local/Temp/claude/ff9c4ba2d603118b/d7d5255a-edd7-4c18-a052-ec2693b2f5b4/scratchpad/aac-deint\\pub\\aacbr-music-stereo-64k-15s.m4a"
  },
  {
   "file": "aacbr-music-stereo-128k-15s.m4a",
   "command": "ffmpeg -hide_banner -loglevel error -y -threads 4 -i enc/music_stereo_128k.m4a -t 15 -c copy -movflags +faststart C:/Users/VINAYS~1/AppData/Local/Temp/claude/ff9c4ba2d603118b/d7d5255a-edd7-4c18-a052-ec2693b2f5b4/scratchpad/aac-deint\\pub\\aacbr-music-stereo-128k-15s.m4a"
  },
  {
   "file": "aacbr-music-stereo-256k-15s.m4a",
   "command": "ffmpeg -hide_banner -loglevel error -y -threads 4 -i enc/music_stereo_256k.m4a -t 15 -c copy -movflags +faststart C:/Users/VINAYS~1/AppData/Local/Temp/claude/ff9c4ba2d603118b/d7d5255a-edd7-4c18-a052-ec2693b2f5b4/scratchpad/aac-deint\\pub\\aacbr-music-stereo-256k-15s.m4a"
  },
  {
   "file": "aacbr-voice-mono-64k-15s.m4a",
   "command": "ffmpeg -hide_banner -loglevel error -y -threads 4 -i enc/voice_mono_64k.m4a -t 15 -c copy -movflags +faststart C:/Users/VINAYS~1/AppData/Local/Temp/claude/ff9c4ba2d603118b/d7d5255a-edd7-4c18-a052-ec2693b2f5b4/scratchpad/aac-deint\\pub\\aacbr-voice-mono-64k-15s.m4a"
  },
  {
   "file": "aacbr-voice-stereo-64k-15s.m4a",
   "command": "ffmpeg -hide_banner -loglevel error -y -threads 4 -i enc/voice_stereo_64k.m4a -t 15 -c copy -movflags +faststart C:/Users/VINAYS~1/AppData/Local/Temp/claude/ff9c4ba2d603118b/d7d5255a-edd7-4c18-a052-ec2693b2f5b4/scratchpad/aac-deint\\pub\\aacbr-voice-stereo-64k-15s.m4a"
  },
  {
   "file": "aacbr-music-source-15s.flac",
   "command": "ffmpeg -hide_banner -loglevel error -y -threads 4 -i music_stereo.wav -t 15 -c:a flac -sample_fmt s16 C:/Users/VINAYS~1/AppData/Local/Temp/claude/ff9c4ba2d603118b/d7d5255a-edd7-4c18-a052-ec2693b2f5b4/scratchpad/aac-deint\\pub\\aacbr-music-source-15s.flac"
  },
  {
   "file": "aacbr-voice-source-15s.flac",
   "command": "ffmpeg -hide_banner -loglevel error -y -threads 4 -i voice_mono.wav -t 15 -c:a flac -sample_fmt s16 C:/Users/VINAYS~1/AppData/Local/Temp/claude/ff9c4ba2d603118b/d7d5255a-edd7-4c18-a052-ec2693b2f5b4/scratchpad/aac-deint\\pub\\aacbr-voice-source-15s.flac"
  }
 ],
 "figure": "aac-band-energy: per-band decoded/source energy ratio drawn with matplotlib from the same encodes (plot_audio.py)",
 "scripts": [
  "gen_audio.py",
  "measure_audio.py",
  "plot_audio.py"
 ],
 "published_files": [
  {
   "file": "aacbr-music-stereo-64k-15s.m4a",
   "url": "/assets/aacbr-music-stereo-64k-15s.m4a",
   "bytes": 124388,
   "sha256": "54a5beff569091d970ed03ab1717099b6cd244d80993627b6bbbeac10569171d"
  },
  {
   "file": "aacbr-music-stereo-128k-15s.m4a",
   "url": "/assets/aacbr-music-stereo-128k-15s.m4a",
   "bytes": 245795,
   "sha256": "4c0a847d38a21d66b3f2ee2ab9eb09c77352d452e14c4a32dab733bc3d0cfe8c"
  },
  {
   "file": "aacbr-music-stereo-256k-15s.m4a",
   "url": "/assets/aacbr-music-stereo-256k-15s.m4a",
   "bytes": 495003,
   "sha256": "59cb9fa785ae5700fa8d7853237444c2f15579cd326f558801a49cd766e8d5f7"
  },
  {
   "file": "aacbr-voice-mono-64k-15s.m4a",
   "url": "/assets/aacbr-voice-mono-64k-15s.m4a",
   "bytes": 125122,
   "sha256": "0bde4fe04600386c59b2d6536654fede4107bcef8f328aab91045a811f104a8b"
  },
  {
   "file": "aacbr-voice-stereo-64k-15s.m4a",
   "url": "/assets/aacbr-voice-stereo-64k-15s.m4a",
   "bytes": 124556,
   "sha256": "b48e3455c9e3442c64775789479cfb04d9427013c261229b57cda6afd53e51b4"
  },
  {
   "file": "aacbr-music-source-15s.flac",
   "url": "/assets/aacbr-music-source-15s.flac",
   "bytes": 2068312,
   "sha256": "32222a883426a0baff9624f02d7efa0e211870752c27caf8e34f330d51030638"
  },
  {
   "file": "aacbr-voice-source-15s.flac",
   "url": "/assets/aacbr-voice-source-15s.flac",
   "bytes": 803134,
   "sha256": "e3b21066f8a61fbb645eb60c5872ed273e9d67d4f5d8d7a260508127d18c62ab"
  },
  {
   "file": "aac-band-energy.webp",
   "url": "/assets/aac-band-energy.webp",
   "bytes": 79434,
   "sha256": "6ac72e44c84adfecb0300debdbc46770c89153691d911b2fa3b161b9d5a43f37"
  },
  {
   "file": "aac-band-energy.png",
   "url": "/assets/aac-band-energy.png",
   "bytes": 120581,
   "sha256": "0a6a4d3a6c3f8fcd8517d24c40d5664b5d43833fbbcdbc1cd80867badd19a74c"
  }
 ]
}