Ffmpeg
Thumbnail:
http://blog.roberthallam.org/2010/06/extract-a-single-image-from-a-video-using-ffmpeg/
https://www.bugcodemaster.com/article/changing-resolution-video-using-ffmpeg
Filters
https://trac.ffmpeg.org/wiki/FancyFilteringExamples
Install
Convert
FFMPEG
Install
1 | #!/bin/bash |
ffmpeg -i movie.mov -vcodec copy -acodec copy out.mp4
mkdir -p out && for f in *.mov; do ffmpeg -i “$f” -c copy -movflags +faststart out/“${f%.mov}.mp4”; done
ffmpeg -i video_320x180.mp4 agif_320x180.gif -hide_banner
Loop on the first few seconds:
ffmpeg -t 2 -i MVI_6654.MOV secondtry.gif
Drop some frames:
ffmpeg -t 2 -i MVI_6654.MOV -r “15” thirdtry.gif
Thumbnail:
https://video.stackexchange.com/questions/4563/how-can-i-crop-a-video-with-ffmpeg
http://ffmpeg.org/ffmpeg-filters.html#crop
Tags:
#video #ffmpeg
FFMPEG
https://www.ffmpeg.org/ffmpeg-protocols.html
https://trac.ffmpeg.org/wiki/StreamingGuide
FFMPEG on Firebase Functions
https://medium.com/fact-tutorials/create-thumbnail-of-video-in-firebase-cloud-functions-f4f28eb5f251