initial working ffmpeg script for streams