ספט 16

VOD & Moodle

Putting together a DIY VOD streaming solution for Moodle based on NGINX + Kaltura-streamer + WordPress + Moodle.

Plugins used in the solution:

https://github.com/nadavkav/moodle-repository_wpvod

https://github.com/nadavkav/moodle-mod_videofile

https://github.com/kaltura/nginx-vod-module

Source: A DIY VOD streaming for Moodle

מאי 06

kaltura/nginx-vod-module: NGINX-based MP4 Repackager

nginx-vod-module – NGINX-based MP4 Repackager

Features

  • On-the-fly repackaging of MP4 files to DASH, HDS, HLS, MSS
  • Working modes:
    1. Local – serve locally accessible files (local disk/NFS mounted)
    2. Remote – serve files accessible via HTTP using range requests
    3. Mapped – serve files according to a specification encoded in JSON format. The JSON can pulled from a remote server, or read from a local file
  • Adaptive bitrate support
  • Playlist support (playing several different media files one after the other) – mapped mode only
  • Simulated live support (generating a live stream from MP4 files) – mapped mode only
  • Fallback support for file not found in local/mapped modes (useful in multi-datacenter environments)
  • Video codecs: H264, H265 (DASH/HLS)
  • Audio codecs: AAC
  • Audio only/video only files
  • Alternative audio renditions – supporting both:
    1. Generation of manifest with different audio renditions, allowing selection on the client side
    2. Muxing together audio and video streams from separate files / tracks – provides the ability to serve different audio renditions of a single video, without the need for any special support on the client side.
  • Track selection for multi audio/video MP4 files
  • Playback rate change – 0.5x up to 2x (requires libavcodec and libavfilter)
  • Source file clipping (only from I-Frame to P-frame)
  • Support for variable segment lengths – enabling the player to select the optimal bitrate fast, without the overhead of short segments for the whole duration of the video
  • Clipping of MP4 files for progressive download playback
  • Decryption of CENC-encrypted MP4 files (it is possible to create such files with MP4Box)
  • DASH: common encryption (CENC) support
  • MSS: PlayReady encryption support
  • HLS: Generation of I-frames playlist (EXT-X-I-FRAMES-ONLY)
  • HLS: support for AES-128 / SAMPLE-AES encryption

מקור: kaltura/nginx-vod-module: NGINX-based MP4 Repackager

נוב 12

nginx as Database Load Balancer for MySQL or MariaDB Galera Cluster | Severalnines

Recently, nginx 1.9 introduced support for TCP load balancing – similar to what HAProxy is capable of. The one major drawback is that it does not support advanced backend health checks. This is required when running MySQL Galera Cluster, as we’ll explain in the next section. Note that this limitation is removed in the paid-only edition called NGINX Plus.

מקור: nginx as Database Load Balancer for MySQL or MariaDB Galera Cluster | Severalnines