Skip to content

Commit

Permalink
Updated insta filenames
Browse files Browse the repository at this point in the history
  • Loading branch information
Fescron committed Sep 9, 2020
1 parent 595d49c commit 54614bb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions 2-timelapse-ffmpeg.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ ffmpeg -r 30 -pattern_type glob -i '*.JPG' -vcodec libx264 -crf 20 -pix_fmt yuv4
Cropping from center (Instagram)

```bash
ffmpeg -r 30 -pattern_type glob -i '*.JPG' -vcodec libx264 -crf 20 -pix_fmt yuv420p -tune film -vf "scale=1080:1080:force_original_aspect_ratio=increase,crop=1080:1080" insta-1x1-30fps-crop.mp4
ffmpeg -r 30 -pattern_type glob -i '*.JPG' -vcodec libx264 -crf 20 -pix_fmt yuv420p -tune film -vf "scale=1080:1350:force_original_aspect_ratio=increase,crop=1080:1350" insta-4x5-30fps-crop.mp4
ffmpeg -r 30 -pattern_type glob -i '*.JPG' -vcodec libx264 -crf 20 -pix_fmt yuv420p -tune film -vf "scale=1080:566:force_original_aspect_ratio=increase,crop=1080:566" insta-5x4-30fps-crop.mp4
ffmpeg -r 30 -pattern_type glob -i '*.JPG' -vcodec libx264 -crf 20 -pix_fmt yuv420p -tune film -vf "scale=1080:1080:force_original_aspect_ratio=increase,crop=1080:1080" 0-insta-1x1-30fps-crop.mp4
ffmpeg -r 30 -pattern_type glob -i '*.JPG' -vcodec libx264 -crf 20 -pix_fmt yuv420p -tune film -vf "scale=1080:1350:force_original_aspect_ratio=increase,crop=1080:1350" 0-insta-4x5-30fps-crop.mp4
ffmpeg -r 30 -pattern_type glob -i '*.JPG' -vcodec libx264 -crf 20 -pix_fmt yuv420p -tune film -vf "scale=1080:566:force_original_aspect_ratio=increase,crop=1080:566" 0-insta-5x4-30fps-crop.mp4
```

If the images were taken in portrait orientation, use the following command to make sure the EXIF data is reflected in the image size.
Expand Down Expand Up @@ -75,7 +75,7 @@ ffmpeg -r 30 -pattern_type glob -i '*.JPG' -vcodec libx264 -crf 20 -pix_fmt yuv4
Adding a watermark

```bash
ffmpeg -i insta-4x5-30fps-crop.mp4 -r 30 -vcodec libx264 -crf 20 -pix_fmt yuv420p -tune film -vf "drawtext=text='@brecht.ve':x=10:y=H-th-13:fontfile='/home/brecht/.fonts/BebasNeue Book.otf':fontsize=35:[email protected]" insta-4x5-30fps-crop-watermark.mp4
ffmpeg -i 0-insta-4x5-30fps-crop.mp4 -r 30 -vcodec libx264 -crf 20 -pix_fmt yuv420p -tune film -vf "drawtext=text='@brecht.ve':x=10:y=H-th-13:fontfile='/home/brecht/.fonts/BebasNeue Book.otf':fontsize=35:[email protected]" 0-insta-4x5-30fps-crop-watermark.mp4
```

<br/>
Expand Down

0 comments on commit 54614bb

Please sign in to comment.