Carlo Politi <politi.carlo-at-yahoo.it <at> ffmpeg.org> writes: > i will try read the sources The relevant functions are h264_probe() in libavformat/h264dec.c and hevc_probe() in libavformat/hevcdec.c Please do not top-post here, Carl Eugen