This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # | |
| # The OSC Exit Test | |
| # ================= | |
| # Can you actually leave? This script proves it. | |
| # | |
| # We create a CouchDB database on Eyevinn Open Source Cloud, | |
| # fill it with data using the standard CouchDB HTTP API, | |
| # export everything with curl, spin up the exact same database | |
| # locally with Docker, import the data, and verify it's identical. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://eyevinn-guide.eyevinn-lambda-stitch.auto.prod.osaas.io/stitch/master.m3u8?payload=ewogICJ1cmkiOiAiaHR0cHM6Ly9tYWl0di12b2QubGFiLmV5ZXZpbm4udGVjaG5vbG9neS9VTkhJTkdFRF9UcmFpbGVyXzIwMjAubXA0L21hc3Rlci5tM3U4IiwKICAiYnJlYWtzIjogWwogICAgeyAicG9zIjogMjAwMDAsICJkdXJhdGlvbiI6IDE1MDAwLCAidXJsIjogImh0dHBzOi8vbWFpdHYtdm9kLmxhYi5leWV2aW5uLnRlY2hub2xvZ3kvVklOTi5tcDQvbWFzdGVyLm0zdTgiIH0KICBdCn0= |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://lab.cdn.eyevinn.technology/stswetvplus-promo-2023-5GBm231Mkz.mov/manifest.m3u8 | |
| https://lab.cdn.eyevinn.technology/Channel-Engine-Promo-Mar-2023-PnA8E-jw5x.mp4/manifest.m3u8 | |
| https://lab.cdn.eyevinn.technology/eyevinn-reel-feb-2023-_2Y7i4eOAi.mp4/manifest.m3u8 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://maitv-vod.lab.eyevinn.technology/UNHINGED_Trailer_2020.mp4/master.m3u8 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@exampledev/new.css@1.1.2/new.min.css"> | |
| </head> | |
| <body> | |
| <video autoplay muted playsinline controls></video> | |
| <script type="text/javascript"> | |
| const url = "https://<whpp-url>"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * gcc -Wall gst-tsdemux.c -o gst-tsdemux $(pkg-config --cflags --libs gstreamer-1.0) | |
| */ | |
| #include <gst/gst.h> | |
| #include "utils.h" | |
| typedef struct _CustomData { | |
| GstElement *pipeline; | |
| GstElement *source; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // $ node hls-repeat.js | |
| // Example (2 reps): http://localhost:8000/slate-consuo2.mp4/master.m3u8?r=2 | |
| // where r is how many times the VOD to be repeated | |
| const { HLSProxy } = require("@eyevinn/hls-proxy"); | |
| const HLSRepeatVod = require("@eyevinn/hls-repeat"); | |
| const proxy = new HLSProxy({ | |
| originHandler: async () => { | |
| // Origin where the VOD is found |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // This gist shows an example of an ingest application based on Eyevinn Ingest Application Framework [1] plugins | |
| // to watch a folder for a new MP4-file and upload and transcode on AWS using AWS MediaConvert. | |
| // Copyright 2021 Jonas Birmé | |
| // | |
| // [1] https://eyevinn.github.io/ingest-application-framework/ | |
| const { AwsUploadModule } = require("@eyevinn/iaf-plugin-aws"); | |
| const { watch } = require("chokidar"); | |
| const { createReadStream } = require("fs"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * This NodeJS gist creates a virtual linear channel (VOD2Live) with one ad break (105 sec) and a trailer, | |
| * both on loop. | |
| * | |
| * npm install --save eyevinn-channel-engine | |
| * node server.js | |
| * | |
| * Then play the HLS from: | |
| * http://localhost:8000/live/master.m3u8?channel=1 | |
| * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <link rel="stylesheet" href="https://player.eyevinn.technology/v0.2.4/build/eyevinn-html-player.css"> | |
| <style> | |
| body { background-color: black; } | |
| #status { | |
| font-size: 20pt; | |
| font-family: Verdana; | |
| height: 40px; |
NewerOlder