Search code examples
securitycross-platformdrmcracking

desktop video player with new codec


I need to create a video player like pot player or vlc , that can play my personal codec ( like mp4 , mkv , ... ) for security reason a player has a login page and the user has to sign in to play video in it with out sign in the player doesn't work at all for example I have video name.mp4 and I want this video convert to something like this : name.xyz this format (xyz) should only play in my player and only play in a person's computer who buy these videos

I need some info on how to create this player and this player Should not crack. which language is perfect for this purpose? I want a cross-platform app. ( support in Linux, Mac, Windows )

Please help me. I need this app very bad

just Need a small clue


Solution

  • It seems your goal is to achieve a situation where playback can only happen in players that you produce and trust. That way you can enforce only users who have paid will be able to access the video.

    For that, you do not need custom codecs (also note that .mp4 or .mkv is not a codec, but is a container). What you need is DRM. What DRM does is encrypt the video, so that it can't be played without having the decryption keys. The player you then need would have to have some way to get those keys, and keep them secret on the device.

    There are several commercial systems out there, that can be implemented at relatively low cost. For instance, Microsoft Azure has a solution for this: https://azure.microsoft.com/en-us/services/media-services/content-protection/ If you need offline playback though, things are a bit more complex. Another option could be https://castlabs.com/drmtoday/

    If you want to support all the listed platforms, you will likely need to interact with 3 different major DRM systems. Microsoft PlayReady, Google Widevine and Apple FairPlay. Azure and DRMToday packages all those together, but you can also choose to implement them all yourself.

    You most likely do not want to build your own DRM system. Not only, is it far to easy to make mistakes that render it unsecure in some manner, it's also a lot of engineering effort, and way more costly to do than just using the existing systems.