You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Tuur

Sage

  • "Tuur" started this thread

Posts: 3,768

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

1

Friday, January 31st 2020, 12:23am

360 video instant cam switch / multicam

Hi,

i had some fun with the new update yesterday.

"Crop Monsieur | No Twins"

- this is not about me playing drums quite 'rusty'.. (didn't play much lately)
- this is not about me having fun in aftereffects and protools
- this is not about video quality

This example is about that you can switch instantly from camera position ( + vr).

https://www.virtualtuur.com/krpano/120/examples/multicam/1/

links with direct the desired resolution:

1k: https://www.virtualtuur.com/krpano/120/e…index.html?q=1k
2k: https://www.virtualtuur.com/krpano/120/e…index.html?q=2k
4k: https://www.virtualtuur.com/krpano/120/e…index.html?q=4k

I had fun. I was not really prepared for the idea and was 'cold'. Played two takes. Batteries empty quickly.
Then i had to figure out a bit what was a reasonable workflow.

Cam 1 is: insta360ONE-X
Cam 2 is: insta360ONE

For me it works great on the 4g and the wifi.

Tuur *thumbsup*

Scott Witte

Intermediate

Posts: 382

Location: Milwaukee, WI USA

Occupation: Professional Photographer

  • Send private message

2

Friday, January 31st 2020, 12:43am

Didn't know you had a twin.

Nice demo.

jeromebg

Professional

Posts: 1,116

Location: Angers - France

Occupation: 360 experiences creator

  • Send private message

3

Friday, January 31st 2020, 9:13am

Nice one Tuur !!!
Works great in 2K with my slow connection.

4

Saturday, February 1st 2020, 3:26pm

That is a game changer for some video tour applications ... and I know you were involved ;)

thanks, Tuur !!
and Klaus of course!

5

Friday, February 21st 2020, 7:46am

How is this so quick? is this not "loadscene(scene_1, null, MERGE,BLEND(0.5));" and then change video in video player?

Tuur

Sage

  • "Tuur" started this thread

Posts: 3,768

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

6

Friday, February 21st 2020, 11:06am

Hi,

the 'clue' is also in the title.
A while ago i asked Klaus if this could be possible:
https://krpano.com/docu/xml/#image.crop
Works great i think.
more tests coming up.

Tuur *thumbsup*

7

Friday, February 21st 2020, 4:00pm

This looks to be using a second video capture source,( the camera closer to the drummer) not simply a crop of the original camera in the center of the room. Im still confused.

8

Tuesday, February 25th 2020, 10:24am

Hi,

there are e.g. two (or more) different pano-video-frames packed into one normal video-frame, e.g. in top and bottom arrangement.
And by using the image.crop setting you choose which part/area of the source video to use.

Best regards,
Klaus

Tuur

Sage

  • "Tuur" started this thread

Posts: 3,768

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

9

Tuesday, February 25th 2020, 10:34am

Hi,

here is a link to the 1k video to see how that looks like.
https://www.virtualtuur.com/krpano/120/e…o/video1-1k.mp4
I made it using aftereffects and premiere.

cam1 buttons does:
set(image.crop, '0.0|0.0|1|0.5');
and some other stuff

cam2 does:
set(image.crop, '0.0|0.5|1.0|0.5');

i have more cams now and when i have time i will prepare an example with more cams to switch.

i tried to switch from 2d video multicam set up to 3d video (no multicam) without switching scenes.. but i was not successful, yet, setting crop to null and changing stereo and stereoformat on the fly.

Love it though!

Tuur *thumbsup*

10

Sunday, March 22nd 2020, 3:25am

clever *thumbsup*

11

Thursday, March 26th 2020, 2:46pm

How did you compensate for the .crop in the tracking of the hotspot? Did you comp each video separately?

This post has been edited 1 times, last edit by "SpinStudios" (Mar 26th 2020, 3:18pm)


Tuur

Sage

  • "Tuur" started this thread

Posts: 3,768

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

13

Thursday, March 26th 2020, 3:23pm

When the .crop is applied to the projection code, this causes the tracking of the spot to misaligned. To compensate for this I crop the double 360 panorama video in AE with the region of interest tool and output each timeline _xm file for upper and lower separately. I was wondering if there was another way?

This post has been edited 1 times, last edit by "SpinStudios" (Mar 26th 2020, 3:36pm)


Tuur

Sage

  • "Tuur" started this thread

Posts: 3,768

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

14

Thursday, March 26th 2020, 3:32pm

sorry but i'm not sure what you mean with 'the spot'.

Quoted

tracking of the spot to misaligned.


the only spots i have is the vr floating video controlbar + cam switch..

- i recorded with two cams.
- bring them both in AE and sync them on the frame.
- mask myself in video 2 into video one and save
- new project mask myself in video 1 into video 2 and save
- bring them together in new project as 1:1 video (2x equirectangular) sync them and export to premiere to finish and render.

that is just a simple trick to put myself twice in the video..
But actually it is about the instant cam switch. Rest is just 'dressing' the example.
I'm preparing to start a next example soon... but all Corona restrictions don't help much atm

Tuur *thumbsup*

15

Thursday, March 26th 2020, 3:40pm

If I was to have a moving hotspot in this example ( Created file from your MHS editor) , how would I compensate for the .crop applied to the viewer? The timeline_1 xml doesn't track properly when a .crop is applied.

Tuur

Sage

  • "Tuur" started this thread

Posts: 3,768

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

16

Thursday, March 26th 2020, 3:45pm

i would just use/make another timeline then.
See it as a new/other video.
The sphere is still the same. With the .crop you just tell which part of the video should be mapped around the sphere.
When you change cam you should also change timeline.

so.. for that .. yes you should also keep a 2:1 version of each video (matching exactly with the final one) to create the MHS timelines.

i was planning also adding that in the new example.

Tuur *thumbsup*

Artur

Beginner

Posts: 7

Location: Portugal

Occupation: Student

  • Send private message

18

Thursday, March 26th 2020, 5:07pm

hel

This post has been edited 1 times, last edit by "Artur" (Mar 26th 2020, 6:03pm)


Tuur

Sage

  • "Tuur" started this thread

Posts: 3,768

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

19

Thursday, March 26th 2020, 5:15pm

Please create a new thread for this.
This thread is about something else

Tuur *thumbsup*