Generate thumbnails

This commit is contained in:
2023-07-27 20:56:48 +01:00
parent 9053e3eb1f
commit ff430675f3
8 changed files with 123 additions and 27 deletions

View File

@ -36,20 +36,4 @@ vhost hls.zap.stream {
on_unpublish http://10.100.2.226:5295/api/srs;
on_hls http://10.100.2.226:5295/api/srs;
}
transcode {
enabled on;
ffmpeg ./objs/ffmpeg/bin/ffmpeg;
engine {
enabled on;
vcodec png;
acodec an;
vparams {
vframes 1;
}
oformat image2;
output ./objs/nginx/html/[app]/[stream].png;
}
}
}