VOD Streaming to Iphone / Blackberry using Wowza Media Server

Imagine you can watch your favorite movies using 3G or Wifi from your video streamer server. In this tutorial, we are going to develop a movie streamer to our targeted mobile devices.

1. Download & install Wowza Media Server 2.2.4  for Windows Platform

2. Read the quickstart guide and enable HTTP Live Streaming and RTSP port on 554

3. Connect your BB/iOS to Wifi and test the stream using Wowza examples file

So basically I’ll not cover on how to install Wowza. wowza documentation is really great. Just follow the guide and you’ll set.

And I assume you have these knowledge

  • RTMP / RTSP / Apple Http Protocol
  • Wowza Media Server Administration

Please note that Wowza Media Server Developer edition limit to only 10 concurrent connections, and 10 seconds stream to HTTP Live Streaming. So you might need to apply for Eval license or buy the full version.

The challenge is to rip you DVD contents and convert it for mobile playback using single file.

1. Rip your DVD

\

I’m using my original Avatar DVD Video and rip it as backup purpose

Rip the DVD using CladDVD.net

Join the extracted DVD files using file joiner

Transcode the file using FFMPEG. The output plays fine on iOS but somehow no video on BB.

So I transcode again the output file from FFME using Super.

Copy the transcoded files into Wowza VOD Content Directory, in my case D:\wowza\content

Start Wowza server ( vod configured and tested ) and let’s test playing on BB/iOS

Open rtsp://192.168.1.127:1935/vod/mp4:avatar01.mp4 on BB now the video plays

Serve over Wifi

FFMPEG Command
ffmpeg -threads 4 -y -i VTS_03_1.VOB  -aspect 16:9 -r 29.97 -vcodec libx264 -s 320×240 -flags +loop -cmp +chroma -deblockalpha 0 -deblockbeta 0 -crf 24 -bt 256k -refs 1 -coder 0 -me_method umh -me_range 16 -subq 5 -partitions +parti4x4+parti8x8+partp8x8 -g 250 -keyint_min 25 -level 30 -qmin 10 -qmax 51 -trellis 2 -sc_threshold 40 -i_qfactor 0.71 -acodec aac  -strict experimental -ab 128k -ar 48000 -ac 2 -vol 512 d:\wowza\content\avatar01.mp4

Resources

Wowza http://www.wowzamedia.com

FFMpeg http://www.ffmpeg.org

Super http://www.erightsoft.com/SUPER.html

CladDVD.net http://www.clonead.co.uk

 

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s