Automatic SD/CF cards free space optimization

Started by vastunghia, December 28, 2022, 11:21:17 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

vastunghia

Use case:

  • You have a cam with ML and both CF+SD cards
  • You are recording plenty of Raw footage out in the wild and have no other cards (or you do, but want to squeeze every last bit out of the cards you are using before swapping cards)
  • You are using card spanning of course
  • Your average write speed ratio between CF and SD does not reflect exactly the size ratio between the two (say 2x CF vs SD write speed, but 1.5x CF vs SD size)
What this 'magic function' should do:

  • Calculate average write speed ratio of CF vs SD starting from size of existing MLV files found on the two cards (i.e. past write speed ratio taken as an estimate of future write speed ratios)
  • Find a minimal and optimal (to be better defined of course) set of file moves (not necessarily unidirectional) between the two cards that make your final free space ratio (CF vs SD) very close to the estimated write speed ratio.
This will make sure that you end up shooting with both cards almost full, wasting no space at all.

Can this be done in lua? If so, it may even be within my reach. Or does it need to be a module?

Thx
5D3 for video
70D for photo