As suggested by Nicolas George, I've recently tried avfilter_graph_set_auto_convert(ctx->graph, AVFILTER_AUTO_CONVERT_NONE) in a filter init() function, but it did not prevent auto-inserted resampling filters from appearing.
I looked around a bit and could not find a place where the member of AVFilterGraph that is set by the function is actually used in master. [1] The function, and a check of the flag during the conversion filter auto-insertion process, was added in 440af105f2306d3c7b3b3f4d7530bab910d49cb9 [2] but the check seems to have been removed later on, leaving only the ineffectual function. [1] https://github.com/FFmpeg/FFmpeg/search?utf8=%E2%9C%93&q=disable_auto_convert [2] https://github.com/FFmpeg/FFmpeg/commit/440af105f2306d3c7b3b3f4d7530bab910d49cb9 -- Burt _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel