#!/bin/bash

ffmpeg -f image2 -pattern_type glob -i 'longexposure/img_*.jpg' -filter:v curves=master='0/0 0.5/0.5 1/1' -q:v 1 -s 2048x2048 1_IMG.avi

#ffmpeg -i 0_IMG.avi -i Serlich.m4a -c:v copy out.avi
#ffmpeg -f image2 -start_number 9050 -i 'orig/IMG_%05d.JPG' -filter:v curves=master='0/0 0.5/0.5 1/1' -q:v 1 -s 3000x2000 0_IMG.avi
#ffmpeg -f image2 -start_number 9050 -i 'orig/IMG_%05d.JPG' -filter:v curves=master='0/0 0.5/0.3 1/1' -q:v 1 -s 3000x2000 0_IMG.avi
#ffmpeg -f image2 -start_number 5940 -i 'orig/IMG_%04d.JPG' -q:v 1 -s 3000x2000 0_IMG.avi
#ffmpeg -f image2 -start_number 5940 -i 'orig/IMG_%04d.JPG' -q:v 1 -filter:v "crop=6000:3375:0:312,curves=master='0.5/0 0.875/1'" -s 1920x1080 -codec:v msmpeg4v2 2_IMG.avi
#cat IMG_*.JPG | ffmpeg -f image2pipe -i - -s 3000x2000 -filter:v "crop=1720:1720:655:140" -q:v 1 IMG.avi
#cat IMG_*.JPG | ffmpeg -f image2pipe -i - -i wav/Destne6.wav -q:v 1 -vf scale=2048x2048 5__IMG.avi
# -pix_fmt yuvj422p 

