MediaArea / RAWcooked

Encodes RAW audio-visual data into the Matroska container (MKV), using the video codec FFV1 for the image and audio codec FLAC for the sound.
https://mediaarea.net/RAWcooked
BSD 2-Clause "Simplified" License
42 stars 11 forks source link

File system metadata - dates etc #141

Open kieranjol opened 6 years ago

kieranjol commented 6 years ago

The goal of RAWCooked is bit-by-bit reversible compression, and file system metadata is not stored in the bits. I am wondering if it would be possible to restore the file system dates when decoding from FFV1 back to DPX? This isn't a huge deal really, and I think on our end, we could accomplish this with a script if needed.

JeromeMartinez commented 6 years ago

I am wondering if it would be possible to restore the file system dates

This is possible but I don't have the goal to include that in the first official release, I was understanding that this is not important (and actually such date/time does not mean a lot of things, e.g. it could be just the date/time of the last FTP transfer). Same for owner/group ID/name.

we could accomplish this with a script if needed.

from where? issue here is to store the metadata per file.

kieranjol commented 6 years ago

That all sounds good, and I agree on the unreliability of those file system dates. However we try to retain them when possible. As for the script to restore dates, the idea would be to store the file system dates for the original DPX sequence using DFXML, and then writing a script to restore those values to a reconstructed FFv1->DPX sequence.

But... I think this would be very low priority and I'm not even sure if it's a good idea as it's all a lie really.

kieranjol commented 6 years ago

BTW we wouldn't really be attaching that DFXML into the MKV file or anything, it would just be hanging around in a subfolder somewhere within the archival package.

JeromeMartinez commented 6 years ago

OK. So for the moment I flag it as "SponsorNeeded", I don't develop it unless someone is ready to sponsor such develop.