grab device is in AVFormatParameter (at least better than global variable) - currentl...