ffmpeg-cffi lock manager logging predicate used at compile-time
refactor to use generic input and output devices via generic methods