![twitch rtmp server twitch rtmp server](https://static-us-vir.easylive.io/medialibrary/2020/03/customtwitchus4.png)
Check your twitch dashboard to see if this is working as expected. If you don’t run into any issues this should start streaming right away.
Twitch rtmp server install#
Sudo apt-get install ffmpeg libx264-dev libavcodec-extra-53
![twitch rtmp server twitch rtmp server](https://ik.imagekit.io/thewebdev/Twitch-React/7/5_JBYz6nrfk.png)
vcodec libx264 -s "$OUTRES" -vpre "$QUAL" \ You can set this manually, or reference it from a hidden file like what is done here. # more FFMPEG presets avaiable in /usr/share/ffmpeg You can use "/dev/dsp" for your primary audio input.
![twitch rtmp server twitch rtmp server](https://assets.help.twitch.tv/article/img/2420572-02.png)
# keep the aspect ratio the same or your stream will not fill the display. INRES=$(xwininfo -root | awk '/geometry/ 'i) # you can set it manually in the format "WIDTHxHEIGHT" instead. # input resolution, currently fullscreen. The script (updated January 25 2013): #! /bin/bash I’ve put together this simple tutorial for streaming to with only single script to run. Unfortunately almost every link/code snippet I could find online was either using unsupported/deprecated code or was full of syntax errors making it unusable. Recently I found myself needing to stream from my Ubuntu laptop to my twitch feed.