Live video stream event for online Temple or Church


Hits: 5105  

Wowza / Red5 Streaming Live Video with Flash Media Live Encoder

Live Video Stream will be coming
Wowza Live Stream Countdown

Requirements

– A computer running Windows or Apple operating system
– Software “Flash Media Live Encoder (Adobe)”
– Streaming Server (Wowza/Red5/FMS)
– Video input that is recognized by the operating system (i.e. USB camera)
– Video player: VLC or Web Player (JWplayer/Flowplayer/OSMPlayer)

1) Download the free Flash Media Live Encoder

2) Install the Flash Media Live Encoder

3) In the program
– Preset choose bandwidth
– Device Select your video/audio source device
– Choose Video Format H.264
– Choose Audio Format MP3

Enter Stream to Flash Media Server streaming data from your provider

FMS URL: rtmp://[Media-Server-IP-Address]:[Port]/live
Stream: livestream

FMLE

4) Click on “connect”
You will get a pop-up window, enter your username and password you of your received media streaming provider.

5) Click “start” and that’s all!

FMLE

6) Open stream link to your video player that has received.
rtmp://[Media-Server-IP-Address]:[Port]/live/livestream

Links
http://www.adobe.com/products/flash-media-encoder.html
http://www.jwplayer.com/wizard/

Get more help to setup Live video stream event on mobiles (iOS/Androids) using Wowza or Red5 Contact Us

Liquidsoap GStreamer


Hits: 5705  

LiquidSoap Liquidsoap is a programming language to manage audio and video source streams for Icecast Radio server.

Liquidsoap is a powerful and flexible language for describing, creating or transforming streams. It offers rich operators and library that you can be used for making Icecast Radio Server.

Now Play Your Favorite Radio FM Stream in HTML5 Player…..
Live Audio Streaming, Internet Radio Player

Features

* It can play icecast stream from files, playlists, directories or scripted playlists.
* Liquidsoap used for scheduling of source streams.
* It help to Mix sources streams.
* It allows queuing of user requests.
* It allows sound compression, normalization, echo, volume, Blank detection.
* It is useful for rewriting and inserting Metadata in Radio Stream.
* It can play live stream play files and streams like Last.fm.
* It can output to Radio Server Icecast/Shoutcast (MP3/Ogg).
* It also support Video streams generation.

You can use it to stream RTMP MP3 stream to Icecast/Shoutcast using mplayer, rtmpdump or gstreamer …

GStreamer- open source multimedia framework

GStreamer provide a rich library to manage streaming audio/video with complex audio (mixing) and video (non-linear editing) processing.

