Can we change mjpeg_probe() then? It has the same problem. "Everything was valid, and there's more than two frames, but it still has lower score than extension-based guess" libavformat/rawdec.c:184 if (nb_invalid == 0 && nb_frames > 2) return AVPROBE_SCORE_EXTENSION / 2; Vadim