ffmpeg demuxer: reduce time for finding stream info