Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - tdnelson2

#1
Quote from: tdnelson2 on August 16, 2022, 08:16:11 PMI started a repo to develop a 010 Editor Template for parsing MLV files.
OK. I've fully parsed a MLV file containing one frame. Am I right to assume the image data is located in "VIDF" blockTypes in the "frameData" field? Is this data in DNG format?
#2
Quote from: names_are_hard on August 17, 2022, 06:18:44 AMUint is probably size 4.  uint8_t is size 1.
You are right! I'm looking again at the supported datatypes for 010 Editor and I see that I wrongly assumed uint was 8 bits long. Looks like they have it at 32 bits long: https://www.sweetscape.com/010editor/manual/DataTypes.htm.
#3
I started a repo to develop a 010 Editor Template for parsing MLV files. The trouble is I can't seem to get the fields to line up using the information provided in https://github.com/ilia3101/MLV-App/blob/master/src/mlv/mlv.h and https://github.com/ilia3101/MLV-App/blob/master/src/mlv/mlv_object.h. If I comment out a bunch of fields and change the size of some of the fields I can get xRes and yRes to line up as expected, but obviously I'm doing something wrong if I have to comment out stuff.

Please see my repo and let me know if you have any thoughts: https://github.com/tdnelson2/MLV_010_Editor_Template

Here's what it looks like when I run it on a MLV file in 010 Editor:
#4
Quote from: names_are_hard on August 13, 2022, 02:40:42 AMBoth are equally against the spirit.
I agree with you but it's a bit more egregious to try to pass non-image data off as image data (IOW data that has an image file extension but doesn't contain image data in the correct format for display). I mean, Amazon would definitely suspend my account
#5
Quote from: names_are_hard on August 12, 2022, 11:22:57 PMJust slice it up so each piece is small enough to fit in the image data of a DNG (or any raw format Photos supports).
Oh, yeah, that would definitely be abusing Amazon Photos. I'm not comfortable doing that
#6
Quote from: names_are_hard on August 11, 2022, 10:59:25 PM
Chop up the file you care about into the correct sized pieces, and copy the numbers into the raw (in the correct place for it to be the "image data").  Repeat until you run out of source file.
How do I find the delimiter between two raw images in a MLV? Is there a command line tool for doing this?
#7
Quote from: Danne on August 11, 2022, 01:40:13 PM
...also old, outdated.
Where I can I find an up-to-date implementation for mac?
#8
Quote from: names_are_hard on August 11, 2022, 05:46:45 AM
Since your game plan is to abuse Amazon Photos to store video
I wouldn't call it abuse. I'm sure Amazon uses these as raw data for their AI image generator project so really I'm doing them a favor  ;D

Quote from: names_are_hard on August 11, 2022, 05:46:45 AM
Chunk the video up into pieces and store each piece as b&w data in a series of raw images.  Perfect reproduction of any file.  Easy to automate.
Any tips on how I can get started on implementing this? This type of software development is pretty far out of my wheel house
#10
Thanks @masc. I'd like to understand the structure of the MLV a bit more. Can you point me in the right direction? I'd like to work this problem a bit
#11
Quote from: masc on August 10, 2022, 08:28:39 AMWhy do you backup DNG sequences??? I would never do this. Always backup the MLV files! MLV files have much more metadata included - that is way more future proof, no matter what features we will develop and include in future, or what RAW corrections you would like to use in future. After exporting to DNG some RAW corrections are hard/impossible to do - over forever.
Honestly, I assumed that MLV files are simply a container for a sequence of DNG images with audio and metadata included. Am I not right? Is there not a way to extract the RAW DNG sequences and metadata from the MLVs in a way that it could be restored to a MLV and be indistinguishable from the original MLV?

For me the whole point of this exercise is to enable me to take advantage of the Amazon Photos' limitless backup. I have my MLV files backed up to hard drives but cloud backup provides unbeatable assurance.
#12
Is this it? http://www.phreekz.de/wordpress/2014/04/magiclantern-raw2cdng-1-5-0/

Backstory: Amazon Photos provides unlimited photo storage so I'm using it to backup my MLVs after extracting them to DNG sequences (fun fact: somehow Amazon Photos knows to display the DNGs in the correct aspect ratio). It would be nice if I could find a simple, quick, reliable method to get the DNG sequences back to their original state as MLVs with the audio synced up and the FPS the same as before (my 6D MK1 records at 24.01 FPS for some reason). The "Transcode and Import RAW2MLV" option in MLV App does not bring in the audio and doesn't give me the option to compile as 24.01 FPS, only 24.00 FPS. I'm on a mac so I don't think raw2cdng is an option for me.

Any suggestions would be greatly appreciated!
#14
The closest I can get is using "Transcode and Import RAW2MLV" but it's missing audio and doesn't give me parameters to account for the 1:3 pixel ratio:

#15
It's easy to use the MLV App to export MLV files to CinemaDNG image sequences, but is it possible convert a CinemaDNG image sequences into MLV files?