Add ffmpeg related scripts
This commit is contained in:
3
scripts/shell/ffmpeg-get-video-duration.sh
Executable file
3
scripts/shell/ffmpeg-get-video-duration.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
ffmpeg -i $1 2>&1 | grep "Duration" | awk -F, '{print $1}' | xargs
|
||||
Reference in New Issue
Block a user