Skip to content

Instantly share code, notes, and snippets.

@varunchopra
Last active February 9, 2017 01:40
Show Gist options
  • Save varunchopra/507fd77b50cbb27dd78711ab4ebe431c to your computer and use it in GitHub Desktop.
Save varunchopra/507fd77b50cbb27dd78711ab4ebe431c to your computer and use it in GitHub Desktop.
#!/bin/bash
PATH=/bin:/usr/bin:/sbin:/usr/sbin
apt-get -y install build-essential gcc make git libssl-dev
git clone https://github.com/chopraaa/rtmpdump-ksv.git
cd rtmpdump-ksv
patch -p0 -i Patch.diff
make
make install prefix=/usr
cp librtmp/librtmp.so.1 /usr/lib/x86_64-linux-gnu/librtmp.so.1
cd ../ && rm -rf rtmpdump-ksv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment