How to re-stream RTSP stream with Wowza Media Server

When publishing live streams to the public from IP camera or other source, you will in most cases need a streaming server to re-stream the source for security purposes and to be able to handle the traffic. Wowza is great for that! Here’s how to install it and set up a live RTSP re-stream.

Install Java Runtime Environment (JRE)

1. Add non-free packages to apt sources (pico /etc/apt/sources.list)

Add "non-free" behind "main" for all lines in the file. For example, change:
 
deb http://ftp.debian.org/debian/ squeeze main
deb-src http://ftp.debian.org/debian/ squeeze main
 
to
 
deb http://ftp.debian.org/debian/ squeeze main non-free
deb-src http://ftp.debian.org/debian/ squeeze main non-free
Continue reading

How to install ffmpeg with H.264/MPEG-4 AVC

H.264/MPEG-4 Part 10 or AVC (Advanced Video Coding) is a standard for video compression, and is currently one of the most commonly used formats for the recording, compression, and distribution of high definition video.

The ffmpeg package provided by Debian repositories doesn’t support H.264 due to patent restrictions. Luckily deb-multimedia.org provides a ffmpeg package compiled with H.264 support and it’s very easy to install.

1. Add the deb-multimedia.org to apt sources

echo "deb http://www.deb-multimedia.org squeeze main non-free" >> /etc/apt/sources.list
Continue reading