Parameter | YouTube recommends setting |
---|---|
-movflags faststart | moov atom at the front of the file (Fast Start) |
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 | |
START_TIME=$SECONDS | |
set -e | |
echo "-----START GENERATING HLS STREAM-----" | |
# Usage create-vod-hls.sh SOURCE_FILE [OUTPUT_NAME] | |
[[ ! "${1}" ]] && echo "Usage: create-vod-hls.sh SOURCE_FILE [OUTPUT_NAME]" && exit 1 | |
# comment/add lines here to control which renditions would be created | |
renditions=( |
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
<?php | |
/* | |
Parameter Example | |
$data = array('post_id'=>'12345','post_title'=>'A Blog post'); | |
$target = 'single tocken id or topic name'; | |
or | |
$target = array('token1','token2','...'); // up to 1000 in one request | |
*/ | |
public function sendMessage($data,$target){ | |
//FCM api 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
<?php | |
defined('BASEPATH') OR exit('No direct script access allowed'); | |
/** | |
* Single Sender FIrebase Push To Android | |
* | |
* @package Codeigniter | |
* @author Vicky Saputra <http://vicky.work | |
**/ | |
class Firebase_push | |
{ |
Steps were re-written from below links for faster setup.
This guide assumes you are using Ubuntu 18 and Nginx.
Part 1: Build Your Own Email Server on Ubuntu: Basic Postfix Setup - LinuxBabe
Part 2: Install Dovecot IMAP server on Ubuntu and Enable TLS Encryption
Part 3: How to Set up SPF and DKIM with Postfix on Ubuntu Server
This is a collection of working commandline examples to show how one could use FFMpeg and VLC for live transcoding of video streams. All examples have been tested on OSX 10.7.5 with FFMPeg 1.1.3 and VLC 2.0.5 in early 2013.
Documentation links
- FFMpeg, Muxers, Encoders, Protocols
- FFMPEG multiple outputs
- VLC Docu, Advanced Use
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
#!/bin/bash | |
echo "Downloading ipvtl Software \n" | |
cd /home | |
wget http://www.ipvideotrans.com/download/ipvtl_trial-x64.tar.xz |
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
#!/bin/sh | |
# This script installs TVHeadend on your Ubuntu 16.04.x machine | |
# | |
# Exit-codes: | |
# exit 1 = no root rights | |
# exit 2 = not using Ubuntu 16.04 | |
# exit 3 = TVHeadend already installed (exit in install-function) | |
# exit 4 = TVHeadend is not installed (exit in deinstall-function) | |
# exit 5 = TVHeadend repo already exists |
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
## Skeleton config file for RetroArch | |
# Save all save files (*.srm) to this directory. This includes related files like .bsv, .rtc, .psrm, etc ... | |
# This will be overridden by explicit command line options. | |
savefile_directory =/storage/.xbmc/userdata/addon_data/emulators.retroarch/save/ | |
# Save all save states (*.state) to this directory. | |
# This will be overridden by explicit command line options. | |
savestate_directory =/storage/.xbmc/userdata/addon_data/emulators.retroarch/save/ |