Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

demux_webm_file

Shows how to extract the audio and video streams from a WebM file and save to two separate WebM files, one for the audio, and one for the video.

Command Line

demux-webm-file --input <webm file> --output <output filename without extension>

Examples

Bash

List options:

demux-webm-file --help

Extract the audio and video streams from ./assets/mov/big-buck-bunny_trailer_vp8_vorbis.webm and save to ./output/demux_webm_file/big-buck-bunny_trailer_vp8_vorbis.aud.webm and ./output/demux_webm_file/big-buck-bunny_trailer_vp8_vorbis.vid.webm:

mkdir -p ./output/demux_webm_file

demux-webm-file \
    --input ./assets/mov/big-buck-bunny_trailer_vp8_vorbis.webm \
    --output ./output/demux_webm_file/big-buck-bunny_trailer_vp8_vorbis

PowerShell

List options:

demux-webm-file --help

Extract the audio and video streams from ./assets/mov/big-buck-bunny_trailer_vp8_vorbis.webm and save to ./output/demux_webm_file/big-buck-bunny_trailer_vp8_vorbis.aud.webm and ./output/demux_webm_file/big-buck-bunny_trailer_vp8_vorbis.vid.webm:

New-Item -ItemType Directory -Force -Path ./output/demux_webm_file

demux-webm-file `
    --input ./assets/mov/big-buck-bunny_trailer_vp8_vorbis.webm `
    --output ./output/demux_webm_file/big-buck-bunny_trailer_vp8_vorbis