Use lavf first in ffms and lavf