diff --git a/nu_century_gothic.ttf b/nu_century_gothic.ttf new file mode 100644 index 0000000..da8d8c6 Binary files /dev/null and b/nu_century_gothic.ttf differ diff --git a/stil.css b/stil.css index 93a63b6..df0b6f7 100644 --- a/stil.css +++ b/stil.css @@ -1,7 +1,12 @@ +@font-face { + font-family: CenturyGothic; + src: url("nu_century_gothic.ttf") format("truetype"); +} + body { padding: 0; margin: 0; - font-family: sans-serif; + font-family: CenturyGothic; display: flex; flex-direction: column; diff --git a/test_webcam2rtp.sh b/test_webcam2rtp.sh new file mode 100755 index 0000000..173ca57 --- /dev/null +++ b/test_webcam2rtp.sh @@ -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