News for hackers. Stuff that matters.
Re:NBA Highlights – Search for video of NBA plays by rfrank on Monday December 12, 2016 @10:06PM (#13164118)
I like the idea, but I'm having some trouble with it. Search results are only from this season, right? A search for Steve Nash showed a Steph Currey highlight as result one for me. More slang oriented searches like "dunked on" or "dunks on" don't really work either. Dunk/Dunks shows up in results, but nothing beyond that. Was looking for one of my all time favorite highlights, Baron Davis dunking on Kirilenko [1]. For me this type of thing would be pretty awesome with some sort of stats element. A 'visual box score' vs. 'highlights search engine.' ie show the box score for a game, and clicking in any particular field shows video of the plays that produced those stats.

1. https://www.youtube.com/watch?v=tYpwjB0IzoU

Re:NBA Highlights – Search for video of NBA plays by microtherion on Monday December 12, 2016 @10:56PM (#13164303)
> A search for Steve Nash showed a Steph Currey highlight as result one for me

Presumably because Nash is on the warriors coaching staff.

Re:NBA Highlights – Search for video of NBA plays by rfrank on Monday December 12, 2016 @10:59PM (#13164317)
I can't find any retired players, maybe you can. Larry Bird, Magic Johnson, etc. Pretty sure it's just this year for results.
Re:NBA Highlights – Search for video of NBA plays by microtherion on Tuesday December 13, 2016 @01:27AM (#13164969)
I'm sure you're right, just meant to explain the connection between Nash & Curry.
Re:NBA Highlights – Search for video of NBA plays by rlau26 on Monday December 12, 2016 @09:59PM (#13164089)
Where is all the footage from? Is this allowed by the NBA? The quality of the footage is quite good.

This seems to be just searching the clip title. For example, if you search 'curry 3' ('curry three' returns nothing), it'll return things like "Curry 2' Finger Roll Layup (6 PTS) (Iguodala 3 AST)" or "Curry REBOUND (Off:0 Def:3)". If it could match the search query with play-by-play data, now THAT'd be cool.

Re:NBA Highlights – Search for video of NBA plays by iamatworknow on Tuesday December 13, 2016 @10:21AM (#13167396)
>Is this allowed by the NBA?

The NBA may be the only US pro sports league that actually doesn't mind having highlights compiled and shared online. In fact, the current commissioner has said, "We’re incredibly protective of our live game rights, but for the most part highlights are marketing."[0]

[0]http://www.si.com/nba/2015/03/01/mit-sloan-sports-analytics-... (number 30)

Re:NBA Highlights – Search for video of NBA plays by eaganr on Monday December 12, 2016 @10:13PM (#13164143)
My site (http://eaganr.com/nba/) used to do this. But they changed up their video URLs, wondering how Matetricks gets the new URLs.
Re:NBA Highlights – Search for video of NBA plays by Matetricks on Monday December 12, 2016 @10:21PM (#13164170)
I didn't build this, it's a site that's been trending on my news feed. Two people in my network built it over a weekend.
Re:NBA Highlights – Search for video of NBA plays by mistermann on Tuesday December 13, 2016 @01:33AM (#13164986)
I would tell those 2 guys to build this out including parts that should be there but they need the data, etc, targeting it as a value-add service that Disney can sell to ESPN subscribers. Done properly with multiple sports over multiple years and consistent annotations, I would think sports fans would go nuts over this, wouldn't they? (Any sports fans here?) Like, think of the ability to jump immediately to the video of most any noteworthy event in a sports event in recent history - "hey, remember that time PlayerX did that funny fake tag out to PlayerY? Hey let's pull that up and watch it, grab this slider you can move it back and forth to see exactly how he pulled off that trick, hahaha awesome".

I think Disney has plenty enough in-house talent and they're usually pretty forward thinking, it's surprising they haven't done something along these lines.

Re:NBA Highlights – Search for video of NBA plays by kareemm on Tuesday December 13, 2016 @02:53AM (#13165274)
I used to work at ESPN.com. My job application was a proof of concept of a similar idea, but because it was 2002 and wasn't possible to build technically it was designed to show that I could code and think creatively about consuming sports online.

When I took the job, the realities of licensing footage hot hard: the leagues were not keen on letting a third party like ESPN have historical, searchable footage like this available on demand. The leagues were still figuring not how to make money from digital and rights to their games are the biggest asset they have.

Things have changed since then but the tl; dr is that from 2002-2005 the reason this wasn't built by ESPN was not technical or due to a lack of imagination, but a business reason - it was prohibitively expensive / impossible to get licensing rights from the leagues.

Re:NBA Highlights – Search for video of NBA plays by maruhan2 on Tuesday December 13, 2016 @03:47AM (#13165473)
I can see it working. Especially if it's community driven. Like use AI/machine learning to create the foundation for recognizing what event corresponds to which scene, and then have viewers be tagging or writing comments while the video is rolling
Re:NBA Highlights – Search for video of NBA plays by arilitan on Tuesday December 13, 2016 @02:12PM (#13169760)
We're building exactly what you're describing at http://www.swish.io (available on both ios and android) We organize clips by plays, teams, and games and annotate videos using the meta data from the play-by-play. We even have the slo-mo slider capabilities you mention, if you check out our app you can press down on any video and move your finger back and forth to watch in slo-mo (works much better on iOS at the moment).

We source our content from social media, not from the league's sites so we do not have every play but we have a lot. Usually 30 or more per game.

If you're a sports fans try it out would love to hear your feedback!

Re:NBA Highlights – Search for video of NBA plays by orthoganol on Tuesday December 13, 2016 @03:42AM (#13165454)
"All NBA Plays"?

For example, this well circulated failed dunk attempt by Curry from earlier this season is not there: https://streamable.com/mntc

Re:NBA Highlights – Search for video of NBA plays by alwayseasy on Tuesday December 13, 2016 @10:18AM (#13167363)
Found it. The queries have to match the naming of the video so I searched "Miss Curry Lakers": https://3ball.io/miss-curry-lakers/0021600238_233
Re:NBA Highlights – Search for video of NBA plays by nodesocket on Monday December 12, 2016 @09:55PM (#13164074)
I'm a big basketball fan (mostly college). Where are you sourcing the videos? Also, are you manually tagging each video with player names, teams, and keywords or is there some magic happening on the backend?
Re:NBA Highlights – Search for video of NBA plays by slyfocks on Monday December 12, 2016 @10:51PM (#13164286)
Just from a cursory glance at the results, it seems like they're simply providing a naive search on the play-by-play descriptions that the NBA provides (e.g. http://data.nba.net/data/10s/prod/v1/20161212/0021600366_pbp...). No computer vision behind-the-scenes magic, unfortunately.
Re:NBA Highlights – Search for video of NBA plays by mistermann on Tuesday December 13, 2016 @01:38AM (#13165009)
> No computer vision behind-the-scenes magic, unfortunately.

Theoretically, it shouldn't be terribly technically difficult to attach a few sensors to each player to get a relatively hi-res 3D representation of each player's position throughout the game, should it?

Annotating the action accurately, not so easy, or might there be some trick?

Re:NBA Highlights – Search for video of NBA plays by forevercrashing on Tuesday December 13, 2016 @02:41AM (#13165220)
This sort of happens already in NBA games. There's a system called SportVU that tracks XY positioning of players and XYZ positioning of the ball in real-time. Here's a decent article that describes it in more detail: http://www.fastcodesign.com/1670059/moneyball-20-how-missile... . Unfortunately, the data is proprietary.
Re:NBA Highlights – Search for video of NBA plays by clairity on Tuesday December 13, 2016 @03:43AM (#13165458)
my impression, from having talked with people who analyze the data from sportVU, is that the raw data is fairly useless and most of the useful data crunching happens overnight after each game.

with that said, bluetooth beacons, along with 3 bluetooth receivers for triangulation, could be used for inexpensive player tracking, but the data would be noisy and not as accurate (probably ~1 ft resolution or so). i've actually been wanting to put such a system together to determine how good it might be.

Re:NBA Highlights – Search for video of NBA plays by prawn on Tuesday December 13, 2016 @01:57AM (#13165065)
Would be great if it could learn which were most likely to be highlight plays based on the number of times they were clicked. And then give those priority in the results list. Also, maybe prioritise a player's involvement in the play.

e.g., if I search "westbrook dunk", I probably don't want the normal dunks first, or the time he passed to someone else who then had the dunk. Show me the great Westbrook dunks first, then the normal ones, then the assists to other dunkers.

Re:NBA Highlights – Search for video of NBA plays by pmontra on Tuesday December 13, 2016 @10:23AM (#13167420)
If you search for a player's name and the word pass you get all the videos with that player and that word in the title. That includes the ones where the pass was made by somebody else and the ones marked as bad pass, which are probably not what I'm interested in.

A suggestion: limit the search to the substring of the title between commas. It seems to always match a player with his play.

Re:NBA Highlights – Search for video of NBA plays by nodesocket on Tuesday December 13, 2016 @01:19AM (#13164940)
I can't say for sure this is what 3ball is using, but here is an XML file from NBA.com listing videos with associated titles, descriptions, thmbnails, and video urls.

http://www.nba.com/sitemap_videos_0001.xml

However it appears outdated since the dates only go up to 8/4/2016.

Re:NBA Highlights – Search for video of NBA plays by derimagia on Monday December 12, 2016 @10:05PM (#13164114)
For all the people asking where it's from, quick google brought up http://www.nba.com/sitemap_videos_0001.xml and changing it to 0002 seemed to work. It's just an index of something from nba.com and nothing is hosted on the site.
Re:NBA Highlights – Search for video of NBA plays by shaunpud on Monday December 12, 2016 @10:32PM (#13164205)
You can get all the sitemaps here; http://www.nba.com/video_sitemap_index.xml
Re:NBA Highlights – Search for video of NBA plays by nlin5 on Monday December 12, 2016 @11:15PM (#13164391)
How were you able to find that sitemap? Is there one for stats.nba.com?
Re:NBA Highlights – Search for video of NBA plays by shaunpud on Tuesday December 13, 2016 @12:02AM (#13164588)
Not sure mate, but you can find a bunch through G; https://www.google.com.au/search?q=inurl%3Axml+site%3Anba.co...
Re:NBA Highlights – Search for video of NBA plays by laxatives on Tuesday December 13, 2016 @01:52AM (#13165052)
I tried like 8 queries and none of them yielded a single relevant result. Most of them didn't yield a video at all. Granted, they were difficult/obscure, but didn't make a great impression.

If this needs some special syntax or keywords, you should let the user know.

Re:NBA Highlights – Search for video of NBA plays by LAMike on Monday December 12, 2016 @10:20PM (#13164167)
Searched for "Kobe pass"

0 results lol

Re:NBA Highlights – Search for video of NBA plays by rfrank on Monday December 12, 2016 @10:22PM (#13164177)
Would be pretty hilarious if the only result was the 81 point game.
Re:NBA Highlights – Search for video of NBA plays by esturk on Tuesday December 13, 2016 @12:43AM (#13164777)
Typed in "5x5", found nothing. However rare of a performance, Draymond pulled it off last season so it should be relatively recent.
Re:NBA Highlights – Search for video of NBA plays by m_myers on Tuesday December 13, 2016 @12:58AM (#13164834)
This site appears to only have clips of individual plays, so neither a 5x5 nor a triple double would appear except as a long set of highlights. And not every play is a highlight; I checked a recent Russell Westbrook game and it had every assist but only about half of his scoring plays.
Re:NBA Highlights – Search for video of NBA plays by lintroller on Monday December 12, 2016 @09:54PM (#13164070)
This is a fascinating tool but I can't imagine this will exist much longer after the NBA's lawyers find it.
Re:NBA Highlights – Search for video of NBA plays by shigawire on Monday December 12, 2016 @10:49PM (#13164278)
The NBA is usually pretty good about letting fan videos of their content exist.. compared to the NFL at least.

Also videos of every play are available as clips on the NBA site, this just seems like a more searchable version.

Re:NBA Highlights – Search for video of NBA plays by failedstoic on Monday December 12, 2016 @10:05PM (#13164116)
How I can find who made this? Would love to work w/ him/her on a project.
Re:NBA Highlights – Search for video of NBA plays by krrishd on Monday December 12, 2016 @11:09PM (#13164364)
Re:NBA Highlights – Search for video of NBA plays by DanFeldman on Monday December 12, 2016 @11:41PM (#13164493)
And by Zhi P
Re:NBA Highlights – Search for video of NBA plays by 14sbhargava on Monday December 12, 2016 @11:42PM (#13164497)
also @notzhipan
Re:NBA Highlights – Search for video of NBA plays by djKianoosh on Monday December 12, 2016 @09:59PM (#13164091)
cool stuff...

every letter search becomes a new route.. yikes that is awful for going back

also, I searched for ginobili assist but it found all plays with ginobili and any assist.

good start and the video quality is pretty strong on mobile