Hi Tom,<br><br>Just FYI, I can&#39;t seem to compile AGVCRToMPEG2, and there are some other reasons this won&#39;t compile out of the box for most other people:<br><br>1) it won&#39;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&#39;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 &#39;ByteIOContext**&#39; to &#39;ByteIOContext*&#39; for argument &#39;1&#39; to &#39;int url_fclose(ByteIOContext*)&#39;<br>
<br>I&#39;m not sure if this is g++ 4.3 being specifically finicky about pointer casting or what - I haven&#39;t had much time to actually dive into this code and see if there&#39;s a way around it. Any ideas?<br><br>Also, in the future I&#39;d definitely be interested in expanding this to be more comprehensive - adding h264 decoding support is up there, plus I&#39;d like to see if it&#39;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<br><br><div class="gmail_quote">2009/2/3 Thomas D. Uram <span dir="ltr">&lt;<a href="mailto:turam@mcs.anl.gov">turam@mcs.anl.gov</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



  

<div bgcolor="#ffffff" text="#000000">
I&#39;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&#39;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&#39;re interested in this code and end up making changes that you&#39;d
like to contribute back, you&#39;d simply need to get a UChicago account.&nbsp;
I&#39;ll send separate mail to the list with more details soon.<br>
<br>
Tom<div><div></div><div class="Wj3C7c"><br>
<br>
<br>
On 2/3/09 1:35 PM, Tran, Quang V. wrote:
<blockquote type="cite">
  
  
  
  <div dir="ltr">
  <div dir="ltr"><font size="2" color="#000000" face="Arial">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.</font></div>
  <div dir="ltr">&nbsp;</div>
  <div dir="ltr"><font size="2" face="Arial">--</font></div>
  <div dir="ltr">&nbsp;</div>
  <div dir="ltr"><font size="2" face="Arial">Quang Tran</font></div>
  <div dir="ltr"><font size="2" face="Arial">LSU Health Sciences Center</font></div>
  <div dir="ltr"><font size="2" face="Arial"><a href="mailto:qtran3@lsuhsc.edu" target="_blank">qtran3@lsuhsc.edu</a></font></div>
  </div>
  <div dir="ltr"><br>
  <hr>
  <font size="2" face="Tahoma"><b>From:</b> Todd Zimmerman
[<a href="mailto:todd.zimmerman@ubc.ca" target="_blank">mailto:todd.zimmerman@ubc.ca</a>]<br>
  <b>Sent:</b> Tue 2/3/2009 1:26 PM<br>
  <b>To:</b> Tran, Quang V.<br>
  <b>Cc:</b> <a href="mailto:ag-tech@mcs.anl.gov" target="_blank">ag-tech@mcs.anl.gov</a><br>
  <b>Subject:</b> Re: [AG-TECH] Recording and streaming access grid
session using Windows Media Encoder or VLC<br>
  </font><br>
  </div>
  <div>
  <p><font size="2">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 &#39;presenting&#39; site, then we use<br>
a separate capture box (with a split of the primary camera feed and a<br>
separate &#39;mixed&#39; 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>
  <br>
  </font></p>
  </div>
</blockquote>
</div></div></div>

</blockquote></div><br>