Skip to content

How can I get a shot at a specific time with video recording active? #3048

Answered by aler9
aimaicai asked this question in Questions
Discussion options

You must be logged in to vote

Hello, you can do this by enabling the playback server:

playback: yes

The playback server allows you to get a frame corresponding to a specific time. You also want to convert this frame into JPEG. To perform this operation, use FFmpeg to download the frame from the playback server and convert it:

ffmpeg -i 'http://localhost:9996/get?path=my_camera&start=2024-02-21T15%3A11%3A15%2B00%3A00&duration=10' -qscale:v 4 -frames:v 1 my_shot.jpg

Playback server is documented in the README.

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
1 reply
@aimaicai
Comment options

Comment options

You must be logged in to vote
7 replies
@aimaicai
Comment options

@aler9
Comment options

@aimaicai
Comment options

@aimaicai
Comment options

@aler9
Comment options

Answer selected by aimaicai
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants