Page 1 of 3

Helmet cam

Posted: 2013-05-22 13:59
by sirfstar
What do you guys think about this?


upd: tutorials



warning: this is not plug-and-play thing, and you cannot just download and use it with some random people.
In fact you will need a group/clan who can afford to have own dedicated server for this and you will need to set-up and run (alongside with PR) at least 3 programs to use this as intended.
Yes, it is very complicated, but this is the only way to have almost real-time displays.
btw, in arma 3 it can be done out-of-the-box without any effort from user so you can make a suggestion for future PR:A3




How to setup a RTMP-server. (windows version)
note: you dont need a dedicated server for every squad member, just one for your squad.
Important: make sure that your PC (where you're going to run the server) is reachable from the net. For example you can create a local PR server and the others can connect to it then it should be OK.

1. Get the server.
I've used this one: Moment - Home
Download the archive containing the server files and unpack it anywhere you like.

3. Configure the server. There is a txt file named "moment.conf", open it and delete everything in it.
Copy-paste the following:

//=======================================================================
#define HOST 127.0.0.1 //<------- REPLACE IT ON YOU SERVER IP<---------
#define RTMP 1935
moment {
this_rtmp_server_addr = HOST:RTMP
publish_all = yes
num_threads = 2
}
mod_rtmp {
rtmp_bind = :RTMP
rtmpt_bind = ""
ping_timeout = 3153600000
send_delay = 0
}
//=======================================================================

4. Save the file

5. Run the server. There is a file named "moment.bat", just double-click on it.

Done, the server should be up and running.
You dont have to run your own server and can use any public streaming service (twitch for example), but in this case your stream will be delayed (lag).
-----------------------------------------------------------------------------------


How to setup a streaming client (basic OBS)

  • (If you're running your own server as explained above)
  • 1. Get and install the client
    Open Broadcaster Software
  • 2. Run it.
    Go to Settings > Broadcast settings.
  • Set the "Streaming service" to "Custom"
    In the server field input: rtmp://<YOUR SERVER IP HERE>:1935/live
    In the "Play Path/Stream Key" input your nickname.
    Set "Delay" to 0.
    Check the "Minimize Network Impact" checkbox.
    http://i3.5cm.ru/i/C752.png
  • Go to "Video " section
    Set the minumal available resolution for video.
    Set "FPS" to 15
    (It is necessary for minimizing the load on your CPU and network)
    http://i1.5cm.ru/i/urTU.png
  • Go to "Advanced" section
    Set the "x262 CPU preset" to "ultrafast"
    Press [OK]
  • 4. Right-click on the "Sources" field
    Select "Game Capture"
    http://i0.5cm.ru/i/A1j1.png
    Input any name and then select the BF2 application (note: you may have to refresh it with every BF2 restart, i'm not sure)
    Turn off the sound
    Press "Start Streaming"
    Now your stream should be available at rtmp://<YOUR SERVER IP HERE>:1935/live/nickname
    http://i2.5cm.ru/i/NaIG.png
  • Here we go, you can now input the settings into the app and should be able to see your stream. Just tell your squadmembers you want to see your screen to do the same.
    (You dont need to have your own stream in the app, just for testing purposes)
    http://i3.5cm.ru/i/EZpV.png
    The stream will lag for about 1-1.3 second (according to your ping to the server).
    It's OK for armour / infantry gameplay, but not comfortable for CAS gunner / pilot.
  • How to stream with less delay (0.1-0.5s)

    There is the only way: stream the video coded with VP6.
    I have not seen any broadcasting software that supports it except one: Adobe Flash Media Live Encoder (FMLE), but it does not supports game capture.
    So you'll need the tool that will capture the game and output it to FMLE.
    Options: XSplit, PlayClaw, Dxtory, ?
    None of these is free. And i have not seen any free software with similar functionality.
    1. XSplit
    "Enable virtual camera output" in settings
    Select the BF2 as source for XSplit
    Select XSplitBroadcaster as source for FMLE
    Done

    2. PlayClaw
    Enable output to virtual camera
    Select PlayClaw virtual camera as source for FMLE
    Start capturing in game
    Done

    3. Dxtory
    I have not tried it but it has the "DirectShow output" which is the same as virtual camera. (dont forget to disable 'file output')

    Screenshot for my FMLE settings: http://i0.5cm.ru/i/fl5m.png


Re: Helmet cam

Posted: 2013-05-22 14:04
by Mineral
nice! Is it overwolf doing a program with what you can switch between livestreams? Awesome idea.

Re: Helmet cam

Posted: 2013-05-22 14:12
by sirfstar
Not just switching, but have your whole squad equipped with this. It has some restriction though, not everyone may be able to use it as intended.

Re: Helmet cam

Posted: 2013-05-22 14:38
by Dude_Nukem
Hmm, nice! How do I get that TactiCam activated in Overwolf? Or is it not been published yet? I think its a good and an awesome idea. Yet, maybe not very realistic imo? For in vehicles its realistic I guess, but not for a sqd leader from an inf sqd looking to other screens of his members.

If its possible to let the commander get the overview of all sqds that would be great I guess. That will deliver a nice overview of what's going on. Being a commander would be much more awesome.

Still think this is a great idea and a useful tool.

Re: Helmet cam

Posted: 2013-05-22 14:53
by sirfstar
Dude_Nukem wrote:How do I get that TactiCam activated in Overwolf? Or is it not been published yet?
Not yet.
Dude_Nukem wrote:If its possible to let the commander get the overview of all sqds that would be great I guess.
Technically - possible. Practically - impossible on a public game, only really organized events or stuff like that.

And i have to note that its not really possible to use it with public streaming services like twitch, just because you'll have a 3-8 seconds delay on the stream no matter what.
Only if you can have your own private server you can reach 0.1~1s delay which is comfortable to play with.

Re: Helmet cam

Posted: 2013-05-22 15:03
by KillJoy[Fr]
Dude_Nukem wrote: If its possible to let the commander get the overview of all sqds that would be great I guess. That will deliver a nice overview of what's going on. Being a commander would be much more awesome.

Still think this is a great idea and a useful tool.
Being commander is nice only when squad's speak to you and follow your orders adding an "helmet cam" wont help for the teamwork trust me.

Re: Helmet cam

Posted: 2013-05-22 15:41
by sweedensniiperr
'KillJoy[Fr wrote:;1895191']Being commander is nice only when squad's speak to you and follow your orders adding an "helmet cam" wont help for the teamwork trust me.
Maybe...but it would help the commander get a feel on how the battle looks like from the ground instead of from the UAV.

This is really something cool. Not only for commanders and CAS creew but maybe for mortars and god knows all the possibilites.

Re: Helmet cam

Posted: 2013-05-22 15:42
by Curry
'KillJoy[Fr wrote:;1895191']adding an "helmet cam" wont help for the teamwork trust me.
Think the other way around. Had this in mind before. Might be worth a look.

cheers,
Curry.

Re: Helmet cam

Posted: 2013-05-22 15:48
by Dude_Nukem
'KillJoy[Fr wrote:;1895191']Being commander is nice only when squad's speak to you and follow your orders adding an "helmet cam" wont help for the teamwork trust me.
I do agree that it's nice that people will follow your orders and communicate with each other.

