<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PostalCode"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PlaceType"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PlaceName"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="address"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PersonName"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="Street"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-GB link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Hi,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Just to say that I have also been looking
at these issues in relation to Memetic &#8211; in the CREW project, we have created a
system for generating FLV files from recorded AG streams and this then allows
you to show them from within a flash player.&nbsp; I am now applying for funding to
formalise this into a web service and have it generate other formats too.&nbsp; This
could then be extended to work with live streams fairly easily.&nbsp; If the project
gets funded, I will be setting up a Google Code site for it so others will be
able to contribute and extend or reuse the code.&nbsp; I would be happy for this to
happen &#8211; I will keep you informed about any developments (this would start in
April if successful).<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>One thing to note is that it doesn&#8217;t
combine streams into a single FLV just now (although this could come out of the
project).&nbsp; In CREW, we just select two of the streams (the speaker and the
presentation slides) and synchronize those as separate streams in the CREW
player.&nbsp; You can look at this at <a href="http://crew.rcs.manchester.ac.uk/">http://crew.rcs.manchester.ac.uk/</a>
- note that this is a demo site, and we don&#8217;t know what it is like under high
loads so it might not respond if too many people are trying at the same time!<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>One thing to think about with the live
streaming is the fact that you only need to encode the streams once.&nbsp; This
could then be sent out to as many people as there are listening &#8211; this scales
better than encoding once per user.&nbsp; With a good flash player implementation,
you could also support pause and rewind, although it is worth noting that flash
can only jump to key frames, and increasing the number of key frames increases
the bandwidth required to watch it.&nbsp; There would need to be a trade off
calculation in there somewhere&#8230;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Andrew </span></font><font size=2
color=navy face=Wingdings><span style='font-size:10.0pt;font-family:Wingdings;
color:navy'>J</span></font><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p></o:p></span></font></p>

<div>

<p><font size=2 color=navy face="Times New Roman"><span style='font-size:10.0pt;
color:navy'>---------------------------------------------------------<br>
<br>
&nbsp; Andrew G D Rowley<br>
&nbsp; Senior Development Officer<br>
<br>
&nbsp; Research Computing Services<br>
&nbsp; The <st1:place w:st="on"><st1:PlaceType w:st="on">University</st1:PlaceType>
 of <st1:PlaceName w:st="on">Manchester</st1:PlaceName></st1:place><br>
&nbsp; <st1:place w:st="on">Devonshire</st1:place> House, <st1:Street w:st="on"><st1:address
 w:st="on">Oxford Road</st1:address></st1:Street><br>
&nbsp; <st1:place w:st="on"><st1:City w:st="on">Manchester</st1:City>, <st1:PostalCode
 w:st="on">M13 9PL</st1:PostalCode></st1:place><br>
<br>
&nbsp; t :&nbsp; +44 (0) 161 275 0685<br>
&nbsp; e :&nbsp; <st1:PersonName w:st="on">Andrew.Rowley@manchester.ac.uk</st1:PersonName><br>
&nbsp; w :&nbsp; www.manchester.ac.uk/researchcomputing<br>
<br>
---------------------------------------------------------</span></font><o:p></o:p></p>

</div>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span lang=EN-US
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma'>
ag-tech-bounces@lists.mcs.anl.gov [mailto:ag-tech-bounces@lists.mcs.anl.gov] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Andrew Ford<br>
<b><span style='font-weight:bold'>Sent:</span></b> 04 February 2009 20:19<br>
<b><span style='font-weight:bold'>To:</span></b> Thomas D. Uram<br>
<b><span style='font-weight:bold'>Cc:</span></b> ag-tech@mcs.anl.gov<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [AG-TECH] Recording
and streaming access grid session using Windows Media Encoder or VLC</span></font><span
lang=EN-US><o:p></o:p></span></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>Hi Tom,<br>
<br>
Just FYI, I can't seem to compile AGVCRToMPEG2, and there are some other
reasons this won't compile out of the box for most other people:<br>
<br>
1) it won't compile on g++ 4.3 - there are a number of instances of
&lt;string.h&gt; and other c libraries that need to be changed to
&lt;cstring&gt;, etc<br>
2) the script for compiling AGVCRToMPEG2.cpp won't find avformat.h, as it has
-I/path/to/ffmpeg/libavformat and a few other subdirectories whereas a recent
version of libavformat (svn20080206) seems to put them straight in
/usr/include/ffmpeg<br>
<br>
After fixing all that I get the error:<br>
VPCMPEG2TSConsumer.cpp:73: error: cannot convert 'ByteIOContext**' to
'ByteIOContext*' for argument '1' to 'int url_fclose(ByteIOContext*)'<br>
<br>
I'm not sure if this is g++ 4.3 being specifically finicky about pointer
casting or what - I haven't had much time to actually dive into this code and
see if there's a way around it. Any ideas?<br>
<br>
Also, in the future I'd definitely be interested in expanding this to be more
comprehensive - adding h264 decoding support is up there, plus I'd like to see
if it's possible to make something out of this that would decode and
tile/aggregate all videos from a venue in realtime to throw it somewhere else
for streaming purposes.<br>
<br>
--Andrew<o:p></o:p></span></font></p>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>2009/2/3 Thomas D. Uram &lt;<a href="mailto:turam@mcs.anl.gov">turam@mcs.anl.gov</a>&gt;<o:p></o:p></span></font></p>

