running:
bash create-vod-hls.sh beach.mkv
will produce:
beach/
|- playlist.m3u8
|- 360p.m3u8
running:
bash create-vod-hls.sh beach.mkv
will produce:
beach/
|- playlist.m3u8
|- 360p.m3u8
This guide assumes you are already familliar with setting up RetroArch with libtransistor.
Clone the fs-net branch from https://github.com/davidbuchanan314/libtransistor:
git clone https://github.com/davidbuchanan314/libtransistor --recursive -b fs-net
Build libtransistor as usual.
| <?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 | |
| { |
To request a Let's Encrypt wildcard certificate there are the following prerequisites:
--server option or configuration directive must be changed to the appropriate v2 endpoint.| #!/bin/bash | |
| echo "Downloading ipvtl Software \n" | |
| cd /home | |
| wget http://www.ipvideotrans.com/download/ipvtl_trial-x64.tar.xz |
| ffmpeg -i $1 -vn -acodec libvorbis -ab 128k -dash 1 $2/audio.webm | |
| ffmpeg -i $1 -c:v libvpx-vp9 -keyint_min 150 \ | |
| -g 150 -tile-columns 4 -frame-parallel 1 -f webm -dash 1 \ | |
| -an -vf scale=160:190 -b:v 250k -dash 1 $2/video_160x90_250k.webm \ | |
| -an -vf scale=320:180 -b:v 500k -dash 1 $2/video_320x180_500k.webm \ | |
| -an -vf scale=640:360 -b:v 750k -dash 1 $2/video_640x360_750k.webm \ | |
| -an -vf scale=640:360 -b:v 1000k -dash 1 $2/video_640x360_1000k.webm \ | |
| -an -vf scale=1280:720 -b:v 1500k -dash 1 $2/video_1280x720_1500k.webm \ | |
| -an -vf scale=1920:1080 -b:v 5300k -dash 1 $2/video_1920x1080_5300k.webm |
Extract audio from a YouTube video file
ffmpeg -i INPUT.mp4 -ab 256k OUTPUT.mp3Cut 3s length
ffmpeg -y -ss 00:00:03 -i INPUT.mp4 -codec copy OUTPUT.mp4Based on https://evilmartians.com/chronicles/better-web-video-with-av1-codec
ffmpeg -i SOURCE.mov -map_metadata -1 -c:a libfdk_aac -c:v libx264 -crf 24 -preset veryslow -profile:v main -pix_fmt yuv420p -movflags +faststart -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" video.h264.mp4| #!/bin/bash | |
| INT=2; RXDIR=/sys/class/net/eth0/statistics/rx_bytes; TXDIR=/sys/class/net/eth0/statistics/tx_bytes; RXSTART=$(cat $RXDIR); TXSTART=$(cat $TXDIR); sleep $INT; RXEND=$(cat $RXDIR); TXEND=$(cat $TXDIR); RXBPS="$(((RXEND-RXSTART)/INT))"; TXBPS="$(((TXEND-TXSTART)/INT))"; echo "$RXBPS" "$TXBPS" |