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 <string.h> and other c libraries that need to be changed to <cstring>, 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<br><br><div class="gmail_quote">2009/2/3 Thomas D. Uram <span dir="ltr"><<a href="mailto:turam@mcs.anl.gov">turam@mcs.anl.gov</a>></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'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>
<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.
I'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. We are looking to live webstreaming to users desktops. Look
like splitting video/audio feeds is the better option for us.</font></div>
<div dir="ltr"> </div>
<div dir="ltr"><font size="2" face="Arial">--</font></div>
<div dir="ltr"> </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>
> <br>
> Is it possible to use Windows Media Encoder or VLC to capture and<br>
> stream an access grid session? If not, is there another way to do<br>
> this?<br>
<br>
Are you looking to webstream it to browser/clients? 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. 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. 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>