# FFmpeg extract-audio handoff checklist: probe tracks, -vn -c:a copy, prove no video Published: 2026-11-10 (Asia/Shanghai) Companion review: https://toolbrivio.com/articles/ffmpeg-extract-audio-handoff-review.html You already have a finished or rough-cut MP4. You need a clean audio file for a podcast host, an ASR job, or a separate NLE track. Do not re-export the whole timeline for that. Probe the streams, pull the track you mean, then prove the output has no video and the codec you promised. This is the working checklist, not another benchmark. The companion FFmpeg extract-audio handoff review holds the comparison tables, extension traps, and community links. Test record: November 10, 2026 (Asia/Shanghai), FFmpeg/ffprobe 7.1.5-0+deb13u1 on Debian GNU/Linux 13. All fixtures are local lavfi testsrc2 cards with dual AAC tones, not real OBS multitrack, podcast hosts, or NLE exports. Numbers below are lab examples, not size targets for your footage. verification.txt: **18/18 PASS**. ## 1. Write the audio handoff contract - [ ] Agree what the receiver needs: AAC in M4A, PCM WAV, or a fixed rate such as 16 kHz mono. Keep the original MP4; write a separate audio file. - [ ] Decide whether stream copy is enough. Copy keeps AAC packets; WAV or a sample-rate change needs a re-encode. Do not treat this lavfi lab as a host or ASR certificate. - [ ] Record local tool versions and run a short trial before converting a whole batch. ```sh ffmpeg -version ffprobe -version ``` ## 2. Probe streams before you map ```sh ffprobe -v error -show_entries "stream=index,codec_type,codec_name,channels,sample_rate,duration:format=duration,size" -of json input.mp4 > input-probe.json ``` - [ ] Count audio streams, then record codec, channels, sample_rate, duration, and bytes for each. Our lab source `source-dual-audio.mp4` was H.264 640x360 30 fps **180** frames, a0 AAC stereo 48 kHz, a1 AAC mono 48 kHz, duration **6.000000** s, **724,651** B. Streamhash MD5 a0=`f04f7c4285f9a836c266a2f52e0bda3e`; a1=`b80b1a4f4afbe30746e4d2582907d451`. - [ ] FAIL a handoff plan that skips the probe when the file may carry desk audio, a second language, or an empty track. Stack Overflow and Super User map threads start from the same rule: index first, then `-map 0:a:N`. ## 3. Copy AAC with -vn -map -c:a copy ```sh ffmpeg -i source-dual-audio.mp4 -vn -map 0:a:0 -c:a copy pass-copy-a0.m4a printf "EXIT=%s\n" "$?" ``` `-vn` drops video. `-map 0:a:0` picks the first audio stream. `-c:a copy` remuxes AAC without another lossy encode. Use `.m4a` (or another AAC-friendly container), not `.mp3`. Pick a new output filename. Without `-y`, FFmpeg asks before overwriting. - [ ] Primary PASS on our fixture: EXIT 0, aac / 2 / 48000, duration **6.000000** s, **no video**, **98,216** B, streamhash equal to source a0. - [ ] Prefer copy when the next tool accepts AAC in M4A. The r/editors "extract without changing it" ask and the Stack Overflow separate-audio answer land in this path. ## 4. Re-encode WAV or a fixed rate when needed ```sh ffmpeg -i source-dual-audio.mp4 -vn -map 0:a:0 -c:a pcm_s16le -ar 48000 -ac 2 pass-wav-pcm.wav ffmpeg -i source-dual-audio.mp4 -vn -map 0:a:0 -c:a pcm_s16le -ar 16000 -ac 1 pass-wav-16k-mono.wav printf "EXIT=%s\n" "$?" ``` - [ ] PASS PCM stereo: EXIT 0, pcm_s16le / 2 / 48000, duration **6.016000** s (about 16 ms longer than the AAC source after decode), **1,155,150** B, no video. - [ ] PASS ASR-style 16 kHz mono: EXIT 0, pcm_s16le / 1 / 16000, duration 6.016000 s, **192,590** B. We did not upload this to a cloud ASR, so treat it as a container/probe shape only. The r/podcasting batch-rip-to-WAV script is the same job class. - [ ] Do not `-c:a copy` into `.wav` and trust the extension. See the silent trap below. ## 5. Prove no video and the codec you promised ```sh ffprobe -v error -show_entries "stream=index,codec_type,codec_name,channels,sample_rate,duration:format=duration,size" -of json out.m4a > out-probe.json ``` - [ ] PASS only if there is no video stream, codec/channels/sample_rate match the contract, and duration is sane. Matching byte size to the source MP4 is not required; our copy at 98,216 B is smaller than the 724,651 B source because video was dropped. - [ ] When several audio tracks exist, compare channel layout or a streamhash against the intended track. EXIT 0 alone is not proof you grabbed the mic. ## 6. Stop on silent traps and loud failures - [ ] FAIL wrong `-map` sold as a mic extract. `-map 0:a:1` exited **0**, wrote AAC mono at **74,449** B, and matched source a1 hash, not a0. - [ ] FAIL a forgotten `-vn`. `-c:a copy` without `-vn` exited 0 at **624,306** B with H.264 640x360 still present. A plain `-c copy` remux without `-vn` landed at **650,720** B with video plus the default stereo track. - [ ] FAIL AAC copy into `.wav`. EXIT 0 at **96,376** B; container wav, codec still **aac**. That is not PCM. The r/ffmpeg multi-stream extract example that copies into `.wav` lands in this trap class. - [ ] FAIL AAC copy into `.mp3`. EXIT **234**: Exactly one MP3 audio stream is required / Could not write header; 0-byte file. - [ ] FAIL a bad map index or video forced into WAV. `-map 0:a:9` exited **234** (Stream map '' matches no streams). Mapping video into `.wav` exited **234** (wav muxer does not support any stream of type video). ## 7. Open the trial in the receiving tool - [ ] HOLD until the podcast host, ASR job, or NLE that will actually receive the file imports a short slice. Host upload, cloud ASR accuracy, and NLE auto-sync were not run in our lab. - [ ] For speech work, listen to a short segment in that tool. Our sine tones cannot establish subjective quality or copyrighted-song ID. ## 8. Attach the proof and sign off - [ ] Keep the source and output filenames, tool versions, full command, exit code, input/output probes (codec, channels, sample_rate, video present or not), streamhash or channel check, and byte sizes together. Include receiver acceptance or leave delivery on HOLD. - [ ] PASS only after no video, matching codec contract, and the intended track agree. FAIL on wrong-map EXIT 0, forgot -vn, AAC-in-WAV, AAC-to-mp3 EXIT 234, bad map, or video-into-wav. HOLD on untested host/ASR/NLE paths. Run the same checks on each remaining file, not only the first trial. ## Evidence checkpoints Use these as lab examples, not size targets for your own footage. PASS copy m4a: **98,216** B. PASS PCM WAV: **1,155,150** B. PASS 16 kHz mono: **192,590** B. Wrong-map control: **74,449** B. Forgot -vn acopy: **624,306** B. Forgot -vn default: **650,720** B. AAC-in-WAV trap: **96,376** B. AAC-to-mp3 / bad-map / video-to-wav: EXIT **234**. Trace: evidence/ffmpeg-extract-audio-handoff/NOTES.md records the source, PASS, control, and trap matrices. run-lab.sh records the commands. summary-probes.json and probes/ hold stream fields; sizes-bytes.txt holds exact bytes; exit-codes.txt and logs/ record encoder outcomes; verification.txt shows 18/18 checks passed. Putting a finished soundtrack back under a picture is covered in the replace-audio checklist; loudness delivery belongs with loudnorm. We did not re-test those here. ## Download the checklist Download the checklist (Markdown). Keep it with the probes and fill in each box before delivery. For the control runs, extension traps, and community links, return to the companion review. ## Honest limits Not tested: podcast host upload; cloud ASR accuracy; NLE auto-sync; GPU paths; batch GUI tools; real OBS multitrack recordings; copyrighted-song identification; subjective listening scores; SoX or loudnorm finishing. Fixtures were lavfi/synthetic. This checklist does not certify those paths. No deep retests of replace-audio, loudnorm, SoX, rotate, scale+fps, Shorts crop/pad, concat, burn-in, thumbnail, or delivery CRF workflows are included. ## FAQ ### Can I copy AAC into a .mp3 with -c:a copy? No. On our dual-audio fixture, -vn -map 0:a:0 -c:a copy into .mp3 exited 234 with Exactly one MP3 audio stream is required / Could not write header and a 0-byte file. Keep .m4a for AAC copy, or re-encode with libmp3lame if you truly need MP3. ### Does -c:a copy into a .wav file give me PCM? No. Our AAC copy into .wav exited 0 at 96,376 B. The container said wav, but ffprobe codec_name was still aac, not pcm_s16le. Re-encode with pcm_s16le for a real WAV. ### Why did a wrong -map still exit 0? Mapping 0:a:1 instead of 0:a:0 still exits 0. Our wrong-map m4a was 74,449 B, AAC mono 48 kHz, with streamhash matching source a1, not a0. Probe channels or a hash against the intended track. ### What happens if I forget -vn? Without -vn, FFmpeg can keep the picture. Our -c:a copy run without -vn exited 0 at 624,306 B with H.264 640x360 still present. A plain -c copy remux without -vn landed at 650,720 B. Neither is an audio-only handoff. ### What still needs a HOLD after the probes pass? Podcast host upload, cloud ASR accuracy, NLE auto-sync, GPU paths, batch GUIs, real OBS multitrack recordings, copyrighted-song ID, and subjective listening were not tested in this lavfi lab. Leave those on HOLD until checked.