added support for avdevice by forcing input format