Dodan font, testna skripta za webcam
parent
925e2bbae4
commit
17b623aa04
Binary file not shown.
7
stil.css
7
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;
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue