galerija-bot/1_mjpeg2rtp.sh

9 lines
291 B
Bash
Raw Normal View History

#!/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