音声を抽出
for VIDEO in $(ls *.mp4 | sed 's/.mp4//')
do
ffmpeg -i ${VIDEO}.mp4 -acodec copy ${VIDEO}.aac
done
6秒の位置で320x240のサムネイルを取得
ffmpeg -i ${VIDEO}.mp4 -ss 6 -vframes 1 -f image2 -s 320x240 ${VIDEO}.jpg
Go to list of users who liked
More than 5 years have passed since last update.
for VIDEO in $(ls *.mp4 | sed 's/.mp4//')
do
ffmpeg -i ${VIDEO}.mp4 -acodec copy ${VIDEO}.aac
done
ffmpeg -i ${VIDEO}.mp4 -ss 6 -vframes 1 -f image2 -s 320x240 ${VIDEO}.jpg
Register as a new user and use Qiita more conveniently
Go to list of users who liked