Old 03-29-2009, 11:16 PM   #121
kerryg
Human being with feelings
 
Join Date: Mar 2007
Posts: 328
Default Eeeeenteresting!

OK, here are two OMF files generated by Ensoniq PARIS. The first is an export of one of the demo songs that originally came with the app. It's 245 meg and it fails with: "Can't create file (null) (object 66059)"

http://kerrygalloway.com/PARISRELATE...0no%20auto.omf

But the second is very interesting. It's a small test OMF I just made, and astonishingly it actually imports. There are a range of issues - files don't have proper names (this was actually always a problem with PARIS OMF export), neither do tracks (all are called "null), and the framerate and tempo are incorrect.

But I'm just a bit blown away right now at the fact that it opened at all [not, incidentally, because I doubt your work, but because this is an eight year old app whose OMF never functioned properly]:

http://kerrygalloway.com/PARISRELATED/OMF%20TEST.omf

The original audio file format used in the song is PAF, discussed in the PARIS thread here - http://forum.cockos.com/showthread.php?t=33102 Xenakios' libsndfile wrapper (found here - https://stash.reaper.fm/v/2421/libsndfilewrapper.zip ) may be needed for playback, I can't really tell what it's done with the audio (there's no file extension and no info as to file type).

Last edited by kerryg; 03-31-2009 at 10:20 AM.
kerryg is offline   Reply With Quote
Old 04-01-2009, 12:46 PM   #122
John Lundsten
Human being with feelings
 
John Lundsten's Avatar
 
Join Date: Apr 2008
Location: London
Posts: 230
Default

I'm getting a "reaper needs to close..." message
Reaper V 2.58 & using beta 5 omf.DLL

The OMF is an export from pro convert, which can open & understand file as can Neuendo 2
Attached Files
File Type: zip levPanMuteSolo_cvOMF.zip (8.3 KB, 456 views)
John Lundsten is offline   Reply With Quote
Old 04-01-2009, 03:54 PM   #123
airon
Human being with feelings
 
airon's Avatar
 
Join Date: Aug 2006
Location: City
Posts: 10,340
Default

V3 beta is required to use the OMF importer.

Find it in the Pre-Release Forum. I hope it works for you then.
__________________
Dialogue/FX Editor & Re-Recording Mixer
(Video)Using Latch Preview
"My ego comes pre-shrunk" - Randy Thom
airon is offline   Reply With Quote
Old 04-01-2009, 05:15 PM   #124
kerryg
Human being with feelings
 
Join Date: Mar 2007
Posts: 328
Default

Quote:
Originally Posted by airon View Post
V3 beta is required to use the OMF importer.

Find it in the Pre-Release Forum. I hope it works for you then.
I actually didn't know that; my PARIS import results were achieved by using it with 2.58.
kerryg is offline   Reply With Quote
Old 04-02-2009, 01:12 AM   #125
404NotFound
Human being with feelings
 
404NotFound's Avatar
 
Join Date: Oct 2007
Location: Berlin, GER
Posts: 199
Default

Quote:
Originally Posted by airon View Post
V3 beta is required to use the OMF importer.

Find it in the Pre-Release Forum. I hope it works for you then.
Actually, no. I don't use anything V3 specific.
404NotFound is offline   Reply With Quote
Old 04-02-2009, 02:13 AM   #126
airon
Human being with feelings
 
airon's Avatar
 
Join Date: Aug 2006
Location: City
Posts: 10,340
Default

Sorry lads. I'd misunderstood something about new API stuff a while back. My mistake.

"Nothing to see, move on..."
__________________
Dialogue/FX Editor & Re-Recording Mixer
(Video)Using Latch Preview
"My ego comes pre-shrunk" - Randy Thom
airon is offline   Reply With Quote
Old 04-06-2009, 02:59 PM   #127
Bastiaan M
Human being with feelings
 
Bastiaan M's Avatar
 
Join Date: Dec 2006
Posts: 100
Default

I'm having problems with the OMF import. I created an OMF in AVID and i can't import it. It gives me a "Reaper stopped working" message. The OMF itself imports without problems back into AVID. The OMF itself is about 38 MB big, so thats way less the the 200MB's that will give problems. The OMF has some EQ's applied in AVID wich show up in AVID. I uninstalled Reaper and reinstalled it and i also installed the omf.dll again.

Any ideas?

edit: running Vista home premium here on a Toshiba A200 1P8 core 2 duo laptop
edit: you can download the omf HERE

Last edited by Bastiaan M; 04-06-2009 at 03:18 PM.
Bastiaan M is offline   Reply With Quote
Old 04-07-2009, 02:55 PM   #128
John Lundsten
Human being with feelings
 
John Lundsten's Avatar
 
Join Date: Apr 2008
Location: London
Posts: 230
Default

Quote:
Originally Posted by John Lundsten View Post
I'm getting a "reaper needs to close..." message
Reaper V 2.58 & using beta 5 omf.DLL

The OMF is an export from pro convert, which can open & understand file as can Neuendo 2
404 have you had any results running the very small OMF I included with this message?
John Lundsten is offline   Reply With Quote
Old 04-08-2009, 12:03 AM   #129
Bastiaan M
Human being with feelings
 
Bastiaan M's Avatar
 
Join Date: Dec 2006
Posts: 100
Default

Quote:
Originally Posted by John Lundsten View Post
404 have you had any results running the very small OMF I included with this message?
This sounds like the same problem i'm having.

Just thought of something: my OMF is at 25FPS. Maybe that explains something....
Bastiaan M is offline   Reply With Quote
Old 05-05-2009, 03:59 AM   #130
antiClick
Human being with feelings
 
antiClick's Avatar
 
Join Date: Mar 2007
Location: Mediterrenean Sea
Posts: 914
Default

Hello!
Thanks so much for your efforts on including OMF support in Reaper. This is a mandatory feature when doing audio for video.

I tested your extension by importing a FINAL CUT omf file, but failed after a minute of processing. I'd like to provide a log for the error, but didn't find any. The error seems related to some audio file names having characters with accents (?).

If you have the time for testing, I just uploaded the final cut OMF file here:
ftp://public@canreco.homeftp.net/PUBLIC/OMF/



Thanks a million for your efforts

Last edited by antiClick; 05-05-2009 at 04:05 AM.
antiClick is offline   Reply With Quote
Old 05-06-2009, 01:12 PM   #131
Andrew
Human being with feelings
 
Join Date: May 2009
Posts: 1
Default

I'm trying to get some Sonar projects into Reaper.
I've played with this a bit today. here's my experience, exporting from Sonar 8 all audio no MIDI...

.omf opened in Reaper 2.58 under windows 2000 (I have old Aarks)
Reaper 2.58 crashed while attempting to open under Vista
Reaper beta 3 opened the .omf in Vista
Both set-ups have the following issues:
in Sonar many of the clips have the same name, they opened with the same audio, but on different tracks.
(I'm assuming this is a problem with the sonar export and naming convention?)
I gave each clip a unique name, exported again, and opened with 2.58 under win2000
the clips that are anchored the beginning of the project were fine and lined up.
Other clips were in relation to each other on their tracks, but did not line up with the rest of the project.

Hope this info helps!
Yours,
A-
Andrew is offline   Reply With Quote
Old 06-07-2009, 05:29 AM   #132
unmateria
Human being with feelings
 
Join Date: Jun 2009
Posts: 2
Default

for me worked great after some tries... Im using it for converting my last cubase projects into reaper... I managed to get it working even with big projects, with this setup

http://www.losgen.com/x.jpg

(im sorry, I dont know how to insert images here)

thanks for your work man! solved me the last thing that was hailing me in cubase If you need some sort of beta testing you can add me
unmateria is offline   Reply With Quote
Old 06-28-2009, 05:56 AM   #133
mim
Human being with feelings
 
Join Date: Mar 2009
Posts: 346
Default

Yeah it works with Nuendo 3/4, too ! quite long but it's ok ...

The only thing I miss is Volume and Pan Automations, do you think it is possible to get this working ?

Good work 404

mim
mim is offline   Reply With Quote
Old 09-03-2009, 06:24 AM   #134
404NotFound
Human being with feelings
 
404NotFound's Avatar
 
Join Date: Oct 2007
Location: Berlin, GER
Posts: 199
Default

OK, since I haven't got the time for further OMF development I've decided to release the plugin's source code. Feel free to improve.

Some release notes:
- You may have to modify some project settings (e.g. paths) in order to compile it on your machine.
- The code is not quite elegant, includes a few hacks for different OMF dialects and lacks comments. Sorry for that.
- Theoretically, it should be possible to compile it under OSX without any modification.
- The package includes two third-party components:
pstdint, a portable stdint.h replacement by Paul Hsieh (BSD license)
SQLite, a small and portable database system (public domain)

A big Thank You goes out to SWS who helped me figuring out some licensing issues.

Grab it here: http://404notfound.bplaced.net/reaper/
404NotFound is offline   Reply With Quote
Old 09-29-2009, 08:46 PM   #135
boatclub
Human being with feelings
 
Join Date: Mar 2009
Location: sum
Posts: 158
Default

hope to see somebody grab hold of this soon and take it further! OMF support is exactly what i've been looking for

many thanks 404.

louis.
boatclub is offline   Reply With Quote
Old 09-29-2009, 11:19 PM   #136
Runaway
Human being with feelings
 
Runaway's Avatar
 
Join Date: Jun 2009
Location: Sydney
Posts: 2,416
Default

Quote:
Originally Posted by boatclub View Post
hope to see somebody grab hold of this soon and take it further! OMF support is exactly what i've been looking for

many thanks 404.

louis.
We've been looking at OMF2 support in AATranslator (off & on) for some time now (in between working on PT, CEP, Vegas & more AA functionality).

As we are about to do another release which incorporates more AA, CEP & Presonus support we plan to start putting some more resources into OMF2.

While this won't be a Reaper plugin hopefully (if we can pull it off) it will be of some use.
__________________
AATranslator
Runaway is offline   Reply With Quote
Old 10-08-2009, 03:38 AM   #137
Runaway
Human being with feelings
 
Runaway's Avatar
 
Join Date: Jun 2009
Location: Sydney
Posts: 2,416
Default

Started looking at OMF2 again - who makes up this stuff?
Getting there slowly - all I can say is hats off to 404 for his perserverance with this stuff!
__________________
AATranslator
Runaway is offline   Reply With Quote
Old 11-05-2009, 08:16 PM   #138
sergiovillard
Human being with feelings
 
Join Date: Jun 2009
Posts: 10
Default

Ask kindly that do not stop the development of this plugin, because it is very important to the community, back to your time and your way but please continue.
sergiovillard is offline   Reply With Quote
Old 11-05-2009, 08:25 PM   #139
Runaway
Human being with feelings
 
Runaway's Avatar
 
Join Date: Jun 2009
Location: Sydney
Posts: 2,416
Default

Thanks mate, encouragement like this always helps :-)

OMF2 support not far off now ;-)
__________________
AATranslator
Runaway is offline   Reply With Quote
Old 11-22-2009, 06:24 AM   #140
Runaway
Human being with feelings
 
