Hello,
Does enyone has a code example of how to create or use OMF file of version 1.0?
Current SDK have an example of OMF-converter with version 2.0, but Avid use the version 1.0 for storing video data.
Ruslan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Firstly Ruslan, unless you're using a very old Avid, most Avids can store (and retrieve) video data in either OMFI-1 or OMFI-2 format. But in any case, there are very good reasons for NOT trying to convert AAF files either to or from OMFI-1.
AAF and OMFI-2 use the same slot numbering scheme, in which each mob slot has a unique number. This enables an AAF mob to be conveniently mapped to an equivalent OMFI-2 mob. This won't be the case for OMFI-1 though. OMFI-1 uses a scheme where each "type" of slot starts at number 1. So for example, the first timecode track in a given mob is usually track 1. However, the first video track is also track 1 - and the first audio track is also track 1. There are further problems caused by the fact that the slot numbers in an OMFI-1 mob can have gaps in them (i.e. they don't necessarily have to be contiguous). Furthermore, OMFI-1 doesn't support nested scopes, which are widely used in both AAF and OMFI-2.
I'm not saying it's impossible to do what you want but I think you'll find it extremely difficult.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello John,
I need to use OMF 1.0 for the reason that I have to do XML-AAF converter with a links to external media. We've made a part of work and now export in Avid files with links to sound media. But there is problem with video, because it need an external OMF-file with video essence. It do not accept files with OMF-2. So I think the only way is to give him an OMF-1 file. That's why I need OMF-1. Are there differencies in functions which been used in both OMFs? And do you have an example of code? Any help is very much appreciated.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I didn't quite understand. Is your target file an AAF file which you will then import into Avid or an OMF file which will then import into Avid?
Also, have you considered using raw video data with the vision saved in raw JPEG files? I assume that's what you've done for the audio (raw WAV files or raw AIFF files?) - so it should also work for the video.
John
P.S. Please explain a bit more, if I misunderstood you.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
My target file which I am going to export into Avid is AAF. But we want to do it with links to files, which are located in Avid media directory (by coping them into). We've just made it with raw wav files, and video assumed to locate in OMF-1 file. Video part is developing by another member of our team. He said that he need an OMF-1 file. But I'll tell him about raw JPEG-file and we will try to use them. Thank you for advise!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
Does enyone has a code example of how to create or use OMF file of version 1.0?
Current SDK have an example of OMF-converter with version 2.0, but Avid use the version 1.0 for storing video data.
Ruslan
Firstly Ruslan, unless you're using a very old Avid, most Avids can store (and retrieve) video data in either OMFI-1 or OMFI-2 format. But in any case, there are very good reasons for NOT trying to convert AAF files either to or from OMFI-1.
AAF and OMFI-2 use the same slot numbering scheme, in which each mob slot has a unique number. This enables an AAF mob to be conveniently mapped to an equivalent OMFI-2 mob. This won't be the case for OMFI-1 though. OMFI-1 uses a scheme where each "type" of slot starts at number 1. So for example, the first timecode track in a given mob is usually track 1. However, the first video track is also track 1 - and the first audio track is also track 1. There are further problems caused by the fact that the slot numbers in an OMFI-1 mob can have gaps in them (i.e. they don't necessarily have to be contiguous). Furthermore, OMFI-1 doesn't support nested scopes, which are widely used in both AAF and OMFI-2.
I'm not saying it's impossible to do what you want but I think you'll find it extremely difficult.
Hello John,
I need to use OMF 1.0 for the reason that I have to do XML-AAF converter with a links to external media. We've made a part of work and now export in Avid files with links to sound media. But there is problem with video, because it need an external OMF-file with video essence. It do not accept files with OMF-2. So I think the only way is to give him an OMF-1 file. That's why I need OMF-1. Are there differencies in functions which been used in both OMFs? And do you have an example of code? Any help is very much appreciated.
Hi Ruslan,
I didn't quite understand. Is your target file an AAF file which you will then import into Avid or an OMF file which will then import into Avid?
Also, have you considered using raw video data with the vision saved in raw JPEG files? I assume that's what you've done for the audio (raw WAV files or raw AIFF files?) - so it should also work for the video.
John
P.S. Please explain a bit more, if I misunderstood you.
My target file which I am going to export into Avid is AAF. But we want to do it with links to files, which are located in Avid media directory (by coping them into). We've just made it with raw wav files, and video assumed to locate in OMF-1 file. Video part is developing by another member of our team. He said that he need an OMF-1 file. But I'll tell him about raw JPEG-file and we will try to use them. Thank you for advise!