Do you want to record video every second of a 5 hour session or would a time lapse be OK? (1 photo every minute maybe)
Most cameras have a battery adapter option, basically it plugs into the camera where the battery usually fits, the other end plugs into the wall for constant power.
Unfortunately I don't know the proper search term for these adapters, here's a knockof version for Sony mirrorless https://www.amazon.com/Adapter-AC-PW20-SLT-A33L-SLT-A55V-SLT-A55VL/dp/B0083EQS3I/ref=sr_1_2?ie=UTF8&qid=1421608307&sr=8-2&keywords=sony+ac-pw20