Runaway's Avatar
 
Join Date: Jun 2009
Location: Sydney
Posts: 2,416
Default

Quote:
Originally Posted by Runaway View Post
OMF2 support not far off now ;-)
Famous last words.

For an 'industry standard' fomat there seems to be a lot of 'standards' out there when it comes to omf.

So far our success rate on converting omfs from Sonar, FCP, ProConvert, PT, Cubase/Nuendo and a few others is very high.

Still some challenges with FCP pan envelopes, track volume & track pan.

Does anyone know for sure that Track Volume & Track Pan values are stored in the OMF?
__________________
AATranslator
Runaway is offline   Reply With Quote
Old 12-02-2009, 07:27 PM   #141
Runaway
Human being with feelings
 
Runaway's Avatar
 
Join Date: Jun 2009
Location: Sydney
Posts: 2,416
Default

I guess smarter people than me have been bogged down with this crud called omf but....
Track & Pan values don't appear to be stored in the omf.

Avid (bless their little sox) either have their own 'secret' spec which differs from everyone else (who would have thought) or just want to be different.

We appear to have a big chunk of the major players' omfs working and have now cracked most of Avid's omfs. However I need a few (small) Avid (Media Composer?) created OMFs which contain volume &/or pan envelopes.
I've noticed that even between Avid omfs there seems to be a difference when it comes to clip gain but i need to explore this a bit further.

