From ac01ddba10dcb87f76493823df3a993bae99ec6e Mon Sep 17 00:00:00 2001 From: Leandro Moreira Date: Wed, 1 Feb 2017 09:59:18 -0200 Subject: [PATCH] adds muxing and demuxing --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 8a8c0dc..e2469ef 100644 --- a/README.md +++ b/README.md @@ -87,6 +87,22 @@ From `1080p` to `480p`: ./s/ffmpeg -i /files/v/small_bunny_1080p_30fps.mp4 -vf scale=480:-1 /files/v/small_bunny_1080p_30fps_transsizing_480.mp4 ``` +## Demuxing + +Extracting `audio` from `container`: + +``` +./s/ffmpeg -i /files/v/small_bunny_1080p_30fps.mp4 -vn -c:a copy /files/v/small_bunny_audio.aac +``` + +# Muxing + +Joining `audio` with `video`: + +``` +./s/ffmpeg -i /files/v/small_bunny_audio.aac -i /files/v/small_bunny_1080p_30fps.mp4 /files/v/small_bunny_1080p_30fps_muxed.mp4 +``` + ## Audio sampling From `original` to `8kHz`: