Just because you have Windows 8.1 does not automatically guarantee Miracast works. Your computer’s hardware (specifically the Wi-Fi adapter and graphics driver) must support it.
Have you tried using Miracast on your Windows 8.1 device? Did it work, or did you have to update your drivers? Let us know in the comments below! miracast download for windows 8.1 free