I subscribed to local satellite TV but I seldom watch it due to my travelling nature. So I pay MYR100.00 every month for nothing. Frustated by this situation , I developed a system where I can watch my TV on my Blackberry anytime and anywhere.
This tutorial is quite technical and I assume you have these knowledges
- Ability to map incoming port 1935 from your router to you streaming server ( NAT )
- Understanding how Flash RTMP works
To make this run, I assume you too have these hardwares
- Capture Card ( I use K-World USB 2.0 Capture Card )
- Broadband Internet
- Dedicated PC as Encoder
For softwares, please download them all
- Wowza Media Server for Windows ( http://www.wowzamedia.com/store.html )
- Adobe Flash Live Media Encoder ( http://www.adobe.com/products/flashmediaserver/flashmediaencoder/ )
Step 1 : Install Wowza Media Server
- Read the guide over here ( http://www.wowzamedia.com/forums/content.php?3-quick-start-guide )
- Install Wowza Media Server on your windows and run the server. In my case, I install Wowza on D:\wowza
- Run the server by running D:\wowza\bin\startup.bat ( using Windows Explorer )
- You should have this console running up
- To test your Wowza running perfectly, open your browser to http://localhost:1935
Step 2 : Install & Configure Adobe FMLE 3.2
- Adobe FMLE is a free encoder that convert your raw input video to Flash H264. Means, your video source needs to be converted into Flash compatible video before sending it to the server.
- Enter the setting on adobe FMLE like in the picture below
- Tick Stream To Flash Server
- FMS URL : rtmp//localhost/live/
- Stream : myStream
- Click Connect button
- See the result on Wowza Console . You should see INFO session connect 127.0.0.1. Means you successfully connected to the server
- Ok, now click the Start button on FMLE. You should see the result like image below
- And on the Wowza Console Screen, you should see the message
INFO stream publish myStream – - Congratulation, now you’re streaming to the server. But how to test the stream ? Navigate to D:\wowza\examples\LiveVideoStreaming\client and open live.html using Mozilla Firefox or Google Chrome . Enter the setting like in the image and click Play.
- At this stage, you are actually half way done. Now to enable your streaming server available from internet. You’ll need to map your router ( Streamyx Router in my case ) to IP of your machine. Any incoming request on port 1935 should mapped to your machine. In order to do this you will need to know your machine ip address and map it on the router. You’ll need google for this.
- After successfully doing that, you can check you Public IP Address using ( http://www.whatismyip.com/ ) and repalce the localhost address to your actually IP Address and click Play again. Or maybe you can zip the LiveVideoStreaming folder and give it to your friend to test it out.
Stream To Mobile ( BlackBerry )
- Wowza already have the feature to stream into RTSP format. If you have Blackberry phone, follow the steps
- Connect you blackberry to your home wifi
- Open Blackberry browser and open this address rtsp://< your wowza ip adress>:1935/live/myStream ( in my case is rtsp://192.168.1.2:1935/live/myStream )
- Well you’ll get error. On Adobe FMLE, use this setting ( see image below )
- Video : H264 ( BASELINE 3.0 Keyframe Frequency : 2 secs )
- Turn off the Audio and click start ( Blackberry does not accept MP3 or Nellymoser Coder, so just for testing , turn the Audio Off )
- Open rtsp://<your wowza ip address>:1935/live/myStream on your Blackberry, and you should see the video playing. User port 1935 as BlackBerry will use that port to stream the RTSP.
- The video plays smoothly on my Blackberry Bold9700. Now the only problem is Audio. To solve this problem, we either can use these solutions
- Change the encoder to Telestream Wirecast ( http://www.telestream.net/wire-cast/wirecast.htm )
- or
- Use MainConcept AAC Plugin for Adobe FMLE 3.2 ( http://www.mainconcept.com/products/apps-plug-ins/plug-ins-for-adobe/aac-encoder.html )
- Wirecast will cost you USD450.00 and Mainconcept AAC is USD200. In my case, I use my Mac Book Pro and Adobe FMLE 3.2 for MAC already comes with AAC.
- In this example, download MainConcept AAC Plugin ( it only works for 10 secs in trial mode ). Restart Adobe FMLE and check the format in Audio setting
- Use the AAC or HEAAC for audio format and test the stream again on your BlackBerry. You should be able to hear the sound.
- Now the interesting part, to capture the video from your setup box, ( in my case Astro Beyond Decoder ).
- I use K- World USB 2.0 DVD Maker 2 Capture ( priced MYR 150.00 at Lowyat.net )
- K-World USB 2.0 Capture Device
- Mac Book Pro encoding
- In Adobe FMLE Video Source, change to the USB device and now you’re streaming TV to your mobile.
- Now I can watch TV anytime anywhere provided I know my Home server IP Address. Please note that Wowza Media Server 2 Trial Edition only limits 10 concurrent connections. So in my case that’s more than enough as I only stream 1 channel.