Is there a way (I'm thinking using QuickTime perhaps) of taking a video+audio file and splitting it into two separate files, one of just the video, and one of just the audio? I know that in Finder, there's a context menu item "Encode Selected Video Files" which lets you encode it as audio-only, but not as video-only.


3 Answers 3


ffmpeg supports demuxing without re-encoding:

ffmpeg -i input.mkv # show stream numbers and formats
ffmpeg -i input.mkv -c copy audio.m4a # AAC
ffmpeg -i input.mkv -c copy audio.mp3 # MP3
ffmpeg -i input.mkv -c copy audio.ac3 # AC3
ffmpeg -i input.mkv -an -c copy video.mkv
ffmpeg -i input.mkv -map 0:a:1 -c copy audio.m4a # stream 1

-c copy is like -vcodec copy -acodec copy. -map 0:1 means file 0, stream 1. -an means audio none.

-- Edited: -map 0:1 => -map 0:a:1 (pick 2nd audio not just 2nd any stream)

  • I easily used ffmpegmac.net to do this, and it was very fast and easy. +1 for no re-encoding.
    – penguinrob
    Commented Jul 4, 2013 at 1:25
  • Used this technique to extract one specific video stream from a multi-angle Xvid file for upload. +1
    – Henning
    Commented Feb 17, 2017 at 20:08

QuickTime 7 Pro is the tool I have used for this splitting of tracks. Once you have registered the software, there is a nice tool that shows all tracks and you can delete them, move them, edit them separately.

  • Thanks, I might buy that if I can't figure out something in VLC.
    – penguinrob
    Commented Jul 2, 2013 at 20:11

I would recommend the VLC player, my favorite, it will play anything and do anything.

Here is how the splinting could work.

Here is where you can download the VLC.

  • The first link is for splitting a file into smaller segments e.g. saving a 5-minute segment from a 1-hour video, and not for separating the video and audio streams. I'll look around VLC and see if I can find something, though.
    – penguinrob
    Commented Jul 2, 2013 at 20:02
  • It was just an example, maybe you want to read this one! ehow.com/how_8690780_split-videos-vlc.html
    – Ruskes
    Commented Jul 2, 2013 at 20:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .