Skip to content

Instantly share code, notes, and snippets.

Robin Hielscher Jack0r

Block or report user

Report or block Jack0r

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Jack0r
Jack0r / nginx.conf
Created Sep 26, 2016
Nginx config für alpin
View nginx.conf
#user nobody;
worker_processes 1;
events {
worker_connections 1024;
}
rtmp {
server {
listen 1935;
@Jack0r
Jack0r / index.html
Created Mar 25, 2015
Example index file for nginx
View index.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Stream Control/Stats</title>
<script src="assets/jwplayer.js" type="text/javascript"></script>
</head>
<body>
@Jack0r
Jack0r / nginx.conf
Last active Feb 20, 2017
Nginx, simple secure server, http and rtmp only local network
View nginx.conf
worker_processes 1;
error_log logs/rtmp_error.log debug;
pid logs/nginx.pid;
events {
worker_connections 1024;
}
http {
@Jack0r
Jack0r / remux.bat
Created Jan 10, 2015
Batch file to remux flv to mp4
View remux.bat
@echo off
if [%1]==[] goto :eof
:loop
D:\Dropbox\Programme\Encoding\ffmpeg -i %1 -c copy -copyts %1.mp4
shift
if not [%1]==[] goto loop
@Jack0r
Jack0r / nginx.conf
Created Oct 24, 2014
Nginx, simple rtmp only configuration
View nginx.conf
#user nobody;
worker_processes 1;
events {
worker_connections 1024;
}
rtmp {
server {
listen 1935;
@Jack0r
Jack0r / nginx.conf
Last active Oct 17, 2019
Nginx transcode example using ffmpeg and two applications
View nginx.conf
#user nobody;
worker_processes 1;
error_log logs/rtmp_error.log debug;
pid logs/nginx.pid;
events {
worker_connections 1024;
}
@Jack0r
Jack0r / ownscripts.grc
Last active Sep 23, 2016
Mirc Highlight on Nick
View ownscripts.grc
on *:TEXT:*:#:{
if ($me isin $1-) {
/window -b @Highlights
echo @Highlights $chan - $asctime(dd.mm.yy h:nn:ss) - $nick : $+ $1-
}
}
on *:ACTION:*:#:{
if ($me isin $1-) {
/window -b @Highlights
echo @Highlights $chan - $asctime(dd.mm.yy h:nn:ss) - $nick : $+ $1-
@Jack0r
Jack0r / nginx.conf
Last active Aug 29, 2015
Nginx default config with http server and stat configuration
View nginx.conf
#user nobody;
worker_processes 1;
error_log logs/rtmp_error.log debug;
pid logs/nginx.pid;
events {
worker_connections 1024;
}
@Jack0r
Jack0r / gist:867df296fc536b3f6cb6
Last active Sep 3, 2019
FFmpeg command line examples
View gist:867df296fc536b3f6cb6

Simple Stream

ffmpeg -i rtmp://server.ip/application/streamname -c copy -f flv rtmp://server.ip/application/streamname

Copy to FLV

ffmpeg -i %1 -c copy -copyts %1.flv

Copy 5 minutes to MP4

ffmpeg -i %1 -t 00:05:00 -c copy -copyts %1.mp4

Encode to MP4 at 8k bitrate, veryfast preset and film tuning, AAC Audio

View gist:4a2d39f467106d0940cd
auto/configure --with-cc=cl --builddir=objs --prefix= --conf-path=conf/nginx.conf --pid-path=logs/nginx.pid --http-log-path=logs/access.log --error-log-path=logs/error.log --sbin-path=nginx.exe --http-client-body-temp-path=temp/client_body_temp --http-proxy-temp-path=temp/proxy_temp --http-fastcgi-temp-path=temp/fastcgi_temp --http-uwsgi-temp-path=temp/uwsgi_temp --http-scgi-temp-path=temp/scgi_temp --with-cc-opt=-DFD_SETSIZE=1024 --with-pcre=objs/lib/pcre-8.36 --with-zlib=objs/lib/zlib-1.2.8 --with-openssl=objs/lib/openssl-1.0.1l --with-select_module --with-http_ssl_module --with-http_secure_link_module --add-module=objs/lib/nginx-rtmp-module-1.1.6
You can’t perform that action at this time.