echo "Enter m3u8 link:";read link;echo "Enter output filename:";read filename;ffmpeg -i "$link" -bsf:a aac_adtstoasc -vcodec copy -c copy -crf 50 $filename.mp4
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
| -- what is it: | |
| -- this is a file designed to make vs code's Lua extension intellisense working properly | |
| -- it contains placeholders for Lua content defined by C++ files | |
| -- how to use: | |
| -- download vs code | |
| -- install sumneko's lua extension | |
| -- drop this file to your data/scripts folder | |
| -- make sure it starts with # so it won't get loaded by the tfs | |
| -- open folder in vs code |
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
| var Promise = require("bluebird"), | |
| os = require('os'), | |
| fs = Promise.promisifyAll(require('fs')), | |
| fse = Promise.promisifyAll(require('fs-extra')); | |
| var dogen = function() { | |
| return fs.readFileAsync('./lua-functions.txt') | |
| // Parse XML contents into an object | |
| .then(function(contents) { |
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
| package main | |
| import ( | |
| "net" | |
| "os/exec" | |
| "github.com/k0kubun/pp" | |
| ) | |
| func Hosts(cidr string) ([]string, error) { |
