How to realize the broadcast video data in memory?
Time:10-08
Such as topic, via the file mapping to the encrypted local video files into memory and then decrypted in memory directly, don't want to make it after decryption inventory to play again, although the media player control play a local file is very simple, but I want to make it to the decrypted memory directly broadcast video data, have a good idea? , decrypt the existing open source libraries can be used, the main problem is how to play decrypted video data in memory
CodePudding user response:
To convert data in memory to RGB, and then directly to draw on the interface
CodePudding user response:
It depends on the player branch of the third party does not support data flow manner, if support is best, the data directly to the player plug-in line, If player support only way, in the form of path, interface, you can release the documents to a hidden directory and then play, delete, or, to give players the encrypted file path, but the hooks player related functions, such as HOOK readfile, when reading, Or, as the upstairs said, its own data decoding frame, draw up by then,