#!/usr/bin/liquidsoap
set(“log.file.path”,”logs/gs.log”)
set(“log.file”,true)
set(“log.stdout”,true)
….
….
gst = input.gstreamer.audio(pipeline=”playbin uri=rtmp://server.com/livestream.mp3″)
output.icecast(%mp3(), host = “localhost”, port = 8000, password = “xxxxxx”, mount = “gst stream”, fallible=true, gst)

Common Errors

File format problem can display ^M characters

😉 : set ff=unix and then : x in vi editor

init: security exit, root euid (user)

😉 you need to run liq file with non root user

the variable input.gstreamer.audio used here has not been previously defined

😉 Define variable “input.gstreamer.audio” .. .find here https://github.com/savonet/liquidsoap/tree/master/scripts

Stay connected for more Audio / Video Programming ….

Audiojs.swf?playerInstance audiojs instances [%27audiojs0%27]


Hits: 4291  

If you are using audio.js as MP3 player or playlist …. on some browser it causing error 403 to access SWF file with player instance

http://yourdomain.com/audiojs/audiojs.swf?playerInstance=audiojs.instances[%27audiojs0%27]&datetime=1382426114401.4087

You need to make sure you have right permission on that SWF file and check JavaScript playerInstance below….

Firefox Error

403 Forbidden

http://yourdomain.com/audiojs/audiojs.swf?playerInstance=audiojs.instances[%27audiojs0%27]&datetime=1382426114401.4087

Solution:

Just replace code (Original audio.js)

flashSource: ‘\
<object classid=”clsid:D27CDB6E-AE6D-11cf-96B8-444553540000″ id=”$1″ width=”1″ height=”1″ name=”$1″ style=”position: absolute; left: -1px;”> \
<param name=”movie” value=”$2?playerInstance=’+audiojs+’.instances[\’$1\’]&datetime=$3″> \
<param name=”allowscriptaccess” value=”always”> \
<embed name=”$1″ src=”$2?playerInstance=’+audiojs+’.instances[\’$1\’]&datetime=$3″ width=”1″ height=”1″ allowscriptaccess=”always”> \
</object>’,

with

flashSource: ‘\
<object classid=”clsid:D27CDB6E-AE6D-11cf-96B8-444553540000″ id=”$1″ width=”1″ height=”1″ name=”$1″ style=”position: absolute; left: -1px;”> \
<param name=”movie” value=”$2?playerInstance=’+audiojs+’.instances[&quot;$1&quot;]&datetime=$3″> \
<param name=”allowscriptaccess” value=”always”> \
<embed name=”$1″ src=”$2?playerInstance=’+audiojs+’.instances[&quot;$1&quot;]&datetime=$3″ width=”1″ height=”1″ allowscriptaccess=”always”> \
</object>’,

This is not permission (0755 or 0777) error of SWF file, Make sure you have valid characters on some browsers…

instances[\’$1\’] => instances[&quot;$1&quot;] 😉

HTML5 MP3 Player with Folder Feedburner Playlist


Hits: 5758  

WordPress and Standalone HTML5 MP3 Music Player with Playlist for MP3 Folder / Feedburner XML compatible with iOS, Android and supports all browsers Firefox, Chrome, Safari, IE and Opera!

Read MP3 Folder URL

MP3 Folder Index
MP3 Folder Index

This plugin can read MP3 folder like http://www.domain.com/mp3/ and automatically create dynamic horizontal & vertical playlist

MP3 Folder with song’s index list http://www.domain.com/mp3/ (public) or http://www.domain.com/mp3/list.php (private)

Read Feedburner URL

This plugin can read feedburner url like http://feeds.feedburner.com/thejustinwayneshow and automatically create dynamic horizontal & vertical playlist

Features

Folder: MP3 Songs folder or Feedburner XML
Prev / Loop / Next in playlist
Embed full playlist
Customize social link

Paid Features

Self hosted player files
Best support on email
Download songs option
MP3 Song’s information using ID3 Tags
Customize Social Share on Facebook & Twitter
Volume Control
Embed Code Option

Demo: Try sample MP3 Folder Playlist here

FFmpeg – ERROR: librtmp not found


Hits: 8629  

I was installing FFmpeg for segmenting Red5 Streams to stream live video from Red5 Server to iOS or Android devices.

RTMP (Red5) -> FFMpeg -> Segementer -> .ts files -> iOS (m3u8)

I really needed mp4 (AAC/H.264) and ogg (Vorbis/Theora) format for best HTML5 output.

I checkout FFmpeg source and tryed below command to install / configure it

# ./configure –enable-gpl –enable-nonfree –enable-libmp3lame –enable-libfaac –enable-librtmp –enable-libtheora –enable-libvorbis –enable-libx264 –enable-shared –enable-postproc

error while loading shared libraries: libfaac.so.0:

I have already installed all dependencies, but links to shared libraries was not found … so …

# echo “/usr/local/lib” >> /etc/ld.so.conf
# echo “/usr/lib” >> /etc/ld.so.conf
# ldconfig

ldconfig creates the necessary links and cache to the most recent shared libraries found in the directories specified on the command line, in the file /etc/ld.

Another error ERROR: librtmp not found

# ls /usr/local/lib/librtmp*

/usr/local/lib/librtmp.a /usr/local/lib/librtmp.so

On CenOS before compiling ffmpeg, make sure you have valid path of packages in PKG_CONFIG_PATH

# export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig

We worked on RTMP (Live Red5 CAM) to iOS (iPhone or iPad). Get more help for HTTP Live Video Stream Segmenter and Distributor Contact Us

Read more…. VOD to iOS | Red5 Media Server iOS Android Setup

Mobile Apps for Safety


Hits: 4747  

Mobile apps across various operating systems that can help to save our souls and keep our loved ones informed about each other.

Lot of people are searching mobile applications for personal security these days, I am trying to help to find some useful Mobile Applications on Android Google Play Market.

Life360 Family Locator http://www.life360.com/

Life360 Family Locator
Family Locator by Life360 is the most accurate and powerful locator service.

Family Locator by Life360 is the most accurate and powerful family locator service. Using the latest GPS tracking technology.

SOS Whistle

The whistle sound is played when pressed. stop if you press the button again.
The whistle sound is played when pressed.
stop if you press the button again.

Ask for help when a disaster and nobody even noticed.

Circle of 6

Circle of 6 to automatically send your circle a pre-programmed SMS alert message
Circle of 6 to automatically send your circle a pre-programmed SMS alert message

Circle of 6 lets you choose six trusted friends to add to your circle. If you get into an uncomfortable or risky situation, use Circle of 6 to automatically send your circle a pre-programmed SMS alert message, with your exact location.

Fight Back

FightBack Mobile Application SOS
FightBack Mobile Application SOS

FightBack uses GPS, SMS, location maps, GPRS, email and your Facebook account to inform your loved ones in case you are in danger.

Guardly | Alert. Connect. Stay safe.

Guardly | Alert. Connect. Stay safe.
Guardly | Alert. Connect. Stay safe.

Guardly is an enterprise platform for emergency communication, management and response in education, commercial, mass transit and healthcare.

YWCA Safety Alert

YWCA Safety Alert
YWCA Safety AlertYWCA Safety Alert

The YWCA Safety Alert App is designed to enhance the safety of young women at any time and anywhere.

Scream Alarm!

Scream Alarm
Scream Alarm

FREE safety alarm that does only one thing: push the button for making the phone scream loudly with a woman’s voice!

Glympse – Share your where

Share your where
Share your where

Safely share your location in real-time via email, SMS, Facebook, or Twitter.

Eyewatch Basic – The “No More Panic” Button

Eyewatch Basic
Eyewatch Basic

Eyewatch allows you to trigger instant emergency alerts to your trusted contacts, alerting them of your emergency along with your location, audio visuals of the situation and other critical details.

S&S Rescue Pack

S&S Rescue Pack
S&S Rescue Pack

S&S App has prepared to quick access useful tools for any time you need. Access the features is realy simple, you can reach all features with just one click.

One Touch SOS

One Touch SOS
One Touch SOS

Ultra-quick, single click SOS when you’re in danger. Gets your location and sends the address to your buddy with a marker on a map.

Bsafe

bSafe is what you need! This GPS-based safety alarm is packed features to make you safer. With bSafe you never walk alone!
bSafe is what you need! This GPS-based safety alarm is packed features to make you safer. With bSafe you never walk alone!

bSafe is GPS-based safety alarm is packed features to make you safer.

Real Alert

Real Alert
Real Alert

REAL ALERT helps you to stay alert and aware of your surroundings, provides quick access to emergency services & directs you to the closest hospital.

DriveSafe.ly

drivesafely
drivesafely

It is a mobile application (solution to texting while driving) that reads text (SMS) messages and emails aloud in real time and automatically responds without drivers touching the mobile phone.

Amber Alert GPS Parent

Amber Alert GPS
To track your Smartphone-carrying tween or teen, or to track multiple Smartphones and Amber Alert GPS devices

Amber Alert GPS Parent can track your Smartphone-carrying tween or teen, or to track multiple Smartphones.

IWatch Beta

IWatch Beta
An initiative by Rajashtan Police to connect citizens to stop crime and provide services without much trouble.

An initiative by Rajasthan Police to connect citizens using Android Mobile App to stop crime and provide services without much trouble.

Cross Browser Flash Detection in Javascript


Hits: 6960  

Option 1:

<script type="text/javascript">

      $(document).ready(function(){

      if (navigator.mimeTypes ["application/x-shockwave-flash"] == undefined)
      {
        alert("Flash is not insalled on your Web browser.");
      }
      else
      {
        alert("Flash is insalled on your Web browser.");
      }

      });
</script>

 

Option 2: JavaScript Flash Detection Library (Flash Detect)

<script src="flash_detect.js"></script>
<script type="text/javascript"> 
    if(!FlashDetect.installed){
        alert("Flash is not insalled on your Web browser.");         
    }else{
        alert("Flash is insalled on your Web browser.");
    }
</script>

 

Option 3: SWFObject is an easy-to-use and standards-friendly method to embed Flash content, which utilizes one small JavaScript file

SWFObject
SWFObject

To detect whether a browser has the flash plugin, first load the SWFObject library, then:

<script>
    if (swfobject.getFlashPlayerVersion().major) {
        alert("Flash is insalled on your Web browser.");
    } else {
        alert("Flash is not insalled on your Web browser.");
    };
</script>

Other SWFObject functions:
swfobject.getFlashPlayerVersion().major is the major version
swfobject.getFlashPlayerVersion().minor is the point release
swfobject.getFlashPlayerVersion().release is the build number

 

Option 4: jQuery SWFObject

if (!$.flash.hasVersion('9')) {
 //has Flash
 alert("Flash is insalled on your Web browser.");
}
else {
 //no_flash
 alert("Flash is not insalled on your Web browser."); 
}

Audio Video Formats


Hits: 3316  

You might have problem understanding audio video formats. All formats vary from size and quality.

Audio Formats

WAV This is a uncompressed format used for CD quality audio.

MP3 This is compressed format, it remove some frequency to optimize music files.

WMA This format is developed by Microsoft used for DRM (copy protection) facility.

AAC Advanced Audio Coding (AAC) is a standardized, lossy compression and encoding scheme for digital audio. Designed to be the successor of the MP3 format, AAC generally achieves better sound quality than MP3 at similar bit rates.

FLAC FLAC ( Free Lossless Audio Codec) is a codec (compressor-decompressor or coder-decoder) which allows digital audio to be losslessly compressed such that file size is reduced without any information being lost.

OGG This is better audio format as compared to MP3. This format is ideal for audio streaming.

AMR This format is used in mobile devices for recording audio files.

AIFF This is developed by Apple. This is loss-less and uncompressed format.

RI/RM This is good for audio streaming on internet.

RAW This is uncompressed format used in testing devices.

Audio Video Formats
Audio Video Formats

Video Formats

FLV Flash Video is a container file format used to deliver video over the Internet using Adobe Flash Player. Flash Video content may also be embedded within SWF files.

MP4 MPEG-4 is a multimedia container format standard specified as a part of MPEG-4. It is most commonly used to store digital video and digital audio streams. Very good for video streaming in iOS devices.

DIVX (AVI) DivX Codec became popular due to its ability to compress lengthy video segments into small sizes while maintaining relatively high visual quality.

MPEG The Moving Picture Experts Group (MPEG) is a working group of experts for audio and video compression and transmission.

WMV Windows Media Video (WMV) is a video compression format for several proprietary codecs developed by Microsoft.

MKV/M2TS It is used to compress HD video files. It support multi channel audio.

VOB VOB (Video Object) is the container format in DVD-Video media. VOB can contain digital video, digital audio, subtitles, DVD menus and navigation contents multiplexed together into a stream form. Files in VOB format may be encrypted.

RM/RMVB It is used for high compression video streaming.

MOV QuickTime File Format (QTFF) is a computer file format used natively by the QuickTime framework.

3GP 3GP (3GPP file format) is a multimedia container format defined by the Third Generation Partnership Project (3GPP) for 3G multimedia services. It is used on 3G mobile phones but can also be played on some 2G and 4G phones.

Comparison of container formats

Wowza Live Audio Video Mixing


Hits: 6938  

Wowza doesn’t do transcoding. So, we highly recommend to use FOSS solutions

Where we need Wowza Live Audio Video Mixing?

1) Live event is broadcasting through Wowza
2) We need a multi lingual setup somewhere and comment or transcode that live event with voice.
3) Flash client might receive the stream where
Output Video Stream = Video of live event + Audio transcoder (multi lingual human voice)

Modern IP cameras provide RTP/RTSP/RTMP with MPEG, MPEG4 or h.264 encoded stream for broadcasting through Wowza.

We might need a RTP/RTSP/RTMP client to decoder and manipulate streams then re-encode stream and serve it over standard protocol like RTP/RTSP/RTMP.

Best Solution should use Xuggler to serve streams to Flash. Media Server might be Wowza or Red5.

Xuggler is the easy way to uncompress, modify, and re-compress any media file (or stream) from Java.

Xuggler in Action: A free open-source library for Java developers to uncompress, manipulate, and compress recorded or live video in real time.

 

Mixing audio and video with ffmpeg

Mixing audio with video file without audio track
# ffmpeg -i audio-file.mp3 -i video-file.avi -acodec copy -vcodec copy output-file.avi

Mixing audio with video file with existing audio track.
# ffmpeg -i audio-file.mp3 -i video-with-audio.avi -acodec copy -vcodec copy output-file.avi -map 0.0 -map 1.0

-map -> the output file would contain two streams audio and video.

Contact us for Live Audio Video Mixing.

Email: svnlabs[at]gmail.com
Skype: svnlabs
MSN: svnlabs[at]hotmail.com