running:
bash create-vod-hls.sh beach.mkv
will produce:
beach/
|- playlist.m3u8
|- 360p.m3u8
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import numpy | |
import pandas | |
import matplotlib.pyplot as plt | |
import matplotlib.dates as mdates | |
# Scikit's LinearRegression model | |
from sklearn.linear_model import LinearRegression | |
from scipy import stats | |
import math |
#EXTM3U | |
#EXTINF:0,NTV News24 | |
http://www.news24.jp/livestream/index.m3u8 | |
#EXTINF:0,GSTV | |
https://gemstv.wide-stream.net/gemstv01/smil:gemstv01.smil/chunklist.m3u8 | |
#EXTINF:0,NHK World Japan live | |
https://nhkworld.webcdn.stream.ne.jp/www11/nhkworld-tv/global/2003458/live.m3u8 | |
#EXTINF:0,ウェザーニュース | |
http://movie.mcas.jp/mcas/wn1_2/master.m3u8 | |
#EXTINF:0,WOWOWシネマ |
#!/bin/bash | |
#This script will compile and install a static ffmpeg build with support for nvenc un ubuntu. | |
#See the prefix path and compile options if edits are needed to suit your needs. | |
#install required things from apt | |
installLibs(){ | |
echo "Installing prerequisites" | |
sudo apt-get update | |
sudo apt-get -y --force-yes install autoconf automake build-essential libass-dev libfreetype6-dev libgpac-dev \ |
running:
bash create-vod-hls.sh beach.mkv
will produce:
beach/
|- playlist.m3u8
|- 360p.m3u8
#! /bin/sh | |
file="bbb_sunflower_2160p_30fps_normal.mp4" | |
timestamp=`date +%s` | |
ffmpeg="docker run --rm -it --workdir /tmp -v $PWD:/tmp kynothon/moviola:4.0-alpine " | |
bento4="docker run -it --rm -u $(id -u):$(id -g) -v $PWD:/tmp --workdir /tmp ggoussard/bento4docker " | |
echo "Getting the file" | |
curl -LO http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_2160p_30fps_normal.mp4 | |