[PATCH] do jpgs for osd+video grabs to improve yweb performance

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
Markus Volk
2018-05-14 20:55:44 +02:00
committed by Thilo Graf
parent c9088b6b03
commit c8f27fb63b

View File

@@ -49,7 +49,7 @@ function do_snapshot() {
if ("{=var-get:grab=}" != "") if ("{=var-get:grab=}" != "")
{ {
if (enableOSD == 1 && enableVideo == 1) if (enableOSD == 1 && enableVideo == 1)
dbox_exec_tools("fbshot grab -q -p /tmp/"+filename+".png"); dbox_exec_tools("fbshot grab -q -p -j 85 /tmp/"+filename+".png");
else if (enableOSD == 1) else if (enableOSD == 1)
dbox_exec_tools("fbshot grab -q -p -o /tmp/"+filename+".png"); dbox_exec_tools("fbshot grab -q -p -o /tmp/"+filename+".png");
else if (enableVideo == 1) else if (enableVideo == 1)