Hi and welcome to LQ
You can use the following to find the video duration in seconds
Code:
ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 the-9G-video.mpeg
Then based on the output use this
script to cut the video in half
Regards