Go to Post Don't ever give up on your robot, especially this early in the season. That robot is what you make of it. If you give it your all, something good is bound to come your way. - Amanda Morrison [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rating: Thread Rating: 14 votes, 5.00 average. Display Modes
  #16   Spotlight this post!  
Unread 09-03-2015, 14:50
artdutra04's Avatar
artdutra04 artdutra04 is offline
VEX Robotics Engineer
AKA: Arthur Dutra IV; NERD #18
FRC #0148 (Robowranglers)
Team Role: Engineer
 
Join Date: Mar 2005
Rookie Year: 2002
Location: Greenville, TX
Posts: 3,078
artdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond repute
Re: FRC Video Splitter (Beta)

Quote:
Originally Posted by cbale2000 View Post
One idea on the whole scoreboard discussion; can ffmpeg merge video clips? If it can, you could just add another (optional) timestamp column to the match list for scoreboard appearance times, then take like a 10 second video clip (or for that matter just a still image would work) from that point and tack it on to the end of the match video.

Just a thought.
Instead of getting crazy with sound or video recognition you could add in FRC or TBA API calls to get the match score, then generate a PNG or JPG image with all the info, then append that to the end of the match video as a still image slide for a few seconds.
__________________
Art Dutra IV
Robotics Engineer, VEX Robotics, Inc., a subsidiary of Innovation First International (IFI)
Robowranglers Team 148 | GUS Robotics Team 228 (Alumni) | Rho Beta Epsilon (Alumni) | @arthurdutra

世上无难事,只怕有心人.
Reply With Quote
  #17   Spotlight this post!  
Unread 09-03-2015, 15:32
plnyyanks's Avatar
plnyyanks plnyyanks is offline
Data wins arguments.
AKA: Phil Lopreiato
FRC #1124 (The ÜberBots), FRC #2900 (The Mighty Penguins)
Team Role: College Student
 
Join Date: Apr 2010
Rookie Year: 2010
Location: NYC/Washington, DC
Posts: 1,113
plnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond repute
Re: FRC Video Splitter (Beta)

