I'm trying to build a local video streaming web application with Django as its backend. I'm not looking to host the application online, its always going to remain in localhost. Now the problem I'm facing is Django only detects video files that are inside static files directory. But I can't have all my videos under static files directory and so not all files can be inside static files directory(preferably I don't want any video files to be inside it).
Sorry if I'm dumb but how do I make Django to scan my whole system for media files (or preferably only the directories I provide to it which is not necessarily from the frontend of that web app) without putting video files inside static directory? If its not possible, then how should I build such application?
And also I noticed that the video tag from HTML can't play x265 .mkv videos by default, is there a way to make them play it or should I settle with other formats like .mp4 alone?
Thanks in advance.