component id must be defined even if component is disabled
use libav avresample if ffmpeg resampler disabled

TODO:
if null, crash