feature: added the function of encoding one frame to jpeg when capturing the M_SHOOT signal