Archive

Posts Tagged ‘php’

Install GeoIP PHP Extension

February 10th, 2010

Install GeoIP C API
Change 1.4.6 to downloaded version.

wget http://geolite.maxmind.com/download/geoip/api/c/GeoIP.tar.gz
tar zxvf GeoIP.tar.gz
cd GeoIP-1.4.6
./configure
make
make check
make install

Install PHP PECL extension

wget http://pecl.php.net/get/geoip
tar zxvf geoip
cd geoip-1.0.7
phpize
./configure
make
make check
make install

Find php.ini

php –ini

Enable extension to load in php.ini:

;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;
extension=geoip.so

You may need to restart HTTP server (apache) to apply changes.

Download Geo Lite City database

wget -N -q http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
gunzip GeoLiteCity.dat.gz
mv GeoLiteCity.dat /usr/local/share/GeoIP/GeoIPCity.dat

For more accurate detection and production projects, buy the full GeoCity database from MaxMind.

Bookmark and Share

Servers , , , , , , , , , , , , , , , , , , ,

Install ffmpeg mplayer flvtool2 yamdi x264 theora mp3lame vorbis ogg faac

January 5th, 2010
Comments Off

This is a tutorial to enable video sharing support on Centos servers.

This should install ffmpeg, mplayer, mencoder, flvtool2, yamdi, x264, theora, mp3lame, vorbis, ogg, faac, faad2, xvid . These tools will enable on your server:

  • video conversion
  • thumbnail generation
  • FLV meta injection (flvtool2, yamdi)
  • extra codecs (x264, theora, mp3lame, vorbis, ogg, faac, faad2, xvid)

This is functional and we update it each time we configure a new server.
Installation is done using the “root” account.

Read more…

Bookmark and Share

Servers, Video Streaming , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

VideoWhisper Video Recorder

October 31st, 2009
Comments Off

The video recorder allows site users to record webcam videos easily from website pages. This can be use on various sites to implement online features like:
+ video sharing, on demand video content
+ video messaging, video email
+ video content on member profiles, video teasers, video questionnaires
+ video comments for online posts and items, video discussions, video forums

Videos are recorded as flv files on the rtmp server and can be played trough the rtmp protocol or by http players as on youtube (if published to a web accessible location).

Web Video Recording Software

  • Live Webcam Preview
  • Select webcam/microphone, configure recording resolution, framerate, sound rate
  • Record Video
  • Timer, Maximum recording time limit
  • Accept / Discard recording
  • Instant recording preview, Replay preview

For more details check the home page of VideoWhisper web based Video Recorder.

Bookmark and Share

Scripts, Video Streaming , , , , , , , , , , , , , , , , ,

Live Streaming v2 by VideoWhisper

September 11th, 2009
Comments Off

VideoWhisper.com upgraded the Live Streaming application bringing several improvements and optimizations requested by users.

Live Broadcast

Some of the improvements:

  • advanced webcam settings (change realtime resolution, framerate, audio rate)
  • fullscreen button for video watching interface
  • fullscreen on click for embedded plain video stream interface
  • generate updated jpg snapshots for each live stream
  • timers (displayed on each interface depending on settings) can be used to control access, integrate in pay per view systems
  • multiple new options and parameters passed from script side

Also some RTMP application improvements should be mentioned like external player support and live video archiving as FLV for the Red5 application.

Upgrades are available for download on VideoWhisper.com and do not involve any costs for free or paid licenses.

First edition available with the upgrade is the PHP edition. The rest should follow shortly.

Bookmark and Share

Scripts, Video Chat, Video Streaming , , , , , , , , , , , , , , , , , , , , , , , , , ,

Video Conference Plugin for WordPress by VideoWhisper

January 6th, 2009
Comments Off

To test the video conference plugin just register an account on this website and click the video conference link from the right panel.

Video Conference, Video Chat and Instant File Sharing Plugin for WordPress

+ Read more about the Video Conference WordPress Plugin on the VideoWhisper website
+ Download the Free WordPress Video Conference Edition (requires registering a free account)

WordPress  Integration

VideoWhisper.com  setup a simple integration that uses the WordPress username to login existing users into the simple php only version of their video conference software – the edition easiest to customize and integrate with any website. If the user is not logged into WordPress a warning message is shown and the visitor can click that to get back to the main WordPress website for registration/login.

VideoWhisper also  included a plugin that provides a linking widget. You can use that or directly add a link to “http://www.yoursite.com/videowhisper_conference/” .

Installation Instructions

1. Copy contents of com_videowhisper_conferencefms_applications in zip file to your applications folder in your fms installation folder. This step is not required if you use their video conference rental with hosting or managed rmtp hosting plans.
2. Copy the files from the zip file including folder structure to your public website location.
3. Fill the fms application path in videowhisper_conference/settings.php.
4. Enable the plugin and link widget or directly add the link to the videowhisper_conference folder.

Bookmark and Share

Scripts, Video Chat, WordPress , , , , , , , , , , ,