Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- REM convert video to telegram autoplay (not as file)
- ffmpeg -i input -c:v libx264 -crf 26 -vf scale=640:-1 out.mp4
- REM convert vertical video to horizontal video with blur on both sides
- ffmpeg \
- -i Sequence02.mpeg \
- -i Sequence02.mpeg \
- -filter_complex \
- "[0:v]scale=-1:720[scaled_video]; \
- [1:v]scale=1280:720,boxblur=16[blur_image];\
- [blur_image][scaled_video]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2[outv]" \
- -aspect 1280/720 -map [outv] -map 0:a -c:a copy result.mp4
- REM batch convert multiple files to mp4. filtered by date
- forfiles /P E:\DCIM\100CANON /S /D +03.11.2018 /M "*.mov" /C "cmd /c ffmpeg -i @FILE D:\мое\фотки\2018\Эстония\\@FNAME.mp4 -hide_banner"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement