Skip to content

Instantly share code, notes, and snippets.

@crossan007
Last active November 14, 2017 12:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save crossan007/1c42157ce62cf9cfb453f882b5fc07c4 to your computer and use it in GitHub Desktop.
Save crossan007/1c42157ce62cf9cfb453f882b5fc07c4 to your computer and use it in GitHub Desktop.
Using #https://github.com/crossan007/voctomix-outcasts/blob/ingest-lightweight/ingest.py
#On VMix Server
./ingest.py --custom-pipeline "tcpserversrc port=30001 host=0.0.0.0 ! queue max-size-time=4000000000 ! matroskademux name=d ! decodebin ! videoconvert ! videorate ! videoscale ! video/x-raw, format=(string)I420, width=(int)320, height=(int)240, framerate=(fraction)25/1, pixel-aspect-ratio=(fraction)1/1 ! mux. audiotestsrc name=audiosrc ! audio/x-raw,format=S16LE,channels=2,layout=interleaved,rate=48000 ! matroskamux name=mux ! queue max-size-time=4000000000 ! tcpclientsink host=127.0.0.1 port=10000"
#On Pi
./ingest.py --custom-pipeline "rpicamsrc bitrate=7000000 do-timestamp=true ! h264parse ! matroskamux ! queue ! tcpclientsink host=172.30.9.160 port=30001" --host 172.30.9.160
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment