Skip to content

feat: Generate video covers with bounded ffmpeg processing - #29

Open
PerovXP wants to merge 3 commits into
tskau:mainfrom
PerovXP:main
Open

PerovXP wants to merge 3 commits into
tskau:mainfrom
PerovXP:main

Conversation

@PerovXP

@PerovXP PerovXP commented Sep 11, 2026

Copy link
Copy Markdown

src issue: #28

bot now generates a JPEG cover when sending videos

if extraction fails / the queue is full, sending can continue without a cover

  • upgrade mtcute to 0.32.1; add ffmpeg to the docker image and local setup requirements
  • extract covers from a seekable temporary file and remove it afterward
  • limit processing to 2 ffmpeg processes and 8 queued requests; a running process will be terminated when the deadline (10s) expires

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant