Movies can be recorded with different compression methods, such as DV and MPEG-2. DV compresses each frame for recording, while MPEG-2 compresses multiple frames at a time. Recordings using DV are smaller in file size and less suitable for editing, but can be more compatible with your device's memory.
If you want to record a movie in the highest possible resolution, you can use an 8K or 4K card for your camera. Those cards require stable shooting conditions and a fast writing speed.
https://pokiapp.com/movie-hd-for-android/