So if someone would like to donate a couple of small Avid created omfs so i can sort out these envelopes I would appreciate it.
__________________
AATranslator
Runaway is offline   Reply With Quote
Old 12-04-2009, 03:36 PM   #142
Bastiaan M
Human being with feelings
 
Bastiaan M's Avatar
 
Join Date: Dec 2006
Posts: 100
Default

Hi Runaway.

If you look higher up you'll see a few omf's i created in an avid-system. I think they contain pan and level information.

EDIT: http://forum.cockos.com/showpost.php...6&postcount=14
(looked my post up for you)

If i look at your efforts from a video-view i wouldnt invest too much effort into translating panning and levels into Reaper. Usually you make a temp mix in the Avid so that you can hear what has to go there. The whole exercise of moving that audio into Reaper is to be able to work on the audio in Reaper. The audio-guys at work usually remove any levelling and panning i apply because they want to do it by themselves with the tools at their disposal.

So if you can wing it, great, very great in fact, but if you cannot, your tool is still very very usefull.

Last edited by Bastiaan M; 12-04-2009 at 03:50 PM.
Bastiaan M is offline   Reply With Quote
Old 12-04-2009, 04:30 PM   #143
John Lundsten
Human being with feelings
 
John Lundsten's Avatar
 
Join Date: Apr 2008
Location: London
Posts: 230
Default

