Urban Zone › Community Forums › Official Information › How to Stream Urban Terror

Urban Zone

Official Information

How to Stream Urban Terror

How to Stream Urban Terror

Posted: Wed Nov 27, 2013 10:47 am
Author: SevenofNine

youtu.be/7if9RVkGapY

Well here it is, the guide explaining how I have streamed Urban Terror the last two years. Lots of people had asked me to explain how I do it; unfortunately I can’t explain it to everyone individually. If you have any questions feel free to post them here or in the video’s comments section. Hopefully this can become a learning place for other aspiring streamers/shoutcasters.

I will resume shoutcasting and streaming again in 2014 but for now I am too busy with working on my thesis to do any Urban Terror related work.

Streaming URT config
(incoming, not ready for publishing yet, remind me if it takes too long)

Software
Urban Terror (duh)
Dxtory
Xsplit
OBS (ty biddle)
Radeonpro
Moyea FLV Editor Lite
Andy’s FLV Joiner

Useful links
Good bandwidth tester
Streaming Resolution, FPS, & Bitrate Lookup - by ZeroTalent and ApocTV
Copy YouTube annotations

ps. My rough script for this guide is available as well, but I would really advize to watch the video.


Last edited by SevenofNine on Sun Sep 18, 2016 10:48 am; edited 5 times in total

Re: How to Stream Urban Terror [WIP]

Posted: Wed Nov 27, 2013 11:34 am
Author: Biddle Location: France
Really looking forward into this!! Smile
I hope it'll get us some extra streamers on the urt scene now.

Also this link might be useful:
Get OBS: obsproject.com/download


Last edited by Biddle on Wed Nov 27, 2013 3:46 pm; edited 2 times in total

Re: How to Stream Urban Terror [WIP]

Posted: Wed Nov 27, 2013 3:40 pm
Author: xesya Location: On the battlefield
Really amazing job, Seven! Just awesome!

I hope some people get interested in streaming now :b

Re: How to Stream Urban Terror

Posted: Fri Nov 29, 2013 6:55 pm
Author: Niels Location: Belgium
Thx UZ <3

Re: How to Stream Urban Terror

Posted: Fri Nov 29, 2013 7:22 pm
Author: dKaaz
It's good to hear you'll be returning.
Even though I was forced to stop playing due to my idiotic and childish decisions I made in the past, there's still alot of good memories I kept from this game. One thing I will surely miss is hearing your shoutcasts. We never got along that well but I can admit that probably the thing that most made me want to play Urban Terror back in the day was hearing your shoutcasts. It just made the game feel different, even though the game wasn't really something super popular like League of Legends for example. I have no doubts that if this game keeps going the way it's going it will one day be alot more popular than it already is, but I doubt that even if I did play this game again in the future that it wouldn't be as awesome as it was in the past. One thing I can guarantee you though, this game was (and still is) a big deal to me, and I will be waiting for the day that your shoutcasts return, and I really do hope that that happens because I will surely be watching them just because it's something amazing. After all, we've had some good and bad experiences in the past but all together the experience was still absolutely brilliant and it will be surely something I'll never forget.

Take care mate and hope to see you back soon, good luck with the studies.

Re: How to Stream Urban Terror

Posted: Sat Nov 30, 2013 10:44 am
Author: SevenofNine
Well said dKaaz Smile

Svenson PM'd me with some questions and also some things that reminded me what might be interesting.

YouTube vs Twitch.tv streaming
As a partner of YouTube you will be able to stream online soon. They are rolling it out to every partner with 100 subs (more info). I haven't tested YouTube streaming since a year so some things might have changed but here are my reasons why I prefer twitch.
- gaming audience
There is no doubt that people who go to twitch are there to watch games, they can also browse through games and come across Urban Terror for instance.

- multiple resolutions for your viewers
If you are a twitch partner your viewers will be able to choose the resolution. The more viewers you get the more options in resolutions.

- chat interaction
I love the way chat is handled by twitch, it's an IRC protocol so I could connect to it through my irc client.


Reasons for going for youtube
If you aren't a twitch partner the multiple resolutions argument doesn't apply. On youtube I can imagine you'd have the posibility of reaching a far bigger audience, the question is, are they your audience?

The best would be to stream to both, which actually isn't too hard (if you have the bandwidth), it's not like you're re-encoding seperately for each stream. Xsplit allowes you to stream to multiple servers at the same time.

I think that youtube still has a lot of catching up to do compared to twitch, but if they would really use their resources for it I think they could become better

