View Single Post
  #30   Spotlight this post!  
Unread 14-04-2008, 09:13
Bongle's Avatar
Bongle Bongle is offline
Registered User
FRC #2702 (REBotics)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2002
Location: Waterloo
Posts: 1,069
Bongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond repute
Send a message via MSN to Bongle
Re: Regionals Not Archived

Quote:
Originally Posted by David55 View Post
This idea has been thought of before and discussed with FIRST. There is no simple way to trigger the recording unless you receive a direct signal from the field computer. This is not a simple task and requires software modifications on the field computer, as well as a good amount of scripting on the recording side. There are current attempts being made to get this working and hopefully there will be more details later on...
I don't think the video capture side of it would be too difficult. Set up a Directshow video capture graph that spits the data to a file. As for the field communication part, that might be more difficult. Setting up the graph would probably an hour or two of work to research the filters you'd need.

When you get contacted by the field computer (or the user pushes a button to say that the match has started)
IMediaControl* pifController = NULL;
m_pifGraph->QueryInterface(IID_IMediaControl,(void**)&pifCont roller) // gets the media control pointer from the main graph
pifController->Play(); // starts the graph running
pifController->Release(); // releases our COM reference
// yay! now the graph is playing and saving to a file!