Test log: add music to an Instagram Reel file. Run 2026-11-21 by Koldflux. ffmpeg version 6.1.1-3ubuntu5 Copyright Tools: ffmpeg/ffprobe on Ubuntu; Playwright headless Chromium against https://koldflux.com/tools/video/add-audio (live). Inputs: voice.mp3 = Kokoro-82M voice (our script, 6.4 s); music.mp3 = Beethoven WoO 80 recording, Wikimedia Commons, CC0 (20 s); both reused from the how-to-add-music-to-video test. Video is ffmpeg testsrc2, no third-party footage. ## input probe -- reel-voice codec_name=h264 codec_type=video width=1080 height=1920 duration=20.000000 codec_name=aac codec_type=audio duration=20.000000 -- phone-rot codec_name=h264 codec_type=video width=1920 height=1080 duration=20.000000 rotation=90 ## tool runs label: New audio volume: 30% volume label before run: New audio volume: 30% after: Up to 100 MB per file | Choose a video and an audio file, decide whether the new sound replaces the original or mixes with it, set the volume, and download an MP4. The picture is copied without re-encoding, so it is untouched (the video stream had the same checksum in all nine of our tests) and the job took 0.2 to 0.4 seconds on a 5.1 second 1080p clip. The result is always as long as the video: longer audio is cut at the end, shorter audio repeats if you tick the loop box, or is followed by silence. Nothing is uploaded. | Video files · 100 MB maximum | Audio files, MP3, M4A, WAV, AAC, OGG, FLAC · 100 MB maximum | Maximum 100 MB. Both files stay on your device. The picture is copied without re-encoding; the result is as long as the video. | The new audio is encoded as AAC at about 191 kbps, the format MP4 players expect, whatever the audio file was (an MP3 in our tests). | The result is as long as the video: a 30 second track on a 5.1 second clip gave 5.1 seconds, not 30. | A track shorter than the video: with the loop box off, the last 1.5 seconds of our 3 second track on the 5.1 second clip were silence (silence); with it on, they were -25.9 dB, the same level as the start. saved out/A-mix30.mp4 video-with-audio.mp4 label: New audio volume: 100% volume label before run: New audio volume: 100% after: Up to 100 MB per file | Choose a video and an audio file, decide whether the new sound replaces the original or mixes with it, set the volume, and download an MP4. The picture is copied without re-encoding, so it is untouched (the video stream had the same checksum in all nine of our tests) and the job took 0.2 to 0.4 seconds on a 5.1 second 1080p clip. The result is always as long as the video: longer audio is cut at the end, shorter audio repeats if you tick the loop box, or is followed by silence. Nothing is uploaded. | Video files · 100 MB maximum | Audio files, MP3, M4A, WAV, AAC, OGG, FLAC · 100 MB maximum | Maximum 100 MB. Both files stay on your device. The picture is copied without re-encoding; the result is as long as the video. | The new audio is encoded as AAC at about 191 kbps, the format MP4 players expect, whatever the audio file was (an MP3 in our tests). | The result is as long as the video: a 30 second track on a 5.1 second clip gave 5.1 seconds, not 30. | A track shorter than the video: with the loop box off, the last 1.5 seconds of our 3 second track on the 5.1 second clip were silence (silence); with it on, they were -25.9 dB, the same level as the start. saved out/B-replace.mp4 video-with-audio.mp4 label: New audio volume: 100% volume label before run: New audio volume: 100% after: Up to 100 MB per file | Choose a video and an audio file, decide whether the new sound replaces the original or mixes with it, set the volume, and download an MP4. The picture is copied without re-encoding, so it is untouched (the video stream had the same checksum in all nine of our tests) and the job took 0.2 to 0.4 seconds on a 5.1 second 1080p clip. The result is always as long as the video: longer audio is cut at the end, shorter audio repeats if you tick the loop box, or is followed by silence. Nothing is uploaded. | Video files · 100 MB maximum | Audio files, MP3, M4A, WAV, AAC, OGG, FLAC · 100 MB maximum | Maximum 100 MB. Both files stay on your device. The picture is copied without re-encoding; the result is as long as the video. | The new audio is encoded as AAC at about 191 kbps, the format MP4 players expect, whatever the audio file was (an MP3 in our tests). | The result is as long as the video: a 30 second track on a 5.1 second clip gave 5.1 seconds, not 30. | A track shorter than the video: with the loop box off, the last 1.5 seconds of our 3 second track on the 5.1 second clip were silence (silence); with it on, they were -25.9 dB, the same level as the start. saved out/C-phone.mp4 video-with-audio.mp4 label: New audio volume: 100% volume label before run: New audio volume: 100% after: Up to 100 MB per file | Choose a video and an audio file, decide whether the new sound replaces the original or mixes with it, set the volume, and download an MP4. The picture is copied without re-encoding, so it is untouched (the video stream had the same checksum in all nine of our tests) and the job took 0.2 to 0.4 seconds on a 5.1 second 1080p clip. The result is always as long as the video: longer audio is cut at the end, shorter audio repeats if you tick the loop box, or is followed by silence. Nothing is uploaded. | Video files · 100 MB maximum | Audio files, MP3, M4A, WAV, AAC, OGG, FLAC · 100 MB maximum | Maximum 100 MB. Both files stay on your device. The picture is copied without re-encoding; the result is as long as the video. | The new audio is encoded as AAC at about 191 kbps, the format MP4 players expect, whatever the audio file was (an MP3 in our tests). | The result is as long as the video: a 30 second track on a 5.1 second clip gave 5.1 seconds, not 30. | A track shorter than the video: with the loop box off, the last 1.5 seconds of our 3 second track on the 5.1 second clip were silence (silence); with it on, they were -25.9 dB, the same level as the start. saved out/D-phone-voice.mp4 video-with-audio.mp4 ## output probe (stream type, codec, size, rotation flag, duration) -- A-mix30 codec_name=h264 codec_type=video width=1080 height=1920 duration=20.000000 codec_name=aac codec_type=audio duration=20.000000 -- B-replace codec_name=h264 codec_type=video width=1080 height=1920 duration=20.000000 codec_name=aac codec_type=audio duration=20.000000 -- C-phone codec_name=h264 codec_type=video width=1920 height=1080 duration=20.000000 rotation=90 codec_name=aac codec_type=audio duration=20.000000 -- D-phone-voice codec_name=h264 codec_type=video width=1920 height=1080 duration=20.000000 rotation=90 codec_name=aac codec_type=audio duration=20.000000 ## displayed picture size (first decoded frame, ffmpeg applies the rotation flag) in/phone-rot 1080,1920 out/C-phone 1080,1920 in/reel-voice 1080,1920 out/A-mix30 1080,1920 ## picture stream checksum before and after (md5 of the copied video packets) in/phone-rot MD5=5c6058b4675f4c7a7e438a81fe2c80fd | out/C-phone MD5=5c6058b4675f4c7a7e438a81fe2c80fd in/phone-rot MD5=5c6058b4675f4c7a7e438a81fe2c80fd | out/D-phone-voice MD5=5c6058b4675f4c7a7e438a81fe2c80fd in/reel-voice MD5=90cdd2e38d1a140b25d349bc45ab7fca | out/A-mix30 MD5=90cdd2e38d1a140b25d349bc45ab7fca in/reel-voice MD5=90cdd2e38d1a140b25d349bc45ab7fca | out/B-replace MD5=90cdd2e38d1a140b25d349bc45ab7fca ## loudness (ebur128 integrated, LUFS) and level in the voice window 1.8-6.0 s and the music-only window 10-14 s (volumedetect mean_volume, dB) in/voice.mp3 integrated -22.6 LUFS | voice window -23.5 dB | music window in/music.mp3 integrated -22.9 LUFS | voice window -27.2 dB | music window -26.4 dB out/A-mix30.mp4 integrated -25.8 LUFS | voice window -23.3 dB | music window -35.3 dB out/B-replace.mp4 integrated -22.9 LUFS | voice window -27.2 dB | music window -26.4 dB out/D-phone-voice.mp4 integrated -22.6 LUFS | voice window -23.5 dB | music window -22.8 dB in/reel-voice.mp4 integrated -22.7 LUFS | voice window -23.5 dB | music window -91.0 dB ## duration of results in/reel-voice 20.000000 out/A-mix30 20.000000 out/B-replace 20.000000 in/phone-rot 20.000000 out/C-phone 20.000000 out/D-phone-voice 20.000000 ## part 3: volume box, music-only window 10-14 s (the 6.4 s voice is over), mean_volume dB; reference = music at 100% = -26.4 dB tool mix at 100%: -24.8 dB | voice window 1.8-6.0 s: -21.6 dB tool mix at 50%: -30.9 dB | voice window 1.8-6.0 s: -22.9 dB tool mix at 25%: -36.9 dB | voice window 1.8-6.0 s: -23.3 dB tool mix at 10%: -44.8 dB | voice window 1.8-6.0 s: -23.5 dB control: ffmpeg volume=1.0 on the music file alone: -26.4 dB (arithmetic: 20*log10(1.0) = 0.0 dB from the 100% reference) control: ffmpeg volume=0.5 on the music file alone: -32.4 dB (arithmetic: 20*log10(0.5) = -6.0 dB from the 100% reference) control: ffmpeg volume=0.25 on the music file alone: -38.4 dB (arithmetic: 20*log10(0.25) = -12.0 dB from the 100% reference) control: ffmpeg volume=0.1 on the music file alone: -46.4 dB (arithmetic: 20*log10(0.1) = -20.0 dB from the 100% reference) ## part 4: channels (count,sample rate) and the music-only window 10-14 s at music 100% (music file alone: -26.4 dB) music.mp3: 44100,2 | voice.mp3: 24000,1 clip with mono sound (reel-voice.mp4): 24000,1 -> tool mix result: 24000,1, music window -24.8 dB clip with stereo sound (reel-voice-stereo.mp4): 24000,2 -> tool mix result: 24000,2, music window -26.4 dB replace mode, mono clip (out/B-replace.mp4): 44100,2, music window -26.4 dB