freeMXF.org

Open discussion about freeMXF.org tools and MXF in general
It is currently Thu Mar 28, 2024 11:38 pm
Board index » MXF Categories » freeMXF.org Tools



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

Offline
Rookie

Joined: Tue Sep 06, 2011 8:09 pm
Posts: 3

Post Posted: Tue Sep 06, 2011 8:59 pm 
Top  
I am needing to load still image frames from disk and merge them into an MXF video file. Along with each image frame I have a corresponding GPS timestamp and I need to include the timestamps along with the frames. I am new to the MXF format. Is MXFLib the right tool for the job? Does anyone have any pointers on how to get started with the code?

Much appreciated!
-Cory

 Profile  

Offline
Insider

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

Post Posted: Wed Sep 07, 2011 7:39 am 
Top  
MXFLib does not come with applications that will do exactly what you are wanting, but the library can be used to build such an app.

The most important factor would be the exact format required for the output file. What type of essence container will be used for the images; how will the timestamps be held?

Are you planning to code this yourself? Or are you hoping to find someone that can code it for you?

 Profile WWW  

Offline
Rookie

Joined: Tue Sep 06, 2011 8:09 pm
Posts: 3

Post Posted: Wed Sep 07, 2011 3:06 pm 
Top  
I am planning to do this myself. I have been able to leverage GStreamer to gather the images together into an mpeg2 video, but it does not seem to be the mpeg 2 elementary stream, as mxfwrap/simplewrap did not like them (couldn't identify the essence). GStreamer has its own mxf plugin, but I haven't been able to get it to write an mxf file that is readable by any software (other than GStreamer itself).
I do not have an exact specification on paper for the timestamp metadata, but I do have a couple of sample videos that are already setup properly (I think one came from Avid and the other from a Sony cam). I have been playing with mxfdump to try to understand the layout.
I was hoping it would be as straightforward as taking the mpeg2 video (and frame timestamps) and writing a 'custom' mxfwrap application to merge it all together into a final mxf.
I assume mxflib does not have the ability to mpeg encode the frames?

 Profile  

Offline
Insider

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

Post Posted: Thu Sep 08, 2011 3:23 pm 
Top  
MXFLib does not do video or audio encoding or decoding, it just handles the MXF reading and writing parts.

It may be that the timecode data is in GC System Items.

Is there a sample file that you can make available to me? If so, you could PM me the details.

 Profile WWW  

Offline
Rookie

Joined: Tue Sep 06, 2011 8:09 pm
Posts: 3

Post Posted: Thu Sep 08, 2011 8:22 pm 
Top  
Interesting . . . I have been reading forum posts regarding JPEG2000 in MXF. Would it make sense to simply convert my image frames into JPEG2000 and wrap them into a MXF? Would this bypass the need to encode into a video format?

(I have "The MXF Book" on order so hopefully my questions will start to look more intelligent in 3-5 days :) )

 Profile  

Offline
Insider

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

Post Posted: Mon Sep 12, 2011 12:49 pm 
Top  
That is certainly a valid thing to do; however the 'right' thing depends on what system will be receiving the files.

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

Jump to:  


Who is online

Users browsing this forum: No registered users and 76 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