Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible to use node-fat32 to see inside an .AAF file? #1

Open
communque opened this issue May 30, 2020 · 2 comments
Open

Possible to use node-fat32 to see inside an .AAF file? #1

communque opened this issue May 30, 2020 · 2 comments
Labels

Comments

@communque
Copy link

An AAF File (Advanced Authoring Format) is a media and data interchange file format for film and video post production (More here)

The reason it might be relevant here is that it's a file format that 'is basically a FAT32 filesystem in a file and AAF uses “directories” as classes and “files” to store property metadata.' (Source)

Not totally familiar with the technical particulars of FAT32 but I wonder the possibility of using node-fat32 to look at an .aaf file similar to how you might work with, for instance /dev/disk2?

@jhermsmeier
Copy link
Owner

jhermsmeier commented Jun 4, 2020

Hi @communque, sounds like it should be possible.
I've not had much time the past weeks, and prob. won't have much time in the coming weeks either, so I'm afraid the only thing I can offer is advice.

So, this module is somewhat far from a working FAT32/16/12 driver – I've been planning to rewrite a bunch of this, with an API equivalent to node-exfat. That would allow you to easily implement your own "device" to read the FAT fs inside the AAF, if I understand the file format correctly.

But since this module is in a rather desolate state atm, I wouldn't recommend trying it with this, unless you want to invest a bit of time into it (PRs are welcome!).

There should be more functional FAT32 drivers on npm, maybe natevw/fatfs could do the trick (it also lets you define your own block device driver as far as I know).

@communque
Copy link
Author

Well your advice is already pretty enlightening. Looking at natvw/fatfs now. Hopefully it'll start making sense. Thank you for the followup. Looking forward to seeing what you come up with.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants