Removed variable DIR, added some comments and changed name variables
no major changes
added To-Do
replaced ffmpeg instructions with avconv instructions