Created
April 19, 2018 06:21
-
-
Save yanxurui/43532410fac925ac9dc067506b7748a5 to your computer and use it in GitHub Desktop.
convert vdat to mp4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set -x | |
src="/Users/yxr/Downloads/in/" | |
for fullfile in "$src"*.vdat | |
do | |
filename="${fullfile##*/}" | |
output="/Users/yxr/Downloads/out/${filename%.*}.mp4" | |
echo $output | |
ffmpeg -i "$fullfile" -codec copy "$output" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
tips