Quote:
Originally Posted by artdutra04 View Post
Instead of getting crazy with sound or video recognition you could add in FRC or TBA API calls to get the match score, then generate a PNG or JPG image with all the info, then append that to the end of the match video as a still image slide for a few seconds.
This is a pretty great idea. The FRC API includes actual match start time in its Results endpoint (we'll add it into TBA if this ever happens).

I bet you could manually sync the video with the actual times by entering them both for the first match, then have a script calculate the rest of match start times using the API, then cut out the next ~2:30.

This actually seems really feasible. If I get the chance today, I'll try and integrate that into my python scripts
__________________
Phil Lopreiato - "It's a hardware problem"
Team 1124 (2010 - 2013), Team 1418 (2014), Team 2900 (2016)
FRC Notebook The Blue Alliance for Android
Reply With Quote
  #18   Spotlight this post!  
Unread 09-03-2015, 15:39
Ty Tremblay's Avatar
Ty Tremblay Ty Tremblay is offline
Robotics Engineer
FRC #0319 (Big Bad Bob)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2004
Location: Alton NH
Posts: 822
Ty Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond repute
Re: FRC Video Splitter (Beta)

Quote:
Originally Posted by plnyyanks View Post
This is a pretty great idea. The FRC API includes actual match start time in its Results endpoint (we'll add it into TBA if this ever happens).

I bet you could manually sync the video with the actual times by entering them both for the first match, then have a script calculate the rest of match start times using the API, then cut out the next ~2:30.

This actually seems really feasible. If I get the chance today, I'll try and integrate that into my python scripts
Is autoStartTime accurate to seconds?
__________________
Reply With Quote
  #19   Spotlight this post!  
Unread 09-03-2015, 15:42
plnyyanks's Avatar
plnyyanks plnyyanks is offline
Data wins arguments.
AKA: Phil Lopreiato
FRC #1124 (The ÜberBots), FRC #2900 (The Mighty Penguins)
Team Role: College Student
 
Join Date: Apr 2010
Rookie Year: 2010
Location: NYC/Washington, DC
Posts: 1,113
plnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond repute
Re: FRC Video Splitter (Beta)

Quote:
Originally Posted by Ty Tremblay View Post
Is autoStartTime accurate to seconds?
And more!

Code:
➜  phil@fedora ~ frc-api https://frc-api.usfirst.org/api/v1.0/matches/2015/onto2\?tournamentLevel\=qual\&matchNumber\=1
{"Matches":[{"autoStartTime":"2015-03-06T04:19:49.573","description":"Qualification 1","level":"Qualification","matchNumber":1,"scoreRedFinal":63,"scoreRedFoul":0,"scoreRedAuto":6,"scoreBlueFinal":122,"scoreBlueFoul":0,"scoreBlueAuto":6,"Teams":[{"teamNumber":3949,"station":"Red1","dq":false},{"teamNumber":4001,"station":"Red2","dq":false},{"teamNumber":3360,"station":"Red3","dq":false},{"teamNumber":5580,"station":"Blue1","dq":false},{"teamNumber":4069,"station":"Blue2","dq":false},{"teamNumber":1114,"station":"Blue3","dq":false}]}]}%
__________________
Phil Lopreiato - "It's a hardware problem"
Team 1124 (2010 - 2013), Team 1418 (2014), Team 2900 (2016)
FRC Notebook The Blue Alliance for Android
Reply With Quote
  #20   Spotlight this post!  
Unread 09-03-2015, 16:13
Eugene Fang's Avatar
Eugene Fang Eugene Fang is offline
The Blue Alliance
no team
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Bay Area, CA -> Pittsburgh, PA
Posts: 769
Eugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond repute
Re: FRC Video Splitter (Beta)

Quote:
Originally Posted by Ty Tremblay View Post
Is autoStartTime accurate to seconds?
Precise, yes. Accurate, who knows.
__________________
Eugene Fang
2010 Silicon Valley Regional Dean's List Finalist

Various FLL Teams - Student (2000-2006), Mentor (2007-2010)
FRC Team 604 - Student (2007-2010), Mentor/Remote Advisor (2011-2015)
FRC Team 1323 - Mentor/Remote Advisor (2011-2014)

The Blue Alliance | TBA GameDay | TBA Android App
Reply With Quote
  #21   Spotlight this post!  
Unread 09-03-2015, 16:16
MikeE's Avatar
MikeE MikeE is offline
Wrecking nice beaches since 1990
no team (Volunteer)
Team Role: Engineer
 
Join Date: Nov 2008
Rookie Year: 2008
Location: New England -> Alaska
Posts: 381
MikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond repute
Re: FRC Video Splitter (Beta)

Quote:
Originally Posted by plnyyanks View Post
And more!

Code:
"autoStartTime":"2015-03-06T04:19:49.573"
+1 for the new API

It also looks like it was a very early start for our friends in Canada.
__________________
no stranger to the working end of a pencil
Reply With Quote
  #22   Spotlight this post!  
Unread 09-03-2015, 16:23
Eugene Fang's Avatar
Eugene Fang Eugene Fang is offline
The Blue Alliance
no team
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Bay Area, CA -> Pittsburgh, PA
Posts: 769
Eugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond repute
Re: FRC Video Splitter (Beta)

Quote:
Originally Posted by MikeE View Post
+1 for the new API

It also looks like it was a very early start for our friends in Canada.
Looking at the start times, they all seem pretty off.
For example 2015CAMA's QF 1 has a start time of "2015-03-08T09:25:33.04" which doesn't make sense in local time (Pacific) or UTC.
__________________
Eugene Fang
2010 Silicon Valley Regional Dean's List Finalist

Various FLL Teams - Student (2000-2006), Mentor (2007-2010)
FRC Team 604 - Student (2007-2010), Mentor/Remote Advisor (2011-2015)
FRC Team 1323 - Mentor/Remote Advisor (2011-2014)

The Blue Alliance | TBA GameDay | TBA Android App
Reply With Quote
  #23   Spotlight this post!  
Unread 09-03-2015, 16:38
Ty Tremblay's Avatar
Ty Tremblay Ty Tremblay is offline
Robotics Engineer
FRC #0319 (Big Bad Bob)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2004
Location: Alton NH
Posts: 822
Ty Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond repute
Re: FRC Video Splitter (Beta)

Quote:
Originally Posted by Eugene Fang View Post
Looking at the start times, they all seem pretty off.
For example 2015CAMA's QF 1 has a start time of "2015-03-08T09:25:33.04" which doesn't make sense in local time (Pacific) or UTC.
I guess it wouldn't really matter for this application, all we really care about is the time span between matches.
__________________
Reply With Quote
  #24   Spotlight this post!  
Unread 09-03-2015, 16:41
Eugene Fang's Avatar
Eugene Fang Eugene Fang is offline
The Blue Alliance
no team
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Bay Area, CA -> Pittsburgh, PA
Posts: 769
Eugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond repute
Re: FRC Video Splitter (Beta)

Quote:
Originally Posted by Ty Tremblay View Post
I guess it wouldn't really matter for this application, all we really care about is the time span between matches.
Ah, you are correct.
__________________
Eugene Fang
2010 Silicon Valley Regional Dean's List Finalist

Various FLL Teams - Student (2000-2006), Mentor (2007-2010)
FRC Team 604 - Student (2007-2010), Mentor/Remote Advisor (2011-2015)
FRC Team 1323 - Mentor/Remote Advisor (2011-2014)

The Blue Alliance | TBA GameDay | TBA Android App
Reply With Quote
  #25   Spotlight this post!  
Unread 09-03-2015, 17:28
MikeE's Avatar
MikeE MikeE is offline
Wrecking nice beaches since 1990
no team (Volunteer)
Team Role: Engineer
 
Join Date: Nov 2008
Rookie Year: 2008
Location: New England -> Alaska
Posts: 381
MikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond repute
Re: FRC Video Splitter (Beta)

Quote:
Originally Posted by Ty Tremblay View Post
I guess it wouldn't really matter for this application, all we really care about is the time span between matches.
Correct. It's only the autoStartTime deltas that matter for this application, but it would be comforting to know the source of the time reference. I'd have expected it was a timestamp from the FMS server, but that's usually set to event local time.
__________________
no stranger to the working end of a pencil
Reply With Quote
  #26   Spotlight this post!  
Unread 09-03-2015, 18:18
plnyyanks's Avatar
plnyyanks plnyyanks is offline
Data wins arguments.
AKA: Phil Lopreiato
FRC #1124 (The ÜberBots), FRC #2900 (The Mighty Penguins)
Team Role: College Student
 
Join Date: Apr 2010
Rookie Year: 2010
Location: NYC/Washington, DC
Posts: 1,113
plnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond repute
Re: FRC Video Splitter (Beta)

I wrote up a quick script that will hit the FMS API for an event of your choosing an make a CSV file of {tbaMatchKey, autoStartTime} for use elsewhere.

You need to have your API secrets in a file to be read

https://github.com/phil-lopreiato/ma...timing-data.py
__________________
Phil Lopreiato - "It's a hardware problem"
Team 1124 (2010 - 2013), Team 1418 (2014), Team 2900 (2016)
FRC Notebook The Blue Alliance for Android
Reply With Quote
  #27   Spotlight this post!  
Unread 10-03-2015, 23:25
cbale2000's Avatar
cbale2000 cbale2000 is offline
Registered User
AKA: Chris Bale
FRC #5712 (Gray Matter)
Team Role: Mentor
 
Join Date: Apr 2006
Rookie Year: 2004
Location: Saginaw, MI
Posts: 934
cbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond repute
Re: FRC Video Splitter (Beta)

The only potential issue I see with relying on the API is that not every event will have API data (IE, most off-season events).
Reply With Quote
  #28   Spotlight this post!  
Unread 11-03-2015, 10:01
Ty Tremblay's Avatar
Ty Tremblay Ty Tremblay is offline
Robotics Engineer
FRC #0319 (Big Bad Bob)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2004
Location: Alton NH
Posts: 822
Ty Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond repute
Re: FRC Video Splitter (Beta)

I've created an option that can use the FRC API to automatically fill in time stamps after the first is entered.

It worked well when I tested it on my Reading District recordings. However, I haven't put the code in to handle the break between qualifications and playoffs. To work around this, run Splitter on qual videos, then run it again on playoff videos.
__________________
Reply With Quote
  #29   Spotlight this post!  
Unread 02-04-2015, 11:19
Ty Tremblay's Avatar
Ty Tremblay Ty Tremblay is offline
Robotics Engineer
FRC #0319 (Big Bad Bob)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2004
Location: Alton NH
Posts: 822
Ty Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond repute
Re: FRC Video Splitter (Beta)

New update from Vikesrock!

New features include:
  • Automatic uploading of all videos in destination folder to YouTube
  • Automatic YouTube playlist creation
  • TBA match results in video description.
  • TBA import spreadsheet creation after YouTube upload
  • Improved error handling
  • Progress bars for splitting and uploading
  • And more!
__________________

Last edited by Ty Tremblay : 02-04-2015 at 11:59.
Reply With Quote
  #30   Spotlight this post!  
Unread 02-04-2016, 00:08
Hallry's Avatar
Hallry Hallry is offline
Dare to be FIRST
AKA: Ryan Hall
FRC #1676 (Pascack Pi-oneers)
Team Role: College Student
 
Join Date: Sep 2009
Rookie Year: 2010
Location: Woodcliff Lake NJ *Now in Newark DE
Posts: 2,654
Hallry has a reputation beyond reputeHallry has a reputation beyond reputeHallry has a reputation beyond reputeHallry has a reputation beyond reputeHallry has a reputation beyond reputeHallry has a reputation beyond reputeHallry has a reputation beyond reputeHallry has a reputation beyond reputeHallry has a reputation beyond reputeHallry has a reputation beyond reputeHallry has a reputation beyond repute
Re: FRC Video Splitter (Beta)

Sorry to revive an old thread, but just wanted to say that I used the program for the first time today and loved it. If it's simple enough for me to figure out, it should be a breeze for any other user. Thanks so much, Ty.
__________________
[2009-2013]: Team 1676 Student, Co-CEO, Carpentry Lead
[2013-Present]: Team 1676 Alumnus/College Mentor

Won: 2010 New Jersey Regional, 2010 Virginia Regional (undefeated), 2011 New Jersey Regional, 2011 Virginia Regional, 2011 Brunswick Eruption, 2012 Rutgers MAR District, 2012 girlPOWER, 2012 Ramp Riot, 2013 Bridgewater-Raritan MAR District, 2014 girlPOWER, 2015 Bridgewater-Raritan MAR District, 2016 Mt. Olive MAR District, 2016 Bridgewater-Raritan MAR District
2016 Season Recap Video: http://tinyurl.com/1676-2016
Facebook Instagram Twitter YouTube
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 03:46.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi