diff --git a/0_vidi.sh b/0_vidi.sh new file mode 100755 index 0000000..fa655f8 --- /dev/null +++ b/0_vidi.sh @@ -0,0 +1,4 @@ +#!/bin/bash +VIR="http://192.168.64.104:81" + +ffplay $VIR diff --git a/1_mjpeg2rtp.sh b/1_mjpeg2rtp.sh new file mode 100755 index 0000000..552cbd8 --- /dev/null +++ b/1_mjpeg2rtp.sh @@ -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 diff --git a/etc_janus_janus.plugin.streaming.jcfg b/etc_janus_janus.plugin.streaming.jcfg new file mode 100644 index 0000000..1718a65 --- /dev/null +++ b/etc_janus_janus.plugin.streaming.jcfg @@ -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" +}