I do cover song videos, mostly by myself using my android phone and needed something to start / stop video recording when I hit record in the audio software. I can rig my audio software to call this script when I hit record, so that was it :)
- Start / Stop recording
- Monitoring via scrcpy
- Save or discard last take (the last recorded video)
This script uses adb and scrcpy to monitor android device screens and to record video.
The idea for now is fairly simple:
- Use
cameracontrol monitor
to start scrcpy, monitoring all connected device screens - Open your favorite camera app
- Use
cameracontrol record
to start / stop recording. - Use
cameracontrol save_last_file
to save the last recorded video in a separated folder in the default camera roll directory. - Use
cameracontrol delete_last_file
to discard the last recorded video.
This way you can quickly record and select only the good takes without having to search through many video files.
Discarded videos are not deleted for safety. They are marked with a _DISCARDED suffix so you can easily find and delete them later.
usage: cameracontrol.exe [-h] [-q] [--dry-run] [--project-name PROJECT_NAME] [{record,monitor,save_last_file,delete_last_file}]
I can help you recording and selecting takes using your android phone.
positional arguments:
{record,monitor,save_last_file,delete_last_file}
What should i do?
optional arguments:
-h, --help show this help message and exit
-q, --quiet Should i tell you what am I doing?
--dry-run Should i actually do stuff or just print what I would do?
--project-name PROJECT_NAME
I'll use this to name a folder so you can quickly find your good takes :)
For now, it assumes that ADB and SCRCPY are installed and on your path. More flexibility in the future.