Joined: Wed Dec 20, 2006 6:19 am Posts: 4 Location: US
Posted: Sun Dec 24, 2006 11:22 pm
I have an op1a MXF file, with single essence. It is encrypted using mxfcrypt tool. My task is to decrypt the file, extract the essence and feed it to media player. Is it possible to accomplish it with streaming, without temporary files? In other words, I would like to feed output of decryption directly to media player interface as a stream.
Is that possible with Freemxf API - to get essence as a stream right out of decryption?
It is possible, and you should not need to make too many modifications to mxfcrypt to achieve it.
You need to modify Decrypt_GCReadHandler::HandleData() so that instead of writing the decrypted data out to the destination file you simply pass that on to the media player stream.
You would probably need to add some checks that you were only passing on the correct essence packets from the correct sub-streams (and maybe switch between multiple output streams for separate audio and video etc.).
You would also want to update the code so that no output file is written as this is no longer required.
Users browsing this forum: No registered users and 7 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum