{"id":13338789,"url":"https://github.com/masterzion/mzstream","last_synced_at":"2025-03-11T10:32:04.072Z","repository":{"id":50117914,"uuid":"367863482","full_name":"masterzion/mzstream","owner":"masterzion","description":"Transmit video and audio from the capture card + camera video to the twitch","archived":false,"fork":false,"pushed_at":"2021-06-06T18:07:55.000Z","size":3827,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-23T22:19:21.185Z","etag":null,"topics":["camera","capture-video","ffmpeg","games","light","mini","portable","raspberrypi","stream","twitch","webcam"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/masterzion.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-05-16T11:40:13.000Z","updated_at":"2021-07-29T04:20:51.000Z","dependencies_parsed_at":"2022-08-24T12:51:07.687Z","dependency_job_id":null,"html_url":"https://github.com/masterzion/mzstream","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masterzion%2Fmzstream","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masterzion%2Fmzstream/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masterzion%2Fmzstream/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masterzion%2Fmzstream/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/masterzion","download_url":"https://codeload.github.com/masterzion/mzstream/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243015476,"owners_count":20222084,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["camera","capture-video","ffmpeg","games","light","mini","portable","raspberrypi","stream","twitch","webcam"],"created_at":"2024-07-29T19:17:21.936Z","updated_at":"2025-03-11T10:31:59.604Z","avatar_url":"https://github.com/masterzion.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mzstream\n\nTransmit video and audio from the capture card + camera video to the twitch\n\n# WebUI\n\n![Screenshot](https://github.com/masterzion/mzstream/blob/main/docs/webui.png)\n\n# Output Result\n\n![Screenshot](https://github.com/masterzion/mzstream/blob/main/docs/Screenshot.png)\n\nMore details at: https://youtu.be/7Jj2e0VOGfw\n\n# Configure\n\nCreate a configuration file in your home direcotry ~/.mzstream \n\n```\nnano ~/.mzstream\n```\n\nAdd at the end your TWITCH secret\nYou can find yours at https://dashboard.twitch.tv/settings/stream\n\nCheck the \"Recommended Ingest Endpoints For You\" for the right TWITCH_URL value\nhttps://stream.twitch.tv/ingests/\n\n```\nexport TWITCH_KEY=YOUR_SECRET_KEY\nexport WEBUI_PORT=8777\nexport TWITCH_URL=rtmp://waw.contribute.live-video.net/app/\n```\n\n# Content\n\n| Scripts              | Function                              |\n|----------------------|:-------------------------------------:|\n| README.md            | This file  :)                         |\n| installdeps.sh       | Install all dependences               |\n| build.sh             | Download and build FFMPEG on raspberry|\n| build_ubuntux64.sh   | Download and build FFMPEG on Ubuntu   |\n| listinterfaces.sh    | list all available interface          |\n| mzstream.sh          | Main program                          |\n| install_web.sh       | Install and uninstall the webservice  |\n| http.py              | Light http server (python2)           |\n| docs/                | Documentation images                  |\n| web/                 | files for the  webservice             |\n\n\n\n\n# Install\n\nInstall this script and builf the new ffmpeg\n\n```\ngit clone https://github.com/masterzion/mzstream.git\ncd mzstream\n./installdeps.sh\n./build.sh\n```\n\n# Running\n\nList the interfaces\n\n```\n./listinterfaces.sh\n```\n\n# manual run\n\n./mzstream.sh VIDEOCARD WEBCAM AUDIO_DEVICE POS_X_PERCENT POS_Y_PERCENT INGEST_ENDPOINT\n\n```\n./mzstream.sh /dev/video2 /dev/video4 1 98 98 rtmp://waw.contribute.live-video.net/app/\n\n```\n\n# install webservice\n\n\n```\n./install_web.sh\n\n```\n\n# uninstall webservice\n\n```\n./install_web.sh --uninstall\n\n```\n\n\n\n\n# Todo\n - WEB UI\n - Improve performance\n\n# Overclock\n\nhttps://magpi.raspberrypi.org/articles/how-to-overclock-raspberry-pi-4\n\n# Hardware\n\n - Raspberry pi 4\n - Aluminum Aluminum Case - https://www.aliexpress.com/item/4000204565326.html\n - ezcap\n - Razer Kiyo\n\n\n![Hardware](https://github.com/masterzion/mzstream/blob/main/docs/hardware.jpg)\n\n\n# License\n\nGNU General Public License (GPL) version 2\n\n\n# Important\n\nI won't take responsibility of anything\nUse by your own risk\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmasterzion%2Fmzstream","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmasterzion%2Fmzstream","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmasterzion%2Fmzstream/lists"}