multi function synchronization with buffer and save and cam image