I don't understand much aboutDownload an antivirus of your choice (since MacOS but it shoulddoesn't have a equivalent application to Windows Defenderbuilt-in antivirus) to scan your files. Scan the files with that.
Yes, virus can come on media files but just because it was downloaded via a P2P method (aka torrent) doesn't mean it got virus inside (you can download Linux distros with a torrent client for example).
And since you're on MacOS, the probability of getting infected is significantly lower than a Windows PC. Even lower on media files.