initialize variables
reduce variable scope
update ffmpeg/custom_code.txt