In this video we will watch at streaming to hitbox.tv set/ twitch.television by signifies of a celebration script dealing with FFMPEG. Be definitely sure to take a look at my previous motion picture tutorial on environment up your pulse audio so u can stream both similarly your gameplay and mic –http://goo.gl/6mXtix

Network your Youtube Channel with GamerPeer and Self-reliance @http://goo.gl/Zcjmnz

streaming.sh.

#!/ bin/bash.

INRES=”1280 x1024″ # get in resolution (The resolution of the software application you wish to stream!).
OUTRES=”1024 x790″ # Output resolution (The resolution you desire your stream to be at).
FPS=”22″ # target FPS.
QUAL=” ultrafast”
# one specific of the a great deal of FFMPEG presets that can be made use of.
# If you have low bandwidth, set the qual pre-programmed on ‘ultrafast’ (include bandwidth).
# If you have medium bandwitch set it on regular to medium or rapidly.
STREAM_Crucial=” xxxxxxxxxxxx” # this is your streamkey.

ffmpeg -f x11 grab -s “$ INRES” -r “$ FPS” -i:.
– f alsa -air conditioner 2 -i pulse -vcodec libx264 -s “$ OUTRES”.
– acodec libmp3lame -ab 128 k -ar 44100 -threads.
– f flv “rtmp:// live.hitbox.tv set/push/$ STREAM_Vital”.

# For streaming to twitch.television set switch rtmp handle with rtmp:// live.twitch.television/ app/.

VSP Group, my partner software application. Get connected!https://youpartnerwsp.com/en/be part of?60646

resource

2 thoughts on “Streaming on Linux: FFMPEG”

  1. With reference to your presets, one of us has it completely wrong….

    The 'faster' the preset, the faster your internet speed need to be, when you say if you have a really good internet connection you can use slow, its exactly the opposite.

    The faster the preset, the less compression and therefore the more bandwidth required.

    The slower the preset the more CPU required to process in real time and get it out the door but overall, a slower preset will give you a better result in the same bandwidth.

    I think I've got that right anyway 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *