Export Separate Video and Audio Files From an OBS Recording

OBS can save a video and several audio tracks together. For an edit or audio handoff that needs two files, inspect the streams before extracting them.

Worked example

Local stream inspection and export

ffprobe -v error -show_entries stream=index,codec_type,codec_name recording.mkv
ffmpeg -i recording.mkv -map 0:a:0 -c:a pcm_s16le mic.wav
ffmpeg -i recording.mkv -map 0:v:0 -c:v copy video-only.mp4

Steps

  1. Configure the audio tracks in OBS and record a short practice take. Say a phrase into the microphone and make one clap visible in frame.
  2. Use ffprobe to inspect the recording and identify the microphone's audio position. In the example it is the first audio stream, and the video is already H.264.
  3. Export the chosen audio stream to WAV and copy the video to a silent MP4. Place both outputs on a new timeline and check the clap.

What to check

  • Verify mic.wav contains the spoken phrase and video-only.mp4 has no audio stream.
  • If the recording's video codec is unsuitable for MP4, choose a compatible codec before export.

Explore video editing tools

References