Quote:
Originally Posted by Bastiaan M View Post
Hi Runaway.

If you look higher up you'll see a few omf's i created in an avid-system. I think they contain pan and level information.

EDIT: http://forum.cockos.com/showpost.php...6&postcount=14
(looked my post up for you)
Thanks Bastiaan.
We have been using your "omf2 test.omf" already, MC ver3.1.1, very useful ta.
AFAICT it has no clip gain or Pan/level info. It's got fades tho. Are there any others of yours I have missed (OMF 2 only btw)
John L
John Lundsten is offline   Reply With Quote
Old 12-07-2009, 11:18 AM   #144
Peevy
Human being with feelings
 
Peevy's Avatar
 
Join Date: May 2008
Location: Ireland
Posts: 478
Default

Works great so far for my Cubase sx3 projects.
The process of transferring tracks from Cubase to Reaper was so tedious before. Now I can Have my Cubase tracks transferred to Reaper in a few minutes. GREAT!!
__________________
System: Mobo-Asus Prime Z370P II, CPU-i7 8700K, RAM-32gb DDR4 3000mhz, GPU AMD RX580 OS: Manjaro Linux
Soundcard:
Komplete Audio 6 Monitors: Adam A5X
Peevy is offline   Reply With Quote
Old 12-07-2009, 06:41 PM   #145
Runaway
Human being with feelings
 
Runaway's Avatar
 
Join Date: Jun 2009
Location: Sydney
Posts: 2,416
Default

I guess because I like pain I decided to 'have a go' at the Paris omf cited earlier in this thread. Well I think I have this converting - all the output looks good but will confirm when i can get to a daw to test.

Just downloading the other one (245mb) and will let you know how that one goes.

So it looks like Paris omfs may be supported in the next AATranslator release due in a few days time.

BTW It looks like Paris omfs do not contain frame rates or if they do they are hidden under some obscure entry and not the 'standard' "TCCP" either way we have a work around for it by a user selectable rate.

Just converted that 'crop circles' omf only issue with both is associating each clip with the correct audio - I will try and get that sorted tonight.
__________________
AATranslator

