Last active
January 3, 2016 18:59
-
-
Save benigumocom/8505447 to your computer and use it in GitHub Desktop.
Vine動画を結合
This file contains hidden or 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
#!/bin/sh -x | |
adb pull /sdcard/DCIM/Vine . | |
for file in `ls -1 *.mp4` | |
do | |
echo "file '${file}'" >> input.txt | |
done; | |
ffmpeg -f concat -i input.txt -c copy output.mp4 | |
mplayer output.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment