Skip to content

Instantly share code, notes, and snippets.

@heinrich-foto
Created July 20, 2016 19:45
Show Gist options
  • Select an option

  • Save heinrich-foto/86250af932903334c886dbdc36b22bb5 to your computer and use it in GitHub Desktop.

Select an option

Save heinrich-foto/86250af932903334c886dbdc36b22bb5 to your computer and use it in GitHub Desktop.
This Script converts via ffmpeg a given dashVideo and dashAudio Streaming Media File into a mp4 Video File.
#!/bin/bash
# This Script converts via ffmpeg a given dashVideo and dashAudio Streaming Media File into a mp4 Video File.
# It need a dashAudio and dashVideo File!
#
# ./convert-dashVideo.sh Filename.dashVideo
FILENAME=$(echo "$1" | sed 's/\.[^.]*$//')
ffmpeg -i ${FILENAME}.dashAudio -i ${FILENAME}.dashVideo -c:v copy -c:a aac -strict experimental ${FILENAME}.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment