Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


Looking for a solution that I'm not sure exists

Recommended Posts

I mean OP now has 2 Gb of files (originals) AND (almost) 2 Gb of files (stripped) = total (almost) 4 Gb.


What I got from the original request was *something* that allowed to have AT THE SAME TIME available the "original" and the "stripped" versions of all files BUT saving the space.

I agree with your understanding that he want's both versions available at the same time, but I think you have it slightly backwards. I the think the originals ARE the stripped versions. The ones he adds have metadata ADDED to them.

I want to add metadata to these but I want to keep the original unmodified files as well.

Not that that makes any difference to your conclusions. I don't think that is currently possible to do, though I can see it would be handy. As of now, an external file with the added info, or "duplicate" copies as he is doing now, seems to be his only options.

Cheers and Regards

Share this post

Link to post
Share on other sites

Jaclaz is correct on all accounts. Another solution I thought of is to have some way to point to two files as if they were one file

  • file1 -> partA + partC
  • file2 -> partB + partC

BTW, working on windows would be a perk but is not required. I can install the solution on a linux box or VM and share the folder(s) with RW permissions.

Share this post

Link to post
Share on other sites

The original FLAC files without metadata already exist, so it's just a matter of generating files or streams that also contain the metadata without duplicating the original data.

IIRC, VideoLan and VirtualDub both have a video/audio server mode that can create streams on-the-fly from separate audio and metadata files. And Quicktime / MP4 file formats support metadata physically present in the file along with audio tracks that are referenced from another file (the original FLAC file in our case here). Perhaps there are also other ASX or playlist formats that would suffice.

Share this post

Link to post
Share on other sites

The posted FUSE filesystem drivers approach actually does provide the solution, you have an "original" series of .flac files that are actually available ALSO AND AT THE SAME TIME as .mp3.

The shortcoming of this approach is that decoding/re-encoding the file on-the-fly (and upon request) will need some (a lot of) computer power.

Think (very simplified) to gzip.

The gzip compression format is "pipable", so you can well keep your files gzipped, and have them uncompressed on the fly transparently, but this saves space at the cost of CPU cycles.

It is possible in theory to make a .flac FUSE filesystem capable of stripping on the fly the metadata, which should be fairly simple and not hogging the CPU, but I don't think there is one already made:


Another couple examples:


https://www.uitwisselplatform.nl/projects/yacufs <- this one is seemingly dead

http://cuemounter.codeplex.com/ <- Windows

About the:

  • file1 -> partA + partC
  • file2 -> partB + partC

IF the metadata is contained exclusively in the first part (or - if you prefer - part C is NOT metadata) it is also possible, though again I don't think something already exists.

Just for the record, here is that concept applied to the whole filesystem (nothing you can actually use, just a "demo" or PoC), meet Overlapping FileSystem :angel :


(idea was never actually finalized as there was little interest and it 's use would have been however useful only for very "narrow" scopes)


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.