Magic Lantern Forum

Using Magic Lantern => Raw Video => Topic started by: 70MM13 on June 29, 2019, 11:32:30 AM

Title: card spanning for video
Post by: 70MM13 on June 29, 2019, 11:32:30 AM
Has anyone given much thought to doing card spanning on models with dual slots such as my 5d3?
I'm finding that dual iso video, even at 10 bits, is too demanding for shots longer than about 10-20 seconds depending on compressibility of the content.  If card spanning could improve this by any amount, it could be a life saver!

just curious...
Title: Re: card spanning for video
Post by: Danne on June 29, 2019, 11:37:14 AM
Feature already exists for mlv_rec. You could have a go porting it to mlv_lite.
Title: Re: card spanning for video
Post by: 70MM13 on June 29, 2019, 11:53:06 AM
I'm not a coder.
I'd help however I can...
Title: Re: card spanning for video
Post by: Danne on June 29, 2019, 11:58:32 AM
No one here was born a coder ;)
Just sayin...
Title: Re: card spanning for video
Post by: 70MM13 on July 05, 2019, 11:53:31 AM
Is there really no one interested in this?

I'm sure I will be attacked for asking, beyond the ridicule I already received, but I would just like to know the opinion of anyone who knows the details of what would be involved in making it work...

Surely there are others out there who would benefit from increased recording times?

...reaches for his flak jacket.
Title: Re: card spanning for video
Post by: timbytheriver on July 05, 2019, 12:06:29 PM
@70MM13 Hey. I'd be interested in this – but I thought the speed of the SD card cannot sustain the bit rate required? Or am I confused...?  ???
Title: Re: card spanning for video
Post by: 70MM13 on July 05, 2019, 12:13:02 PM
My uninformed guess would be that it's all about stopping the buffer from running out, so when the first card stops keeping up, the camera writes to the second card until that one can't keep up, by which time the first card has written more data and can maybe take a bit more again.  It wouldn't last very long but even a few seconds extra could save a shot!
Title: Re: card spanning for video
Post by: Danne on July 05, 2019, 12:18:11 PM
Code is in mlv_rec. Porting this to mlv_lite combined with the sd_uhs hack should do a significant improvement. If g3gg0 or a1ex would take an interest here it's doable. Or else I would advise you to look for some skilled c-coder elsewhere instead of double post which most likely will lead to - nothing...