Gameplay Videos with 2 Cameras Side by Side

Insights into the development of Project Reality.
Post Reply
dbzao
Retired PR Developer
Posts: 9381
Joined: 2006-06-08 19:13

Gameplay Videos with 2 Cameras Side by Side

Post by dbzao »

This is a cool little app I wrote in May 2010 using YouTube's Javascript API. I visited it again recently and I think more people should be inspired to use it as it's pretty cool in my opinion. :D

Checkout the example bellow, but before clicking MAXIMIZE YOUR BROWSER WINDOW for maximum viewer pleasure. ;)

Image


How does it work?

At the top right you have the percentage that was buffered for each video. It's good to have them be close together or you will get pauses during playback. You can also just let them both buffer completely to 100% so you won't have any breaks.

The videos begin paused, so you have to press Play to begin watching. If for some reason they get a little unsynched, you can press Sync to get them at the same time frame.

You can choose between different video qualities (360p, 480p and 720p), it depends on your hardware and download speed.

The audio by default is on the Left video, but you can click the Switch Audio link to switch between them. You can notice in the example above that on my view (Left) I'm talking to other Squad Leaders, but you don't hear that on Spriggan's view (Right).

After watching each part you can switch to the other Parts of the round using the links to the right.


How did we do it?

Spriggan and I recorded the full round that night. We both opened the map to show the clock and 3, 2, 1, started recording. That helped us later on during editing to know we were fully synchronized.

We both opened the first clip in VirtualDub (read more about my editing workflow here), found the exact frame the clock went from one second to the other and cut everything before that. Now we knew we were in sync and could just append the rest of the clips without problems as we recorded the full round. I think we had to interrupt recording one or two times but we just used the in-game clock trick to get in sync again.

We both watched the videos together and selected the scenes that were more interesting. We would say "start at frame 23554 and end at frame 43455". Using the exact frame numbers we made sure we had the exact same parts in sync.

With all the clips edited it was just a matter of each exporting their own videos. We had to export in 3 parts because of the 10 minutes limit on YouTube at the time. Then each uploaded their videos to YouTube and used my cool little app to put them side by side.

I think it's a pretty easy way to do that kind of view without having to upload and download the raw video from the second camera and editing them side by side in a complicated editing software, going back and forth and so on. By itself, each video is one view of the action and it's just fine to watch standalone. But if you put them together you can switch the audio from one side to the other and see each other's view of the action at the same time. Pretty cool. :)


How can you use it?

The app is open for anyone to use it, you just need to put a comma-separated list of the YouTube video IDs in the v parameter. It expects at least two IDs, but if you put 4, 6, 8, etc, it adds the Part 1, Part 2, Part 3 links at the top automatically.

So if you have the following 2 videos of the 2 different cameras:

http://www.youtube.com/watch?v=Mm8U53cEAhI
http://www.youtube.com/watch?v=XMZ2pV8VHoc

The YouTube Side by Side URL would be:

http://realitymodfiles.com/dbzao/sidebyside/?v=Mm8U53cEAhI,XMZ2pV8VHoc

That's it! :)


Some ideas on what to record
  • Two infantry squads working together
  • CAS and the Forward Observer
  • Pilot and gunner on CAS
  • Two armored vehicles working together
  • Commander UAV and a Squad on the ground
  • etc
Have fun! ;)

"There's always one more bug." - Lubarsky's Law of Cybernetic Entomology
Rhino
Retired PR Developer
Posts: 47909
Joined: 2005-12-13 20:00

Post by Rhino »

that's pretty cool db :)
Image
Dev1200
Posts: 1708
Joined: 2008-11-30 23:01

Post by Dev1200 »

Can it be split further than 2, possibly?
Image
AquaticPenguin
Posts: 846
Joined: 2008-08-27 19:29

Post by AquaticPenguin »

That is... Just awesome. :D

Big thumbs up from me, good job!
Arnoldio
Posts: 4210
Joined: 2008-07-22 15:04

Post by Arnoldio »

Infantry and Armour combination would be nice IMO. :D
Image


Orgies beat masturbation hands down. - Staker
X1 Spriggan
Retired PR Developer
Posts: 427
Joined: 2007-08-31 04:24

Post by X1 Spriggan »

It only took no more than an hour to cut both of our footage. Not a hassle at all.

[17:21] Falkun: im making spaghetti
[17:21] Falkun: lal
[17:22] Falkun: i'll put some in an envelope for you
Jigsaw
Posts: 4498
Joined: 2008-09-15 02:31

Post by Jigsaw »

@1 minute 50 seconds - that is a beautiful example of infantry/armour coordination, tank rolling up, popping smoke to cover the infantry advance and then withdrawing slightly to provide cover fire. Brilliant.

Liking this method of filming too. Great stuff.
http://www.youtube.com/watch?v=8CKjNcSUNt8
"I love the smell of napalm in the morning. You know, one time we had a hill bombed, for 12 hours. When it was all over, I walked up. We didn't find one of 'em, not one stinkin' dink body. The smell, you know that gasoline smell, the whole hill. Smelled like... victory. Someday this war's gonna end... "
PoisonBill
Posts: 682
Joined: 2010-10-11 14:25

Post by PoisonBill »

Very cool! Would be nice to see something like that with CAS or APC. :)
Image
KiloJules
Posts: 792
Joined: 2011-03-17 18:03

Post by KiloJules »

Aww this is awesome! Wanted to have sth. like this in the video itself but this should make things a bit easier...hopefully. Thumps up!
Hotrod525
Posts: 2215
Joined: 2006-12-10 13:28

Post by Hotrod525 »

Epic video will be made with this.
Image
eztonia
Posts: 200
Joined: 2007-07-11 10:52

Post by eztonia »

Cool but I have a problem. I don't have any sound. Tried on both Firefox and Chrome. I have sound everywhere else, even on the separate videos on youtube, using the links you gave. I also tried different video quality s and just played around with it, hoping something would fix it "magically". I hope its not one of my "blond moments" here and I did everything correctly. :D If you need any more info just ask.
Mouthpiece
Posts: 1064
Joined: 2010-05-24 10:18

Post by Mouthpiece »

'Tis pretty cool. But why the old scopes? Old material? Anyway, it's grrrrreat (f*** advertisigng).
Redamare
Posts: 1897
Joined: 2007-10-30 21:09

Post by Redamare »

Its amazing how much you can appreciate whats going on in the game if you are watching two different points of view from the same squad . . . IMPRESSIVE AND I love it :) . . Keep them coming you should do a little Double screen video of the week or month sort of deal :D
Megagoth1702
Posts: 510
Joined: 2009-01-31 20:19

Post by Megagoth1702 »

NEED MOAR OF THEEZ!

Perhaps you DB as INF SQD lead and an APC gunner/driver working together with you? Kinda like 2sqd mech inf? Would be awesome! ;D
Zemciugas
Posts: 2116
Joined: 2010-04-05 15:13

Post by Zemciugas »

Image
Image
Image
Spartan463
Posts: 101
Joined: 2010-07-30 07:32

Post by Spartan463 »

Awsome Videos to both of you, and sweet app you made there db
now i really wish i got my Fraps working better
[img]http://h11.abload.de/img/spartan463upja4.png[/img]
Post Reply

Return to “Development Blogs”