JSARToolKit icon indicating copy to clipboard operation
JSARToolKit copied to clipboard

Overlay video

Open robypat opened this issue 11 years ago • 3 comments

Hi guys! I would like to know how to overlay a video over the marker...is it possible? or is possible just overlay images and 3D model???

robypat avatar Jun 03 '14 18:06 robypat

Hi, showing a video is pretty much the same as showing an image. You just have to update the texture on every frame.

2014-06-03 19:47 GMT+01:00 robypat [email protected]:

Hi guys! I would like to know how to overlay a video over the marker...is it possible? or is possible just overlay images and 3D model???

— Reply to this email directly or view it on GitHub https://github.com/kig/JSARToolKit/issues/13.

Ilmari Heikkinen Web development - graphics, animations and 3D

web http://fhtr.net | mail [email protected] | skype ilmarihe | twitter @ilmarihei tel (UK) +447427139588 (HK) +85253071497

FHTR Ltd Company Number. 8157370 Registered in England

kig avatar Jun 03 '14 19:06 kig

Im using jsartoolkit-wrapper. with this line [ myTracker.marker(64).image('my-image_01.png'); ] i can overlay over the marker with id-number 64 an image...so should i update evey frame of the video that i want to show? in that case how can i extract the frames from the video using JavaScript and there will not be the sound of the video... i use the wrapper cuz is more easy make associations between markers and models (image or 3D)...do u know jsartoolkit-wrapper? if u dont know jsartoolkit-wrapper (https://github.com/bocoup/JSARToolkit-Wrapper) how i can create an association between a defined marker with some contents(image or video) with jsartoolkit

robypat avatar Jun 04 '14 01:06 robypat

I don't know about the library you're using, but the gist of it is to create a video element that plays in the background (with noise and all), use it as a texture and upload it on every frame.

2014-06-04 2:05 GMT+01:00 robypat [email protected]:

Im using jsartoolkit-wrapper. with this line [ myTracker.marker(64).image('my-image_01.png'); ] i can overlay over the marker number 64 an image...so should i update evey frame of the video that i want to show? in that case how can i extract the frames from the video using JavaScript and there will not be the sound of the video...

— Reply to this email directly or view it on GitHub https://github.com/kig/JSARToolKit/issues/13#issuecomment-45041252.

Ilmari Heikkinen Web development - graphics, animations and 3D

web http://fhtr.net | mail [email protected] | skype ilmarihe | twitter @ilmarihei tel (UK) +447427139588 (HK) +85253071497

FHTR Ltd Company Number. 8157370 Registered in England

kig avatar Jun 04 '14 07:06 kig