HDFVR Installation & Documentation

Table of Contents:

1. Installing HDFVR on your web site

Download from your client/trial area the HDFVR archive (hdfvr.zip) and extract it somewhere on your web site.

1.1 Installation Part 1, installing the hdfvr app on the media server:

On Red5 0.8 On FMIS On Wowza

1) Copy the Red5_0.8/hdfvr folder (from the hdfvr.zip archive) to your Red5/webapps folder.

2) Restart Red5.

Copy the FMIS/hdfvr folder (from the hdfvr.zip archive) to your FMIS/applications folder.

If you're using FMIS hosting create a new application/folder named hdfvr and in it upload the contents of the FMIS/hdfvr folder (from the hdfvr.zip archive).

 

Copy the applications, conf and lib folders (you will find them in the Wowza folder from the hdfvr.zip archive) inside the Wowza installation folder.

2) Restart Wowza.

 

1.2 Installation Part 2, installing HDFVR on your web site:

1.2.1 Standalone installation:

  1. Copy the contents of Files to upload to your web site from the received archive in a folder on your web site
  2. Edit avc_settings.php (or avc_settings.asp) with a text editor and set the value of $config['connectionstring'] to the correct connection string for your new media server app, here is how it should look:
    • $config['connectionstring']='rtmp://mymediaserver.com/hdfvr/_definst_';
    • $config['connectionstring']='rtmp://my.media.server.ip/hdfvr/_definst_';
    • $config['connectionstring']='rtmp://localhost/hdfvr/_definst_';
  3. Go to http://www.yoursite.com/your_new_video_recorder/videorecorder.html , you will be asked for your license key which you can obtain from the customer area on AVChat.net! (Use videorecorder-hd.html to record a HD video!)

1.2.2 Integration Kits installation:

  1. Video Profiler for Social Engine 4: See the installation instructions included in the Module Archive

2. Where can I find the resulting .flv files?

By default all the recordings will be saved on the media server even tough the user has not pressed [SAVE]! To keep only the recordings for which the user has pressed the [Save] button edit avc_settings.xxx and change the deleteUnsavedFlv var to true.

3. How can I play back the resulting FLV files?

Both JW FLV Media Player and Flowplayer support both streaming and progressive download!

4. Where can I find the snapshots?

After recording your first movie look for a new folder called snapshots on your web server in the folder where you installed HDFVR. The .jpg filename corresponds to the .flv filename on the media server.

By default a snapshot of the recording is taken at second 5 and it is saved/uploaded to the web server when you press the [Save] button (or when the video finishes streaming/uploading to the media server if hideSaveButton=1 in avc_settings.xxx)!

You can modify the second at which the snapshot is taken by editing avc_settings.xxx and changing the value of the snapshotSec variable!

You can stop HDFVR from taking snapshots by editing avc_settings.xxx and changing the value of the snapshotEnable variable!

5. Switching between php and asp

By default HDFVR attempts to use the php files (avc_settings.php, save_video_to_db.php). To force HDFVR to use the .asp ones you need to:

  1. Edit videorecorder-api.html with a text editor.
  2. Replace videorecorder.swf with videorecorder.swf?sscode=asp in both places inside the HTML file.

Internet Explorer uses an Active X control to show Flash Player content. Firefox, Safari, Opera and the rest of the browsers use a plugin. This is the reason why you need to make the change in 2 places. One for IE, the other one for the other browsers

6. How to connect HDFVR's on different web sites to the same media server

Let's say you've bought 2 copies of HDFVR one for a.com one for b.com. You will have 2 different license keys!

To connect both to the same hdfvr app on the same media server just change the last part of the $config['connectionstring'] var value in avc_settings.xxx like this:

Red5, FMIS:

Wowza:

7. How to change where the media server saves the .flv files

Wowza:

  1. edit conf\hdfvr\Application.xml
  2. change the value of the <StorageDir> tag:
    <StorageDir>${com.wowza.wms.AppHome}/content</StorageDir> (this is the default)
  3. save and restart Wowza

For example you could change the path to a folder inside your public Apache web server folder like this :

<StorageDir>/usr/sites/site.com/public_html/recorded_videos/</StorageDir>

FMIS:

  1. copy Application.xml
    from
    Flash Media Server\conf\_defaultRoot_\_defaultVHost_\

    to
    Flash Media Server\applications\hdfvr
    \
  2. edit hdfvr\Application.xml and change the value of the <StorageDir> tag:
    <StorageDir></StorageDir> (by default it's empty)
  3. save and
    1. restart FMIS or
    2. reload the hdfvr app using the FMS Management Console .

For example you could change the path to a folder inside your public Apache web server folder like this :

<StorageDir>/usr/sites/site.com/public_html/recorded_videos/</StorageDir>

Red5:

There's no easy way right now!

8. How to change/reset the license key

You will have to reset the license key (delete the old one) if you want to:

  1. upgrade from the SD to the HD version (a new key is issued)
  2. change the domain name which you want to us the HDFVR (a new key is issued)
  3. any license key error

Here's how to do it:

On FMIS:

  1. delete this file
    Flash Media Server\applications\hdfvr\sharedobjects\_definst_\licensekey.fso
  2. restart FMIS or reload the hdfvr app using the FMS Management Console .
  3. when trying to record you will be asked for the license key again

On Red5:

  1. delete this file:
    Red5\webapps\hdfvr\persistence\SharedObject\_definst_\licensekey.red5
  2. restart Red5
  3. when trying to record you will be asked for the license key again

On Wowza:

  1. delete this file:
    Wowza Media Server 2\applications\hdfvr\sharedobjects\_definst_\licensekey.rso
  2. restart Wowza
  3. when trying to record you will be asked for the license key again

9. How to translate HDFVR

HDFVR holds all the texts used in the UI in an external text xml file: translations/en.xml

To change a word/phrase or translate the entire HDFVR user interface just edit that file with a text editor, search for the text you want to translate it and change it!

Now save the new .xml file and upload it to your hdfvr installation folder on your web server!

If the old translation shows up clear your browser cache!

horizontal separator

 

 

You might also be interested in how the video recorder works and the JS and Php/ASP API's .