--video-duration
- CLI
- --video-duration
- REST
- video_duration
Records this many seconds of video, greater than 0 and at most 3600.
The process timeout defaults to ten times the duration, and at least 60 seconds.
Example
zshot -f tiger.webm --video-duration 10 https://zshot-cli.com/example_assets/tiger/{
"url": "https://zshot-cli.com/example_assets/tiger/",
"output_type": "webm",
"video_duration": 10
}curl -X POST http://127.0.0.1:3000/ \
-H "Content-Type: application/json" \
-d '{"url":"https://zshot-cli.com/example_assets/tiger/","output_type":"webm","video_duration":10}' \
-o tiger.webm