
AVChat 2 and AVConference are compatible with both FMS 2 & 3 and Red5 .
AVChat Flash Video Recorder and Player installation instructions
The first thing you need to do is to extract the contents of the AVChat Recorder archive that you have received somewhere on your computer.
In that archive you will find videorecorder.swf and videoplayer.swf which are the actual compiled Flash applications.
The respective videorecorder.html and videoplayer.html pages just include the 2 .swf files in their contents, but they could include anything else as well (banners, images menus, etc...).
Both .swf files will use avc_settings.php to load config options, including FMS/Red5 connection string, file to play for the player etc... . Some settings like streamName only affect the player and some settings only affect the recorder.
- Step 1: setting up the videorecorder application on the FMS/Red5 server
- Step 2: setting up the AVChat Recorder on your web site
- Step 3 (optional): More info
Step 1: Setting up the Red5/Flash Media Server application
If you have Flash Media Server installed on a dedicated server.
1) Connect to the server (using FTP or whatever is available) and go to the "applications" folder inside the FMS installation folder (C:\Program Files\Macromedia\Flash Media Server 2\applications on Windows, /opt/macromedia/fms/applications/ on Linux)
2) Create a new folder named videorecorder in the applciations folder (applications/videorecorder/)
3) Upload in it the main.ase and settings.asc files found in the archive you received (AVChat Video Recorder/server side files (FMS)/videorecorder/..).
Before or after uploading the uploading the settings.asc file edit it with a text editor and copy in it the software key you recieved by email.
If you have a Flash Media Server account from Influxis.com, log in to your account at influxis.com go to [MY APPLICATIONS] and click on [Add New Application].
On the page that opens up you must enter a name for the new application. Enter videorecorder in the field, select [I will add my own ASC file(s)] and press [Continue]. On the next page click [Do nothing, I will add this later from the File Manager] and then press [Continue].
You should now receive a confirmation message and a green rtmp string. You should copy this green rtmp string somewhere as we will use it later.
Now go to [FILE ADMIN] select videorecorder from the file browser, click [UPLOAD FILE]. In the pop-up window that opens, click [Browse for files] and add to the UPLOAD QUEUE the main.ase and the settings.asc files, from the archive that you have received (AVChat Video Recorder 1.1/server side files (FMS)/videorecorder/...). Click [Upload Now] and you're done.
Before or after uploading the settings.asc file edit it with a text editor and copy in it the software key you recieved by email.
If you have Red5 installed on a dedicated server.
1) You need to put the videorecorder folder (you will find it in your archive in AVChat Video Recorder 1.1/server side files (Red5)/videorecorder) in the webapps folder of your Red5 installation (C:\Program Files\Red5\webapps on Win, /opt/red5/webapps/ on Linux).
2) Edit the videorecorder.properties file with a text editor and copy in it the license key you have recieved by email;
3) Start the Red5 server
4) Make sure your Red5 server is started and running properly by going to: http://myred5server.com:5080/.
Step 2: intsalling the AVChat Recorder and Player in a folder
If you want to install the Recorder and Player in a folder on your web site:
1. Using FTP log on to your site's web hosting server, and create a new folder in a location were it will be accessible from an internet browser (http://www.mysite.com/av_recorder/).
2. Inside that folder put the contents of the av_recorder folder from the archive you received.
3. Open avc_settings.php (or avc_settings.asp) in a text editor, and point the value of $connectionstring to your newly created FMS/Red5 application. Some FMS hosting providers will already generate this connectionstring for you. Here are a few examples:
Good examples:
- rtmp://localhost/videorecorder/_definst_
- rtmp://myfmsserver.com/videorecorder/_definst_
- rtmp://subdomain.myred5server.com/videorecorder/_definst_
Save the configuration file and don't forget to upload it to the web server and replace the old one.
4. Go to http://www.yoursite.com/av_recorder/videorecorder.html and if everything is set up properly you will end up seeing the recorder screen.
To access the player go to http://www.yoursite.com/av_recorder/videoplayer.html.
Step 3: More info:
Where are my recorded files?
If you are using Red5 and the oflaDemo application that comes by default with Red5 your recorded .flv files should be in:
- /opt/red5/webapps/videorecorder/streams/_definst_ on Linux
- C:\Program Files\Red5\webapps\videorecorder\streams\_definst_ on Win
If you are using FMS your recorded files should be in:
../aplications/videorecorder/streams/_definst_
What codecs are used when the .flv files are recorded?
The encoding is done within Flash Player itself, by the time the video and audio data reaches the FMS/Red5 server it is already encoded. Audio is encoded with the NellyMoser codec and video is encoded with Sorenson Spark.
How do I play the recorded files with the player!?
Open up avc_settings.php and change the value of $config['streamName'] to the name of a previously recorded flv file, then load the player using:http://www.yoursite.com/av_recorder/videoplayer.html .
The player will automatically connect to your Red5/FMS server and play the respective file!
How do I increase the quality of the audio and video recorded with the recorder?
The AVChat Recorder uses an xml file to load the audio and video settings at which to make the recording. By default the recorder comes with 2 such xml files found in the audio_video_quality_settings folder.
In avc_settings.php there is a variable: $config['qualityurl'] , which specifies which .xml file the recorder will use to read the quality settings.
The .xml file can be edited with any text editor. You can make new such .xml flies or use/modify existing ones.
To improve the audio quality open up the current .xml file in use and modify the snd value: <snd>44</snd> . the values it can take are: 5 (10 kbits/s), 8 (16 kbits/s),11 (22 kbist/s),22 (44 kbits/s) , and 44 (88kbits/s). The higher the better.
To increase the resolution at which the video is taken open up the current .xml file in use and modify the w and h values:<w>320</w><h>240</h>.
To increase/decrease the frame rate modify the fps variable.
To increase/decrease the picture quality modify the q value (0 to 100). Set to 0 if you want the Recorder to dynamically modify the quality so that the bandwidth and fps values are always respected.
To increase the bandwidth modify the bytes value. Set to 0 if you want to let the Recorder app to use as much bandwidth as needed to sustain the quality and fps you have set.
For any other questions and info please contact us using the contact page.
