specify stream input format

making ffmpeg guess the input stream format is time consuming and somethings it gets it wrong.