Archivo de la etiqueta: wowza

Working with Wowza logs

Improve logs management and rotation over linux, combining Log4j and LogRotate.

Modify the for using other Appender:

# Access appender

Create the logrotate configuration file into Centos/RedHat the path is:

nano /etc/logrotate.d/wowza
/usr/local/WowzaMediaServer/logs/*.log {
       rotate 3

And the last step is you have very big logs files like is my case, and into one day I can have 2 GB of logs or more, move the log rotate for check every hour instead of every day

mv /etc/cron.daily/logrotate /etc/cron.hourly/

Inspired in this post:

Other way to work with Wowza logs, can be using external Jar for rotate the logs by Size and Time, this way if you are running into WinOS or don’t like to use LogRotate for this task can have similar functionality

For more details can check the Wowza Forum post:

How to know what is happening inside Wowza?

I have seen into the Blog stats than the most common question is How To Monitor Wowza Media Server… for this reason I’ll start to write a series of Posts about this topic.

In this first post I’ll request your help too, let me know what you would like to know about your Wowza Server.

Currently the information I consider useful, is:

  • Concurrent Connection (separated by Protocol –  HTTP Cupertino / HTTP Silverlight / RTSP / RTMP)
  • MemoryHeap (the memory used by the JVM)
  • Version (if you have multiple server,it is difficult remember what version you have installed)
  • Bandwidth Traffic (by Vhost, Application or ApplicationInstances)

And here the question… What info would you like to know about Wowza?

Please post into the comment what else you would like to know…

Into the next post, I’ll show examples, graphs and other tips to get this information from the Wowza Server, using JMX protocol.

But here I show a snake peak of the information and the Graph you can have.

How to read VOD files from Amazon S3 on Standalone Wowza Server

UPDATE: Official documentation be available here:

from this line all be outdated ——->

I’ll explain how to is possible read the files from Amazon S3 Storage but without using a EC2 instance.
For example your “localhost” or your Standalone Wowza server running on your own datacenter.

I did this for working on my local development environment, I’ll describe the steps for a Linux environment.

1- Download from this URL the 2 Jars, and copy this in /lib directories.

wms-plugin-amazonaws.jar (1830)
wms-plugin-mediacache.jar (1809)

2- Create the MediaCache folder:

mkdir /mnt/mediacache

3- Insert into the conf/Server.xml this lines:


4- Insert into the conf/vods3/Application.xml (create this first) this lines:


And in the end of the file, add this properties (I don’t know is needed this for read Public content):

                        <!-- Set these two properties to do S3 authentication -->

5- Restart the Wowza Server and try reading from S3 Bucket.

The URL can be like this:

Tell me is I missing some step or need some extra help.

VOD Demo (Amazon EC2 instance, S3 storage)

THIS DEMO IS NOT WORKING NOW, Whe are Updating the Server

All this demos are Hosted in a Standalone Instance, and the files are serving from S3 Storage platform.

Demo a 778k (650k video + 128k audio)

[pro-player width=’568′ height=’320′  type=’rtmp’ streamer=’rtmp://’]amazons3/wmconsulting.content/[/pro-player]

Demo a 578k (450k video + 128k audio)

[pro-player width=’568′ height=’320′ type=’rtmp’ autostart=’false’ streamer=’rtmp://’]amazons3/wmconsulting.content/[/pro-player]

Demo a 328k (200k video + 128k audio)

[pro-player width=’560′ height=’320′ type=’rtmp’ autostart=’false’ streamer=’rtmp://’]amazons3/wmconsulting.content/[/pro-player]

Demo a 328k (200k video + 128k audio) Tamaño Original

[pro-player width=’284′ height=’160′ type=’rtmp’ autostart=’false’ streamer=’rtmp://’]amazons3/wmconsulting.content/[/pro-player]

ShoutCast Relay Demo


In this first post I’ll show  a demo.

About how can make a relay with Wowza Server from a Shoutcast server.

Demo with JWPlayer

[pro-player width=’182′ height=’120′ type=’rtmp’ fullscreen=’false’ autostart=’false’ streamer=’rtmpt://’][/pro-player]

You can improve the user experience, provide a On-line Player in Flash, and running over the port 80 with RTMP protocol, this way don’t have problem with the firewall.

Don’t hesitate to send your feedback or question about that.