ffmpeg fools around with stdin... have to redirect it to /dev/null when inside a read loop