To capture videos, your camera needs write access to its internal memory. Otherwise, the video won't be recorded even though you can see that the video was captured from your gallery. There might be a chance that your phone does not support this feature or something wrong with the app. If this still doesn't work, try calibrating your device's camera from settings.