Showing posts with label Conference. Show all posts
Showing posts with label Conference. Show all posts

Monday, January 10, 2011

Trimming WMA File Duration

A part of dial-in conferencing services that we just shipped as a part Microsoft Lync 2010 has to do with recording a name for an anonymous user when joining a conference and then playing it during the conference (e.g. "Mike Johnston has joined the conference").

The problem here is that sometimes, depending on a Gateway, there is an ending beep (recorded from the '#' sign that a user presses when she is done with recording). It is difficult to predict in advance how many milliseconds should be cut from the user name recorded file (since in some systems there is no trailing beep at all). By default we cut 500 milliseconds and let the administrator the possibility to configure a different value if she wants to.

What is the best way for admin to figure out how many milliseconds should be trimmed from a file containing a beep? Easy - here is a tool that when run creates a serie of files with n milliseconds  trimmed from its end. Unfortunately it was too late to include this tool as a part of Lync Reskit Tool but this issue should be definitely fixed by the next Lync release.

Instructions:
  • Download the tool, unzip it, and place the executable to a directory, say C:\trim
  • Copy a WMA file containing the trailing beep to the same directory and name it target.wma
  • Run the tool trimfile.exe without any parameters
  • As a result 21 files reslt100.wma, result150.wma, ..., result1000.wma will be created and placed to the same directory. The number indicates (approximate) number of milliseconds cut from the file.
  • Listen to the resulting files to figure out how many milliseconds should be cut from the file.
The tool was created using Windows Media C++ libraries. If you want to play around with it, take a look at main.cpp, WMVCopy.h and WMVCopy.cpp

Tuesday, November 23, 2010

Moscow, MS Platforma 2011

I just returned from MS Platforma Conference in Moscow.

It is the biggest IT event in Russia - to popularize Microsoft Software, solutions, and talk about what's new among Russian and a few former "CCCP" IT specialists.

This time it coincided with Microsoft Lync launch - I am also a developer for Lync at Microsoft Zurich Development Center. I participated in two cojoint talks about Lync: gave a demo on Lync Architecture session and talked about dial-in conferencing in another session.

The conference was greatly organized and was an excellent experience.
Hope to be invited to go there next year as well:)

Here are some pics from the sessions:





There is a good blog by Sergey Trofimov, who participated in this event about this conference.