Skip to content

This module streams any opencv frame to your twitch channel.

Notifications You must be signed in to change notification settings

RobEn-AAST/opencv-twitch-stream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
May 19, 2022
May 18, 2022
May 19, 2022
May 18, 2022

Repository files navigation

setup process

get you stream key from here

http://www.twitch.tv/youruser/dashboard/streamkey

Dependencies

sudo pip install python-twitch-stream
sudo apt update
sudo apt install ffmpeg
ffmpeg -version
python stream.py -s <your stream key>

Docker setup

docker-compose.yml file

# docker-compose.yml
services:
  streaming-twitch:
    build: .
    command: python3 -u stream.py -s <your stream key>
    ports:
      - "1935:1935"
     # - "5000:5000/udp"
     # - "5100:5100/udp"
    volumes:
      - ./codes:/twitch