Get frames with jpeg extension from videos, For batch processes