ma1co / OpenMemories-Tweak

Unlock your Sony camera's settings
MIT License
1.14k stars 113 forks source link

Extend video recording-duration to more than 13 hours? #395

Open 666spawn999 opened 3 years ago

666spawn999 commented 3 years ago

Hi,

Thanks for your work here. I have successfully removed the 30 minute recording limit on my old HX50V!

But when testing, recording stopped at exaclty 13 Hours. After a litte research I found this post: https://github.com/ma1co/OpenMemories-Tweak/issues/147#issuecomment-272064932 where it is stated, that the max-duration is set to "13 hours, 1 minute, 0 seconds not more, not less.".

Is there a technical reason that it stops at 13 hours? Because I would really like to record for 2-3 Days... :/

Would it be possible to extend the max-recording time to > 60h? Or could it be done somehow manually with a custom pmca-console command?

Thanks and stay healty!

666spawn999 commented 3 years ago

Damn... seems to be a limitation by the calculation method and number format.. https://github.com/ma1co/OpenMemories-Platform/blob/1808df8827a267726197fceb8db09a82afbf06a2/api/tweaks.cpp#L250

Anyone got any idea if it is somehow possible to "hack" this? What would happen if I change this to 15h? Would the cam crash or just keep recording?

I don't want to brick my cam, but I really would like to try this. What would happen if I change this value to 50h? Would I be able to change it back again to 13h, if it doesnt' work, or will my cam be bricked?

Bye and Thx!