Maybe a continuous of 5 to 10 hours video. Mobile phone may have overheat concern and I need to use the phone for other purposes, it might also have not enough capacity.... What device do you recommend specially for taking video of long time? High quality video is appreciated, but price first.
Please recommend something, I am not familiar with video area.
A Google Pixel 3 or iPhone XS or Samsung S10 5G would be your best bet.
If looking for something affordable, then Google Pixel 2 XL or Oneplus 6T will be great.
All have extraordinary cameras and 128 GB variant which should be adequate for most people.
5+ hours of video is honestly too much for any smartphone but if quality matters to you, you wouldn't consider anything else. If needed, you can always carry a powerbank with you. They are available up to 26,800 mAh capacity that can charge an iPhone xs 7 times.
A purposly built camera exists into the DVR-NVR cctv category. Some are cheap, some are expensive, IP cameras which you can monitor from the web from everyhere, with activated on movement, IR cameras.. etc
Why bother diy-ing with a phone or something to interact with storage, to activate on movement, maybe even make some rollback of the space to continue recording by erasing older video when it is already done on the market and looks afordable?