introduce option handling for demuxers