I did not say that the "helmet cam" will help to increase the teamwork. I only mentioned that it will be a good overview for the commander and will make that function much more exciting ;) .

Maybe on the long run the teamwork eventually will get better, because of the situational awareness of the commander which he/she can play this information through to the sqd leaders. Because a lot of important information won't even be told to the commander, because the SL's got it too busy @ that time or forget to mention it.

Re: Helmet cam

Posted: 2013-05-22 15:53
by [F|H]Zackyx
When this is going to be released ?? i was think about that so much for the cas some one made it haha! im so happy

Re: Helmet cam

Posted: 2013-05-22 16:07
by Spec
Not sure if every player's going to like this, speaking of 'unfair advantages' and stuff, could be used for ghosting and such.

Being the SWAT4 player I am, I really love helmet cams however. I'd contact the server admins beforehand however and ask whether or not they want it used on their server, to be sure.

Re: Helmet cam

Posted: 2013-05-22 16:19
by sirfstar
[R-MOD]Spec wrote:Not sure if every player's going to like this, speaking of 'unfair advantages' and stuff, could be used for ghosting and such.

Being the SWAT4 player I am, I really love helmet cams however. I'd contact the server admins beforehand however and ask whether or not they want it used on their server, to be sure.
Not much they can do to disallow such things anyway so its more unfair to have things like this private.
If take it seriously its actually possible to integrate it with the server side and automate a lot of things, making it available for everyone, but it will drastically increase the bandwidth requirements for server.

Re: Helmet cam

Posted: 2013-05-22 17:46
by Gracler
It's a nice feature no doubt about that but in reality it will only make an even bigger imbalance gap in the game where some people have it and can run it, and others won't use it because of bad connection.

The mortar job will suddenly feel like your spotter is replaced with a uav and he only has to point his face in the direction of the target... not very realistic of today's general standard. A tank gunner would also suddenly have eyes in the back of his head or maybe even 4 eyes if there is a 50 cal gunner also spotting.

Its very practical but communication would again be less important between players... just tell them... look east only..... and you do the rest for example.

If the developers really wanted the pilot to see what the gunner sees they could just rig a camera on his camera i guess :D ... job done! everyone is happy.


The number of ways this could be exploited in ways not intended is a bit concerning... If it was built into the game and secured from hackers and an on/off button for admins it would be a nice feature though, but that's asking to much for such a little change i think.

Re: Helmet cam

Posted: 2013-05-22 17:53
by sirfstar
I disagree with the part it will give you more "eyes" just because you simply cannot 'spot' something on a 320x180 image. It could only help to describe spot not with only degrees but an overall view.

Re: Helmet cam

Posted: 2013-05-22 21:01
by [F|H]Zackyx
For cas its realistic the pilot can see the gunner view for armored it depends on models for exemple the AAVP passengers can see the gunner screen. When are you going to release this sirfstar ? how is it working ? you need a dedicated server ? or you can use in p2p ?

Re: Helmet cam

Posted: 2013-05-22 21:25
by IWI-GALIL.556FA
A wonderful idea regardless :)

Re: Helmet cam

Posted: 2013-05-22 23:16
by gonzalo658
Wow! Amazing idea! is it released ?

Re: Helmet cam

Posted: 2013-05-22 23:25
by sirfstar
'[F|H wrote:Zackyx;1895303']When are you going to release this sirfstar ? how is it working ? you need a dedicated server ?
Maybe in a few days, and yes, you'll need a dedicated server, though its not hard to run one for your clan/squad

Re: Helmet cam

Posted: 2013-05-22 23:31
by gonzalo658
sirfstar wrote:Maybe in a few days, and yes, you'll need a dedicated server, though its not hard to run one for your clan/squad

Would be perfect to run it on dedicated server! release it now :D !!

Re: Helmet cam

Posted: 2013-05-22 23:43
by [F|H]Zackyx
Awesome work ! It would be nice to make a tutorial /video to explain how to set up client and how to setup the server side software.