Code Monkey home page Code Monkey logo

mzstream's Introduction

mzstream

Transmit video and audio from the capture card + camera video to the twitch

WebUI

Screenshot

Output Result

Screenshot

More details at: https://youtu.be/7Jj2e0VOGfw

Configure

Create a configuration file in your home direcotry ~/.mzstream

nano ~/.mzstream

Add at the end your TWITCH secret You can find yours at https://dashboard.twitch.tv/settings/stream

Check the "Recommended Ingest Endpoints For You" for the right TWITCH_URL value https://stream.twitch.tv/ingests/

export TWITCH_KEY=YOUR_SECRET_KEY
export WEBUI_PORT=8777
export TWITCH_URL=rtmp://waw.contribute.live-video.net/app/

Content

Scripts Function
README.md This file :)
installdeps.sh Install all dependences
build.sh Download and build FFMPEG on raspberry
build_ubuntux64.sh Download and build FFMPEG on Ubuntu
listinterfaces.sh list all available interface
mzstream.sh Main program
install_web.sh Install and uninstall the webservice
http.py Light http server (python2)
docs/ Documentation images
web/ files for the webservice

Install

Install this script and builf the new ffmpeg

git clone https://github.com/masterzion/mzstream.git
cd mzstream
./installdeps.sh
./build.sh

Running

List the interfaces

./listinterfaces.sh

manual run

./mzstream.sh VIDEOCARD WEBCAM AUDIO_DEVICE POS_X_PERCENT POS_Y_PERCENT INGEST_ENDPOINT

./mzstream.sh /dev/video2 /dev/video4 1 98 98 rtmp://waw.contribute.live-video.net/app/

install webservice

./install_web.sh

uninstall webservice

./install_web.sh --uninstall

Todo

  • WEB UI
  • Improve performance

Overclock

https://magpi.raspberrypi.org/articles/how-to-overclock-raspberry-pi-4

Hardware

Hardware

License

GNU General Public License (GPL) version 2

Important

I won't take responsibility of anything Use by your own risk

mzstream's People

Contributors

masterzion avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.