script for removing audio from video file
This commit is contained in:
parent
832df85078
commit
0af85267e2
14
removeaudio
Executable file
14
removeaudio
Executable file
|
@ -0,0 +1,14 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -eu
|
||||||
|
|
||||||
|
if [ "$#" -ne 1 ]; then
|
||||||
|
echo "USAGE: $0 FILE"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
fullpath="$1"
|
||||||
|
source fileextensions
|
||||||
|
|
||||||
|
cd "$dir"
|
||||||
|
ffmpeg -i "$filename.$extension" -c copy -an "$filename""_noaudio.$extension"
|
Loading…
Reference in New Issue
Block a user