User Tools

Site Tools


ffmpeg:decoding:extract_a_separate_video_file_and_separate_audio_file

ffmpeg - Decoding - Extract a separate Video file and separate Audio file

Extract an audio only and then a video only copy from the input

ffmpeg -i inputfile.mkv -map 0:1 audio.mp3 -map 0:0 video.mp4

NOTE: -map: just replaces Stream #.

  • Stream 0:0 is the video stream.
  • Stream 0:1 is the audio stream.
ffmpeg/decoding/extract_a_separate_video_file_and_separate_audio_file.txt · Last modified: 2023/11/02 22:45 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki