Skip to content

Instantly share code, notes, and snippets.

View freethinker's full-sized avatar

Pratik Sinha freethinker

View GitHub Profile
@noelli
noelli / 1 NGINX RTMP-Server Setup for local Streams.md
Last active October 3, 2023 15:34
Compile NGINX with RTMP and setup Multi-Streaming

Compile NGINX with RTMP and setup Multi-Streaming

These Scripts will install NGINX with the RTMP Module in the usual directories similar to installation with apt-get.

The RTMP-Server you get with this can then be used to do one ore more of the following:

  • deliver streams in a local network
  • deliver streams to websites similar to youtube
  • transcode rtmp streams to hls video
  • publish to multiple streaming providers
  • record livestreams to a harddrive
@gfodor
gfodor / ffmpeg-minimalist-build-nvenc-static.md
Last active January 20, 2023 14:55
Static FFmpeg build on Ubuntu 16.04 with Nvidia NVENC enabled.

Minimalist static FFmpeg build on Ubuntu 18.10 with Nvidia NVENC enabled.

Original guide with a standard build is here.

With this guide, I'm adding more instructions to enable support for NVIDIA CUVID and NVIDIA NPP for enhanced encode and decode performance.

First, prepare for the build and create the work space directory:

cd ~/