freeMXF.org

Open discussion about freeMXF.org tools and MXF in general
It is currently Sun Apr 05, 2020 2:23 am
Board index » MXF Categories » freeMXF.org Tools



Post new topic Reply to topic  [ 2 posts ] 
Author
Search for:
Message

Offline
Rookie

Joined: Wed Dec 20, 2006 6:19 am
Posts: 4
Location: US

Post Posted: Sun Dec 24, 2006 11:22 pm 
Top  
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?

 Profile YIM  

Offline
Insider

Joined: Thu Apr 15, 2004 10:39 am
Posts: 198
Location: Scotland

Post Posted: Tue Jan 02, 2007 11:08 am 
Top  
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.

 Profile WWW  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

Jump to:  


Who is online

Users browsing this forum: No registered users and 2 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
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group :: Style based on FI Subice by phpBBservice.nl :: All times are UTC