Fall back to software encoder if hardware is unavailable