YouTube partnership
There are several partnership types, the most comon are described here. These are quite easy to achieve if you apply yourself. For example we had to post 4 matches (split into 10 minutes per video) before we got unlimited length of the video's.
Another type of partnership is joining a group like machinima. Apparently you get a bigger chunk of the advertisement income, even after sharing it with machinima.

Benefits of Getting Training Professional SEO Course

Posted: Sun Dec 01, 2013 5:45 pm
Author: rasel
[admin edit]*This isn't related to streaming at all, so I removed it. Sorry.*

Re: How to Stream Urban Terror

Posted: Wed Dec 04, 2013 12:30 am
Author: ButterdBread Location: Austria
What I'm currently wondering about: All this software is only working with Windows.
Does anyone know alternatives for Mac?

Re: How to Stream Urban Terror

Posted: Wed Dec 04, 2013 1:12 am
Author: KronoZ Location: Russia
The same for Linux please!

Re: How to Stream Urban Terror

Posted: Wed Dec 04, 2013 10:13 am
Author: SevenofNine
- ButterdBread
What I'm currently wondering about: All this software is only working with Windows.
Does anyone know alternatives for Mac?

You are right, streaming programs for the mac are:
- wirecast (expensive, but all the big tournaments on twitch use this for streaming if they don't use "hardware streaming")
- Flash Media Encoder Live (This is the program I first tried and then went to xsplit because it's more user friendly. This is free afaik)

- KronoZ
The same for Linux please!

I don't know any programs for linux, sorry.

Re: How to Stream Urban Terror

Posted: Sat Jan 04, 2014 2:40 pm
Author: Pricey0804 Location: Bolton, England
If anyone is thinking about Streaming and is unsure about what quality/resolution to stream at, then check out this handy estimator tool: Open Broadcaster Software - Stream Settings Estimator.
Just simply select your setup using the drop-down boxes, then click the 'Recommended Settings' button and it will give you advice on what you're able and unable to do.

Hope that helps those of you who are a bit unsure!

Re: How to Stream Urban Terror

Posted: Sat Jan 04, 2014 4:58 pm
Author: Nstar Location: USA
Here is my script for ffmpeg that i used for feeds on linux.
This is optimized for a really bad laptop with super high bandwidth connection.
The slower the preset quality, the more pc load and lower bandwidth usage (usually).
set res for yours
also, this assumes you open UrT in a separate X screen. if you want to capture the screen that your WM is running in change the -i 1.0 part
lib264 and aac are your best bet no matter your specs
create a file in your home directory called .twitch_key and paste your twitch key into there
execute the script and you're streaming

i used everything through pulse with pavucontrol for audio control
and i have no idea how to capture just the UrT window :\


Code:
#! /bin/bash

INRES="1280x800" 
OUTRES="576x360" 
FPS="30" 
QUAL="superfast"
STREAM_KEY=$(cat ~/.twitch_key)

#ffmpeg \
#-f x11grab -s $INRES -r $FPS -i :1.0 \
#-f alsa -i pulse \
#-c:v libx264 -s $OUTRES -preset $QUAL -pix_fmt yuv420p \
#-c:a aac -threads 0 -aq 1 -strict -2 \
#-f flv "rtmp://live.twitch.tv/app/$STREAM_KEY"

#ffmpeg \
#-f x11grab -s $INRES -r $FPS -i :1.0 \
#-f alsa -ac 2 -i  -af aresample=async=250 -af "volume=2.0" \
#-c:v libx264 -preset $QUAL -crf 30 -pix_fmt yuv420p -s $OUTRES \
#-c:a libmp3lame -ab 96k -ar 22050 -threads 0 \
#-f flv "rtmp://live.twitch.tv/app/$STREAM_KEY"

ffmpeg \
-f x11grab -s $INRES -i :1.0 \
-f pulse -ac 2 -i default \
-c:v libx264 -preset $QUAL -s $OUTRES \
-threads 0 -crf 30 -pix_fmt yuv420p -async 1 -ar 11025 -af:a:0 volume=8.5dB \
-f flv "rtmp://live.twitch.tv/app/$STREAM_KEY"



#-map 0:0 -map 1:0 -map 2:0 \

Re: How to Stream Urban Terror

Posted: Fri Dec 11, 2015 4:39 pm
Author: SevenofNine
test version
All times are GMT + 1 Hour
Page 1 of 1
http://www.urban-zone.org/