29 06 2018
Home-brew install
1 |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" |
ffmpeg install
1 |
brew install ffmpeg --with-fdk-aac --with-ffplay --with-freetype --with-frei0r --with-libass --with-libvo-aacenc --with-libvorbis --with-libvpx --with-opencore-amr --with-openjpeg --with-opus --with-rtmpdump --with-schroedinger --with-speex --with-theora --with-tools |
ffmpeg update
1 |
brew upgrade --HEAD ffmpeg |
app store preview video example
1 |
ffmpeg -i 4EB80F9F-2BB6-4072-ABBF-889F44F00B22.MOV -r 25 -acodec copy -vf scale=1080:1920 AEB80F9F-1080_1920.MOV |
1 |
ffmpeg -i IMG_0078.PNG -vf scale=1242:2208 O_IMG_0078.PNG |
1 2 3 |
ffmpeg -i 동영상.avi -ss 600 -t 120 결과물.avi (동영상.avi 의 600초 지점부터 120초간 자르고 결과물.avi로 저장) |
MP4 변환 : App Store 업로드를 위한 1.iphone으로 녹화후 -> frame 4배로 느리게 ffmpeg -i original.mp4 -vf “setpts=(4/1)*PTS” -an pts_screerecord.mp4 2.영상 사이즈 변경 ffmpeg -i original.mp4 -vf scale=1080:1920 out.mp4 3.시간대로 자르기 ffmpeg […]