Last edited by Runaway; 12-07-2009 at 07:21 PM.
Runaway is offline   Reply With Quote
Old 02-09-2010, 12:14 PM   #146
dawhead
Human being with feelings
 
Join Date: Oct 2009
Posts: 25
Default

a quick note to say that we are now using 404NotFound's code in Ardour for OMF import. I plan to talk with him about various issues along the way, since I believe we can make it much faster than it currently is. Not that important, though.
dawhead is offline   Reply With Quote
Old 02-09-2010, 01:59 PM   #147
kerryg
Human being with feelings
 
Join Date: Mar 2007
Posts: 328
Default

Quote:
Originally Posted by Runaway View Post
I guess because I like pain I decided to 'have a go' at the Paris omf cited earlier in this thread. Well I think I have this converting - all the output looks good but will confirm when i can get to a daw to test.

Just downloading the other one (245mb) and will let you know how that one goes.

So it looks like Paris omfs may be supported in the next AATranslator release due in a few days time.

BTW It looks like Paris omfs do not contain frame rates or if they do they are hidden under some obscure entry and not the 'standard' "TCCP" either way we have a work around for it by a user selectable rate.

Just converted that 'crop circles' omf only issue with both is associating each clip with the correct audio - I will try and get that sorted tonight.
The only excuse I can give for not acknowledging this very important piece of info was that I was on the road when you posted it and it must have got lost in the email shuffle. This is *extremely* cool news for us, thanks VERY much! We'll look forward with great interest to hearing anything else you have to tell us. Is there any way we can be of some sort of help in this process?

I can't help but feel that ID, who were no slouches as coders, must have figured it was pretty much working when they announced it and all that was needed was final (and possibly trivial) tweaking to nail it - and then events overtook the project and it ended on the 3.0 release instead. The hypothesis I want to test is that rather than PARIS OMFs just accidentally omitting all that info, that it's actually in those OMFs *somewhere* but not properly parsed, and it might just be a matter of locating it and allowing for it.

Would it be useful for me to open and export the same PARIS project as an OMF several times, with trivial changes between them - say just changing track names before re-export - to let us look at what changes occur between those resulting OMFs?
kerryg is offline   Reply With Quote
Old 02-09-2010, 02:55 PM   #148
Runaway
Human being with feelings
 
Runaway's Avatar
 
Join Date: Jun 2009
Location: Sydney
Posts: 2,416
Default

Quote:
Originally Posted by dawhead View Post
a quick note to say that we are now using 404NotFound's code in Ardour for OMF import. I plan to talk with him about various issues along the way, since I believe we can make it much faster than it currently is. Not that important, though.
That is excellent news for Ardour users. I have had Ardour on my list of daws for sometime but have been bogged down with other more pressing issues.
404NotFound has done a lot of good work there and as you will/have found there are many ways to do similar things.

Keep up the good work.

Avid knew that one day there would be those that would finally crack the inner workings of the omf thats why the first moved to their own 'secret mens business' version of omf and then finally to AAF :-)

We have made big improvements in our omf reading along with adding more formats and improvements across all daw formats for the next release.

As far as future omf support goes we have enlisted the support of RonN from over in the Audition camp and with his help have finally got some preliminary writing of omfs. Still early days but with luck that functionality will make the following release.
__________________
AATranslator
Runaway is offline   Reply With Quote
Old 02-09-2010, 03:04 PM   #149
Runaway
Human being with feelings
 
Runaway's Avatar
 
Join Date: Jun 2009
Location: Sydney
Posts: 2,416
Default

Quote:
Originally Posted by kerryg View Post
The hypothesis I want to test is that rather than PARIS OMFs just accidentally omitting all that info, that it's actually in those OMFs *somewhere* but not properly parsed, and it might just be a matter of locating it and allowing for it.

Would it be useful for me to open and export the same PARIS project as an OMF several times, with trivial changes between them - say just changing track names before re-export - to let us look at what changes occur between those resulting OMFs?
What you are saying may well be the case. I would be more than happy take what you can give me and see what we can sort out.

