Hosted by Dailymotion. For legal issues report at the Copyright Center, report us on DMC, or use the Instant Removal tool.
Streaming on Linux: FFMPEG, Twith, Hitbox
S
Sonbolum77
8 Views • Dec 05, 2014
Description
In this video we shall be looking at streaming to hitbox.tv / twitch.tv by means of a bash script using FFMPEG. Be sure to check out my previous video tutorial on setting up your pulse audio so u can stream both your gameplay and mic - http://goo.gl/6mXtix
Network your Youtube Channel with GamerPeer and Freedom @ http://goo.gl/Zcjmnz
streaming.sh
#! /bin/bash
INRES="1280x1024" # input resolution (The resolution of the program you want to stream!)
OUTRES="1024x790" # Output resolution (The resolution you want your stream to be at)
FPS="22" # target FPS
QUAL="ultrafast"
# one of the many FFMPEG presets that can be used
# If you have low bandwidth, put the qual preset on 'ultrafast' (upload bandwidth)
# If you have medium bandwitch put it on normal to medium or fast
STREAM_KEY="xxxxxxxxxxxx" # this is your streamkey
ffmpeg -f x11grab -s "$INRES" -r "$FPS" -i :0.0 \
-f alsa -ac 2 -i pulse -vcodec libx264 -s "$OUTRES" \
-acodec libmp3lame -ab 128k -ar 44100 -threads 0 \
-f flv "rtmp://live.hitbox.tv/push/$STREAM_KEY"
# For streaming to twitch.tv replace rtmp address with rtmp://live.twitch.tv/app/
Network your Youtube Channel with GamerPeer and Freedom @ http://goo.gl/Zcjmnz
streaming.sh
#! /bin/bash
INRES="1280x1024" # input resolution (The resolution of the program you want to stream!)
OUTRES="1024x790" # Output resolution (The resolution you want your stream to be at)
FPS="22" # target FPS
QUAL="ultrafast"
# one of the many FFMPEG presets that can be used
# If you have low bandwidth, put the qual preset on 'ultrafast' (upload bandwidth)
# If you have medium bandwitch put it on normal to medium or fast
STREAM_KEY="xxxxxxxxxxxx" # this is your streamkey
ffmpeg -f x11grab -s "$INRES" -r "$FPS" -i :0.0 \
-f alsa -ac 2 -i pulse -vcodec libx264 -s "$OUTRES" \
-acodec libmp3lame -ab 128k -ar 44100 -threads 0 \
-f flv "rtmp://live.hitbox.tv/push/$STREAM_KEY"
# For streaming to twitch.tv replace rtmp address with rtmp://live.twitch.tv/app/
Keywords & Tags
More from User
10:32
PREGNANT HULK Visits Frozen Anna Doctor Play Doh Cartoon Stop Motion
Sonbolum77
09:34
LinuxCast: Little Racers STREET (HD)
Sonbolum77
06:55
LinuxCast: Blockstorm (HD)
Sonbolum77
07:35
Streaming on Linux: FFMPEG, Twith, Hitbox
Sonbolum77
07:47
LinuxCast How to Setup Pulse Audio Loopback (HD)
Sonbolum77
Related Videos
02:43
Windows Media Streaming Tutorial
serverroom
01:16
Best buy Roku Streaming Media Players Roku 4 Streaming Media Player 4400R 4K UHD
Wasibbelf
55:02
STREAMING LIVE FROM THE ZNBC STUDIOS TV1, MASS MEDIA, LUSAKA We are streaming live from the ZNBC TV1 Studios at Mass Media here in Lusaka where the Home Affai
Hot Videos
01:24
Best buy Streaming Media Player Roku 3 Streaming Media Player 2014 model
Offam
03:36
REAL TIME & LOW LATENCY LIVE STREAMING - PhenixP2P at Streaming Media East 2017
Next TV News
01:04
Best buy Streaming Media Player Roku XDS Streaming Player 1080p
Offam