Compatibility with current ffmpegs