Dodane ffmpeg skripte za gledanje kamere in RTP pretvorbo, janus cfg

sbc
Jurij Podgoršek 2023-02-27 10:45:22 +01:00
parent d060d3e11e
commit 59c720e887
3 changed files with 21 additions and 0 deletions

4
0_vidi.sh 100755
View File

@ -0,0 +1,4 @@
#!/bin/bash
VIR="http://192.168.64.104:81"
ffplay $VIR

8
1_mjpeg2rtp.sh 100755
View File

@ -0,0 +1,8 @@
#!/bin/bash
# Pretvori MJPEG v VP8 RTP stream
VIR="http://192.168.64.104:81"
CILJ="rtp://localhost:8004"
#ffmpeg -re -stream_loop -1 -i $VIR -c:v libx264 -tune zerolatency -profile:v baseline -b:v 1M -an -f rtp $CILJ
ffmpeg -re -stream_loop -1 -i $VIR -c:v libvpx -b:v 1M -an -f rtp $CILJ

View File

@ -0,0 +1,9 @@
rtp-cam: {
type = "rtp"
id = 666 description = "esp32 cam!"
metadata = "You can use this metadata section to put any info you want!"
audio = false video = true
videoport = 8004
videopt = 100
videocodec = "vp8"
}