Might I suggest also (if the option allows) both embedded and reference omfs.
If you could also give me a summary of what I should be seeing with any values in samples that would be excellent.

If we can get this organised soon hopefully any Paris specific changes can make our next release.
__________________
AATranslator
Runaway is offline   Reply With Quote
Old 02-14-2010, 06:52 PM   #150
Omfoo
Human being with feelings
 
Join Date: Feb 2010
Posts: 25
Default

Quote:
Originally Posted by Runaway View Post

It looks like Paris omfs do not contain frame rates or if they do they are hidden under some obscure entry and not the 'standard' "TCCP" either way we have a work around for it by a user selectable rate.
Hi. I was just googling around and discovered this thread.

Fyi the TCCP property is optional. That makes sense to me because there is no reason to demand that an audio-only project make any commitment to any timecode format if the project doesn’t need or use timecode. After all, why force the project to decide?

In the absence of the TCCP property you can get a frame rate by walking through each object in the file and testing for the presence of a property (any property) using an “omfi:ExactEditRate” data type (rev 1) or an “omfi:Rational” data type (rev 2). The structure is the same for both types:

typedef struct _RATIONAL
{
UINT32 Numerator;
UINT32 Denominator;
} RATIONAL, *PRATIONAL;

Divide the numerator by the denominator. The quotient will either look like an audio sample rate (48000, 44100, etc.) or a video frame rate (30, 29.97, 25, 24, etc.). If it’s a video frame rate then there you have it (there can be only one video frame rate in an OMF).

Don’t forget to byteswap the UINT32s when necessary, and beware of Denominators set to zero. If the Denominator is zero then don’t divide anything; just use the Numerator.

Quote:
Originally Posted by Runaway View Post

Does anyone know for sure that Track Volume & Track Pan values are stored in the OMF?
Yes – in rev2. There is an Effect Definition Class ‘EDEF’ and an Effect Invocation Class ‘EFFE’. The EDEF will have an ‘EffectId’ property with a data type called ‘omfi:UniqueName’.

The unique names you are looking for are:

omfi:effect:MonoAudioGain
omfi:effect:MonoAudioPan
omfi:effect:StereoAudioGain

Afaik there is no stereo pan.

I could write a 100-page dissertation on this stuff but I’m stopping here.

Good luck.

Last edited by Omfoo; 02-14-2010 at 07:03 PM.
Omfoo is offline   Reply With Quote
Old 02-14-2010, 07:48 PM   #151
Runaway
Human being with feelings
 
Runaway's Avatar
 
Join Date: Jun 2009
Location: Sydney
Posts: 2,416
Default

Thanks for that - its good to hear from someone who knows something about this stuff :-)

Understood about the TCCP being optional as it appears that almost everything is optional in some daw's version of omf :-)

As you know the framerate is required to workout the session offset (omfvalue / samplerate * framerate) and depending upon if it comes from FCP or others there may be other numbers that come into play eg divide by 1000 etc.

The frame rate is no deal breaker for Paris omfs - what is a problem is how they store the reference to the source media for each clip - it seems to be very different to anything else i have come across - or it could just be another 'ID Ten T error' :-)

As far as omfi:effect:MonoAudioGain, omfi:effect:MonoAudioPan & omfi:effect:StereoAudioGain I am aware of those and (without refering to the code) related to clip values rather Track values.

I would eagerly read your 100 page dissertation :-)
__________________
AATranslator
Runaway is offline   Reply With Quote
Old 02-15-2010, 12:47 AM   #152
Runaway
Human being with feelings
 
Runaway's Avatar
 
Join Date: Jun 2009
Location: Sydney
Posts: 2,416
Default

Quote:
Originally Posted by Omfoo View Post
In the absence of the TCCP property you can get a frame rate by walking through each object in the file and testing for the presence of a property (any property) using an “omfi:ExactEditRate” data type (rev 1) or an “omfi:Rational” data type (rev 2). The structure is the same for both types:

typedef struct _RATIONAL
{
UINT32 Numerator;
UINT32 Denominator;
} RATIONAL, *PRATIONAL;

Divide the numerator by the denominator. The quotient will either look like an audio sample rate (48000, 44100, etc.) or a video frame rate (30, 29.97, 25, 24, etc.). If it’s a video frame rate then there you have it (there can be only one video frame rate in an OMF).
I guess the theory is fine but no - Paris omfs do not have a frame rate either in the optional TCCP field nor in any “omfi:Rational” data type nor do they have any property which is “omfi:ExactEditRate”.

Not all omfs are created equal - least of all Paris ones ;-)

Well at least it confirms that I'm not going crazy - well at least not as crazy as I thought :-)
__________________
AATranslator
Runaway is offline   Reply With Quote
Old 02-15-2010, 03:49 AM   #153
Omfoo
Human being with feelings
 
Join Date: Feb 2010
Posts: 25
Default

Quote:
Originally Posted by Runaway View Post
I guess the theory is fine but no - Paris omfs do not have a frame rate either in the optional TCCP field nor in any “omfi:Rational” data type nor do they have any property which is “omfi:ExactEditRate”.

Not all omfs are created equal - least of all Paris ones ;-)
I don’t get it. I don’t understand why you expect an audio-only OMF file to contain information that has anything to do with frame rates. That is the mistake in your thinking - I guarantee it – and please don’t take that as an insult because it isn’t.

OMF files are not required to say anything about frame rates or timecode. Time offsets are expressed in abstract time slices called Edit Units. An Edit Unit is simply one second divided by any number that can be represented with the RATIONAL structure that I described earlier.

It’s conceivable for example, that an OMF can contain track offsets that are expressed in milliseconds. In that case the Numerator would be 1000 and the Denominator would be 1. But in my experience Edit Units always correspond to video frame rates or audio sample rates - even though technically they are not required to do so.

Now consider this: You will certainly encounter OMFs that do contain video, but do not contain TCCPs. And so for those files the technique I described will help you find a frame rate. It’s a heuristic method. If you look for TCCPs and scan for RATIONALS then you will certainly find a frame rate if a frame rate is available.

Do you see what I mean?

Last edited by Omfoo; 02-15-2010 at 04:02 AM.
Omfoo is offline   Reply With Quote
Old 02-15-2010, 03:53 AM   #154
Omfoo
Human being with feelings
 
Join Date: Feb 2010
Posts: 25
Default

Quote:
Originally Posted by Runaway View Post

The frame rate is no deal breaker for Paris omfs - what is a problem is how they store the reference to the source media for each clip - it seems to be very different to anything else i have come across
If the wave file is embedded in the OMF then you should find it in a ‘WAVE’ object. The WAVE object includes a property named OMFI:WAVE:AudioData with a data type named omfiataValue. The offset and length values from the TOC entry correspond to the exact locations (byte offset from the beginning of the file, and byte length) within the OMF. It contains the complete wave file in its entirety beginning with ‘RIFF’.

Last edited by Omfoo; 02-15-2010 at 04:00 AM.
Omfoo is offline   Reply With Quote
Old 02-15-2010, 03:57 AM   #155
Omfoo
Human being with feelings
 
Join Date: Feb 2010
Posts: 25
Default

Quote:
Originally Posted by Omfoo View Post
The WAVE object includes a property named OMFI:WAVE:AudioData with a data type named omfiataValue.
Oh how cute.

How can I type a colon followed by an upper case D without getting the stupid smiley?
Omfoo is offline   Reply With Quote
Old 02-15-2010, 04:07 AM   #156
Runaway
Human being with feelings
 
Runaway's Avatar
 
Join Date: Jun 2009
Location: Sydney
Posts: 2,416
Default

Trust me I take no insult :-)
Consider me a sponge happy to soak up any insight you have to offer.

Unfortunately I have had to work most of this stuff out without any doco and a lot of hack work & trial and error. My limitation is based on the omfs I have encountered. As you can see this is essentially working http://forum.cockos.com/showthread.php?t=51875

