instant_record
New Member
- Joined
- Aug 25, 2016
- Messages
- 36
- Points
- 0
I've written a mega-script that that you can run in a BASH shell in Linux/Mac. It will take multiple recordings made using the 10 minute loop option from a Gitup camera and encode them into a single file. It chooses a sensible bitrate to encode them into using a "divider" value and the source recording resolution. You can also specify to remove the fisheye distortion caused by the camera's lens (I worked this out using OpenCV and a chessboard target).
Alternatively, it will combine all 10 minute clips into a single file with lossless encoding, but in this case you can't correct the fisheye distortion.
Download the script, rename the extension to ".sh" and run "chmod +x" on it to make it executable. The usage of the script is you run it in a directory containing *.MP4 files and it will find the ones created by the Git2 camera based on their file name, and process them into clips. You can have multiple recording sessions in the current directory and it will detect which files make up which recording session based on their length.
I see lots of people talking about white balance/chroma correction, so if someone gives me an ffmpeg filter to correct this, I will incorporate this into the script.
DISCLAIMER: I ACCEPT NO RESPONSIBILITY IF THIS DESTROYS YOUR HARD DRIVE AND ALL YOUR FILES!!!!
(But in all my testing I've never had this happen.)
Enjoy!
Alternatively, it will combine all 10 minute clips into a single file with lossless encoding, but in this case you can't correct the fisheye distortion.
Download the script, rename the extension to ".sh" and run "chmod +x" on it to make it executable. The usage of the script is you run it in a directory containing *.MP4 files and it will find the ones created by the Git2 camera based on their file name, and process them into clips. You can have multiple recording sessions in the current directory and it will detect which files make up which recording session based on their length.
I see lots of people talking about white balance/chroma correction, so if someone gives me an ffmpeg filter to correct this, I will incorporate this into the script.
DISCLAIMER: I ACCEPT NO RESPONSIBILITY IF THIS DESTROYS YOUR HARD DRIVE AND ALL YOUR FILES!!!!
(But in all my testing I've never had this happen.)
Enjoy!
Last edited by a moderator: