shrinkVideo
This commit is contained in:
parent
c66ff4e336
commit
85a8688776
2
cutVideo
2
cutVideo
|
@ -11,6 +11,6 @@ extension="${filename##*.}"
|
|||
filename="${filename%.*}"
|
||||
outfile="$dir/$filename""Cut.$extension"
|
||||
|
||||
echo "--> $outfile"
|
||||
echo "$outfile"
|
||||
|
||||
ffmpeg -y -ss "$2" -t "$3" -i "$fullpath" "$outfile"
|
||||
|
|
15
shrinkVideo
Executable file
15
shrinkVideo
Executable file
|
@ -0,0 +1,15 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ "$#" -ne 1 ]; then
|
||||
echo "USAGE: $0 FILE"
|
||||
fi
|
||||
|
||||
fullpath="$1"
|
||||
dir=`dirname $fullpath`
|
||||
filename=`basename $fullpath`
|
||||
filename="${filename%.*}"
|
||||
outfile="$dir/$filename""Shrunk.mp4"
|
||||
|
||||
echo "$outfile"
|
||||
|
||||
ffmpeg -i "$fullpath" -s ega "$outfile"
|
Loading…
Reference in New Issue
Block a user