Demo entry 6742237

test

   

Submitted by anonymous on May 17, 2018 at 12:34
Language: JavaScript. Code size: 781 Bytes.

let vp = viewpoint();
let loc = source<Location>("headset/location");
let ori = source<Orientation>("headset/orientation");

// pipe
ori.pipe(vp.orientation);
loc.pipe(vp.location);


// main flow (simplified)
let pano_soure = source("ingest/stitcher")
let clipping = viewport_clipping({});


// assign viewpoint control point
vp.position.pipe(clipping.viewpoint);


// MPEG-DASH format
let packager = mpeg_dash_packager({profile:"urn:mpeg:dash:profile:isoff-main:2011"});

pano_soure.pipe(clipping)
.pipe((h265({parameters:"some encoder parameters"})) // pipe data to the encoder
.pipe(packager));


// final output with two output ports: MPD manifects and video segments
packager.mpd.sink("gvvc/dash_mpd");
packager.video.sink("gvvc/dash_segments");

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).