If there is a specification and no doubt there is one then almost every daw has a different view of that spec - Avid's omfs being the most different to the rest.

But no I'm not hung up on the fps - I extract what I find and use it as I can.

My hang up with Paris OMFs is that I cannot for the life of me associate the clip with the source media. The SourceID for each clip seems to point to the last listed media file. Now maybe its something simple much like myself or they are doing something a little different to the rest but any suggestions would be gratefully received.

I've wasted too much time already on Paris omfs and while they are a very small section of the omf community they are active on this forum and I would like to help them if I could.

Thanks in advance
__________________
AATranslator
Runaway is offline   Reply With Quote
Old 02-15-2010, 04:12 AM   #157
Omfoo
Human being with feelings
 
Join Date: Feb 2010
Posts: 25
Default

Quote:
Originally Posted by Runaway View Post

a specification
In case you don’t know this - OMF files are based on a specification called Bento.

Google "BentoSpec1_0d5.pdf".

http://www.google.com/search?hl=en&s...&aq=f&aqi=&oq=
Omfoo is offline   Reply With Quote
Old 02-15-2010, 04:16 AM   #158
Omfoo
Human being with feelings
 
Join Date: Feb 2010
Posts: 25
Default

Quote:
Originally Posted by Runaway View Post

a specification ...
Also, once upon a time (perhaps some time around November 3, 2005) someone over at the AAF web site posted some of Avid’s OMF headers.

At that time the AAF site read as follows:
Quote:
OMF Developer Libraries

The AAF/OMF converter distributed as part of the AAF SDK source code (Utilities/AafOmf) requires OMF libraries which are no longer distributed with the AAF SDK. Instead, the OMF developers libraries, and header files required to develop applications, may be downloaded from here. The following zip archive contains OMF libraries for the Win32 (using MSVC 6 compiler) or Irix 6.5.x (using MIPSPro 7.3.1. compiler) platforms. To build the AAF/OMF converter, download and unpack the following zip file, and place the resulting OMF directory into the top-level of the AAF SDK source tree (i.e., as a peer of AAFWinSDK or AAFMipsIrixSDK). Then build the AafOmf project as required.
They were here:

http://www.aafassociation.org/download/dev/OMF.zip

They are gone now but you might be able to find them with the Internet Wayback Machine.

http://www.archive.org/web/web.php

Last edited by Omfoo; 02-15-2010 at 04:31 AM.
Omfoo is offline   Reply With Quote
Old 02-15-2010, 04:16 AM   #159
Runaway
Human being with feelings
 
Runaway's Avatar
 
Join Date: Jun 2009
Location: Sydney
Posts: 2,416
Default

Ahh yes I remember picking that up and the Hebrew-Portuguese dictionary and wondering which would be the more interesting to read.

I think I picked the wrong one ;-)

Thanks
__________________
AATranslator
Runaway is offline   Reply With Quote
Old 02-15-2010, 04:42 AM   #160
Omfoo
Human being with feelings
 
Join Date: Feb 2010
Posts: 25
Default

Quote:
Originally Posted by Runaway View Post

My hang up with Paris OMFs is that I cannot for the life of me associate the clip with the source media.
In the file named “OMF Test.omf” look at the object with the ID of 0x0001010A.

Code:
Object:	0x0001010A
Class:	'WAVE'

Prop:	OMFI:OOBJ:ObjClass
Type:	omfi:ClassID
Format:	Immediate (length = 4)
Value:	'WAVE'

Prop:	OMFI:MDAT:MobID
Type:	omfi:UID
Format:	4-byte offset, 4-byte length
Offset:	0x00000424
Length:	0x0000000C
Value:	0xFFFFFFFF, 0x5467B280, 0x0013A584

Prop:	OMFI:WAVE:AudioData
Type:	omfi:DataValue
Format:	4-byte offset, 4-byte length
Offset:	0x0000043E
Length:	0x0119002C
The wave file you are looking for begins 0x0000043E bytes into the OMF and is 0x0119002C bytes long.
Omfoo is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 03:21 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.