Magic Lantern Forum

Using Magic Lantern => Raw Video => Topic started by: 1400700226 on June 29, 2021, 03:03:03 AM

Title: Which module can record raw video with lossless compression and lens info?
Post by: 1400700226 on June 29, 2021, 03:03:03 AM
Hi everyone, my cam is 5dmk3 v1.2.3 with a ef zoom lens.
The lens has some distortion which changes during zooming. So I want to correct it in post with lens profiles, and this requires focal length info in each frame.
The mlv_rec.mo with format v2.0 stores realtime lens forcal length info, which fits my need perfectly. However it can't do lossless compression, so I have no way to record 1080p 30fps 14bit video with it. The mlv_lite.mo in crop_rec experimental build can do lossless compression, but it doesn't save realtime lens info. I tried Danne's build but no difference.
So I want to know am I missed a module with both lossless compression and lens info somewhere?

Thanks in advance!
Title: Re: Which module can record raw video with lossless compression and lens info?
Post by: theBilalFakhouri on July 21, 2021, 07:50:48 PM
As far as I know mlv_lite has basic metadata which explains why there is no real-time focal length info . . I think it could be implemented into mlv_lite (updating focal length info per frame), personally I don't have an experience with metadata so can't help much here . .

BTW you can use uncompressed 10/12 bit-depth using mlv_rec which requires lower write speed than uncompressed 14-bit, you can find a build here:
https://builds.magiclantern.fm/experiments.html

Under:
"10/12-bit RAW video" or "4K raw video recording; lossless compression"
Title: Re: Which module can record raw video with lossless compression and lens info?
Post by: 1400700226 on July 25, 2021, 02:04:53 AM
Thanks for your reply.
The problem of 10/12 bit in magic lantern is, it throws the darkest bits away from 14bit, other than the sensor working in 10/12 bit. So there is significant clipping issue while the sensor has DR less than 12 EV.