How to play encrypted video file using WindowsMediaPlayer?

后端 未结 2 722
遇见更好的自我
遇见更好的自我 2021-01-16 22:16

I encrypt my .mp4 into a custom format (.opu). Now I should decrypt my file and save them into temp folder at the start of my application. and play

2条回答
  •  春和景丽
    2021-01-16 22:47

    There is a way using virtualization, i.e. hooks. The idea is to hook functions like ReadFile to provide decrypted data, SetFilePointer to maintain current pointer within a "file" etc. You can view one of the examples at http://www.boxedapp.com/encrypted_video_streaming.html

提交回复
热议问题