Updated FFMpeg initialization for backward compatibility with plugins