Dodan font, testna skripta za webcam

sbc
Jurij Podgoršek 2023-05-11 09:31:07 +02:00
parent 925e2bbae4
commit 17b623aa04
3 changed files with 18 additions and 1 deletions

Binary file not shown.

View File

@ -1,7 +1,12 @@
@font-face {
font-family: CenturyGothic;
src: url("nu_century_gothic.ttf") format("truetype");
}
body { body {
padding: 0; padding: 0;
margin: 0; margin: 0;
font-family: sans-serif; font-family: CenturyGothic;
display: flex; display: flex;
flex-direction: column; flex-direction: column;

12
test_webcam2rtp.sh 100755
View File

@ -0,0 +1,12 @@
#!/bin/bash
source .env
# Inicializiraj kamero
url="$VIR/cm?cmnd=WcInit"
curl "$url"
# Pretvori MJPEG v VP8 RTP stream
#ffmpeg -re -stream_loop -1 -i $VIR -c:v libx264 -tune zerolatency -profile:v baseline -b:v 1M -an -f rtp $CILJ
ffmpeg -f v4l2 -framerate 30 -i /dev/video0 -c:v libvpx -crf 10 -b:v 1M -an -f rtp $CILJ