It’s odd to me that there are places that would consider that piracy
In my country (the Netherlands), to my knowledge, you have the right to do whatever you like with your copy of a movie as long as you don’t distribute it.
That includes ripping it, and putting the mkv on your personal server. That is precisely what the home-copy tax is for afterall…