Welcome to DOGZILLA-Lite repository
6. Record Video
Recording Video
1. Purpose of the experiment
Realize video recording.
2. Experimental path source code
Enter the dog's system, end the dog program, enter "ip (ip is the dog's ip): 8888" in the browser, enter the password "yahboom"
and log in. Enter the path of cd ~/DOGZILLA_Lite_class/2.Base Control/07.Play the video and run dog_recode_videos.ipynb .
3. Experimental Phenomenon
After running the code, the dog will open the camera and collect 5 seconds of camera images, and save them to the file /home/pi/xgoVideos/. The name is myvidoes.mp4

4. Main source code analysis
xgoVideoRecord(filename="myvidoes",seconds=5)
| Parameter name | Format | Input range | illustrate |
|---|---|---|---|
| filename (optional) default is "recode" | String | / | The file name of the recorded video will automatically add the extension mp4, and the recorded file path is /home/pi/xgoVideos |
| seconds (optional) The default value is 5 | number | / | Length of the recording file (seconds) |