avfilter/vf_median: add support for commands