<div bgcolor="#ffffff" text="#000000">

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>I'd like to point out that the V* code from ANU includes the
AGVCRToMPEG2 project. All of this code, which was previously on <a
href="http://agcentral.org" target="_blank">agcentral.org</a>, is now available
in the UChicago subversion repository here:<br>
<br>
&nbsp;&nbsp;&nbsp; <a href="https://www.ci.uchicago.edu/svn/if-media"
target="_blank">https://www.ci.uchicago.edu/svn/if-media</a><br>
<br>
I've had mixed success with AGVCRToMPEG2 so far. With some work, it could be the
missing link for recording and playback of AG sessions in standard movie
formats.<br>
<br>
If you're interested in this code and end up making changes that you'd like to
contribute back, you'd simply need to get a UChicago account.&nbsp; I'll send
separate mail to the list with more details soon.<br>
<br>
Tom<o:p></o:p></span></font></p>

<div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
<br>
<br>
On 2/3/09 1:35 PM, Tran, Quang V. wrote: <o:p></o:p></span></font></p>

<div>

<div>

<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:black'>Thanks Todd.&nbsp; We are looking to live
webstreaming to users desktops.&nbsp; Look like splitting video/audio feeds is
the better option for us.</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>--</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Quang Tran</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><st1:place w:st="on"><st1:PlaceName w:st="on"><font size=2
  face=Arial><span style='font-size:10.0pt;font-family:Arial'>LSU</span></font></st1:PlaceName><font
 size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'> <st1:PlaceName
 w:st="on">Health</st1:PlaceName> <st1:PlaceName w:st="on">Sciences</st1:PlaceName>
 <st1:PlaceType w:st="on">Center</st1:PlaceType></span></font></st1:place><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><a href="mailto:qtran3@lsuhsc.edu" target="_blank">qtran3@lsuhsc.edu</a></span></font><o:p></o:p></p>

</div>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center>

</span></font></div>

<p class=MsoNormal style='margin-bottom:12.0pt'><b><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Todd
Zimmerman [<a href="mailto:todd.zimmerman@ubc.ca" target="_blank">mailto:todd.zimmerman@ubc.ca</a>]<br>
<b><span style='font-weight:bold'>Sent:</span></b> Tue 2/3/2009 1:26 PM<br>
<b><span style='font-weight:bold'>To:</span></b> Tran, Quang V.<br>
<b><span style='font-weight:bold'>Cc:</span></b> <a
href="mailto:ag-tech@mcs.anl.gov" target="_blank">ag-tech@mcs.anl.gov</a><br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [AG-TECH] Recording
and streaming access grid session using Windows Media Encoder or VLC</span></font><o:p></o:p></p>

</div>

<div>

<p style='margin-bottom:12.0pt'><font size=2 face="Times New Roman"><span
style='font-size:10.0pt'>On Mon, 2009-02-02 at 15:46 -0600, Tran, Quang V.
wrote:<br>
&gt;&nbsp;<br>
&gt; Is it possible to use Windows Media Encoder or VLC to capture and<br>
&gt; stream an access grid session?&nbsp; If not, is there another way to do<br>
&gt; this?<br>
<br>
Are you looking to webstream it to browser/clients?&nbsp; Or record /<br>
rebroadcast via AG?<br>
<br>
As Jeremy mentioned, agvcr will record and rebroadcast the AG event, but<br>
will still only be available for AG style clients.<br>
<br>
Webstreaming is a bit more difficult since AG is made up of multiple<br>
video feeds etc.&nbsp; If there is a specific 'presenting' site, then we use<br>
a separate capture box (with a split of the primary camera feed and a<br>
separate 'mixed' audio feed from all the sits) - then used VLC to send<br>
it to a Quicktime/Darwin streaming server.&nbsp; VLC will also concurrently<br>
record the single video/mixed(all sites) audio for a webstream archive.<br>
<br>
<br>
<br>
Cheers,<br>
<br>
Todd<br>
<br>
<br>
<br>
<br>
</span></font><o:p></o:p></p>

</div>

</div>

</div>

</div>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>