Added .idea directory to gitignore
FFMPEG function

Move ffmpeg variable to a function