Skip to content

Instantly share code, notes, and snippets.

@Domin8-IPTV
Domin8-IPTV / fluss.sh
Last active January 25, 2024 10:15
flussonic
#!/bin/bash
# cracked flussonic
wget -q -O - http://debian.erlyvideo.org/binary/gpg.key | apt-key add -;
echo "deb http://debian.erlyvideo.org binary/" > /etc/apt/sources.list.d/erlyvideo.list;
apt-get update;
apt-get -y install flussonic flussonic-transcoder;
echo 'l4|8Ku8ypPgOUySHysCdkFHW0|r6BzpmVPpjgKpn9IunpFp6lLbCZOp3' >> /etc/flussonic/license.txt
/etc/init.d/flussonic start
@Domin8-IPTV
Domin8-IPTV / make247.sh
Created May 23, 2019 17:11
ffmpeg concatenate all media files in the current directory with .mp4 extension
#!/bin/sh
# use ffmpeg to concatenate all the mp4 files in the media directory
# make file executable and run like this
# ./make247.sh /path/to/media/folder
#
IN_DIR="$1";
if [ "$IN_DIR" = '' ] ; then
IN_DIR="."
fi
for f in ${IN_DIR}/*.mp4; do echo "file '$f'" >> concat-list.txt; done
@Domin8-IPTV
Domin8-IPTV / BBCiPlayer.m3u8
Created December 22, 2019 23:24
BBCi Player M3U8
#EXTM3U
#EXTINF:-1 tvg-id="BBC One HD" tvg-name="BBC One HD" tvg-logo="https://s4.postimg.org/k5xl5dmf1/bbc_one.png" group-title="BBC",BBC One HD
http://a.files.bbci.co.uk/media/live/manifesto/audio_video/simulcast/hls/uk/abr_hdtv/ak/bbc_one_hd.m3u8
#EXTINF:-1 tvg-id="BBC One London" tvg-name="BBC One London" tvg-logo="https://s4.postimg.org/z61nj8qd9/Bbc_london_logo.jpg" group-title="BBC",BBC One London
http://a.files.bbci.co.uk/media/live/manifesto/audio_video/simulcast/hls/uk/hls_tablet/ak/bbc_one_london.m3u8
#EXTINF:-1 tvg-id="BBC One Northern Ireland HD" tvg-name="BBC One Northern Ireland HD" tvg-logo="https://s3.postimg.org/ltztuojqr/6y_QROLCn_400x400.png" group-title="BBC",BBC One Northern Ireland HD
http://a.files.bbci.co.uk/media/live/manifesto/audio_video/simulcast/hls/uk/abr_hdtv/ak/bbc_one_northern_ireland_hd.m3u8
#EXTINF:-1 tvg-id="BBC One Scotland HD" tvg-name="BBC One Scotland HD" tvg-logo="https://s3.postimg.org/ltztuojqr/6y_QROLCn_400x400.png" group-title="BBC",BBC One Scotland HD
http://a.fi
#!/usr/bin/env python
import sys
import urllib2
import codecs
from contextlib import closing
class Track:
def __init__(self, length, title, path):
self.length = length
@Domin8-IPTV
Domin8-IPTV / vod2hls.sh
Created June 17, 2019 20:34
create hls live stream from files
#!/bin/bash
# Change this to path of file to stream /edit/to/vod/path.mp4
mediaFile="/edit/to/vod/path.mp4"
### 480x video400kbps audio40kbps ###
mediaStreams="-map 0"
audCodec="-acodec mp2"
audKbps="-b:a 40k"
@Domin8-IPTV
Domin8-IPTV / dropbox.sh
Created March 4, 2020 15:54
dropbox.sh
#!/bin/bash
#////////////////////////////////////////////////////////////
#===========================================================
# Dropbox FS Installer for Debian / Ubuntu
#===========================================================
# set environment
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
LOG=/tmp/dropbox_fs.log
# are we running as root
@Domin8-IPTV
Domin8-IPTV / web-fm.php
Created June 24, 2019 01:10
browser based file manager sign in username and password with MD5 encryption
<?php
/**
* File Manager Script
*/
// Default language ('en' and other from 'filemanager-l10n.php')
$lang = 'en';
// Auth with login/password (set true/false to enable/disable it)
$use_auth = true;
@Domin8-IPTV
Domin8-IPTV / insert.php
Created September 29, 2020 16:43
insert weekly score
<?php
// MADE BY M4UNDY
// ENTER SHOOTERS WEEKLY SCORES INTO MYSQL DATABASE
$shooter = mysqli_real_escape_string($link, $_POST['shooter']);
$values = [];
foreach ($_POST['week_score'] as $key => $score) {
$score = trim(mysqli_real_escape_string($link, $score));
if (!empty($score)) {
$values[] = "('$shooter','$key','$score')";
@Domin8-IPTV
Domin8-IPTV / yt-fb-live.php
Last active September 28, 2020 01:42
GET LIVE SOURCE FEED FROM YOUTUBE AND FACEBOOK LIVE STREAMS
<?PHP
/*
YOUTUBE AND FACEBOOK LIVE STREAM SNATCHING
MADE BY M4UNDY
*/
$channelid = $_GET["watch?v"];
ini_set("user_agent","facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)");
function get_data($url) {
$ch = curl_init();
$timeout = 5;
@Domin8-IPTV
Domin8-IPTV / ffmpeg2mp4.php
Created May 23, 2019 17:14
use ffmpeg to convert all media files in directory to mp4
<?php
/**
* cd into folder with video files and run:
* php /path/to/ffmpeg2mp4.php mp4
*/
class Transcoder{
protected static $ffmpeg='ffmpeg';