News for hackers. Stuff that matters.
Re:Show HN: SpotifyTelevision – easily watch music videos fo... by underyx on Friday March 30, 2018 @05:16PM (#16719861)
Wish this could filter to videos that actually are music videos instead of just audio track + album cover. Perhaps it would be possible to make an educated guess by looking at the video file size. As it stands, less than 10% of my tracks actually end up displaying a proper video.
Re:Show HN: SpotifyTelevision – easily watch music videos fo... by immannino on Friday March 30, 2018 @09:33PM (#16721135)
So I’ve actually been trying to brainstorm this for awhile. It’s really tough because I can’t programmatically validate the videos. Right now I was thinking of some kind of caching to keep a fire base of the correct music videos, and then having a pop up for the user to give feedback on whether or not the video I displayed for them is a music video or just music+album cover, and then have them be able to link the correct music video or submit a ticket and I could manually update that video in a database. Not 100% sure yet but I’m working on it
Re:Show HN: SpotifyTelevision – easily watch music videos fo... by rajington on Saturday March 31, 2018 @01:44PM (#16724262)
I had a similar problem previously and considered automating it by comparing frames. It's not easy and would have obvious false positives/negatives, but YouTube does help by publishing key frames and it could at least be used to help rank results.

Take this example music video:

https://www.youtube.com/watch?v=6vopR3ys8Kw

Frames:

https://img.youtube.com/vi/6vopR3ys8Kw/0.jpg

https://img.youtube.com/vi/6vopR3ys8Kw/1.jpg

https://img.youtube.com/vi/6vopR3ys8Kw/2.jpg

https://img.youtube.com/vi/6vopR3ys8Kw/3.jpg

And this lyrics video version (more interesting because it's SOMEWHAT changing):

https://www.youtube.com/watch?v=FoAqHxm5dpo

Frames:

https://img.youtube.com/vi/FoAqHxm5dpo/0.jpg

https://img.youtube.com/vi/FoAqHxm5dpo/1.jpg

https://img.youtube.com/vi/FoAqHxm5dpo/2.jpg

https://img.youtube.com/vi/FoAqHxm5dpo/3.jpg

Simply finding the differences between frames would give the first video a higher score than the second.

Re:Show HN: SpotifyTelevision – easily watch music videos fo... by spdustin on Saturday March 31, 2018 @05:10PM (#16725195)
I commented on your parent post before reading this...

Nice catch on the thumbnails that YouTube already captures. A histogram comparison between the second and third auto-generated thumbnails from the lyrics video was mostly equivalent when I ran one. That would be a good sign that it's not the actual music video.

Re:Show HN: SpotifyTelevision – easily watch music videos fo... by spdustin on Saturday March 31, 2018 @05:06PM (#16725175)
What about snapping a few frames—maybe 33%, 50% and 66% of the way into the video—and doing a simple face detection?

Perhaps, on top of that, a histogram comparison of the same frames, which should capture if the video is pretty much lyrics on a static background.

Re:Show HN: SpotifyTelevision – easily watch music videos fo... by underyx on Saturday March 31, 2018 @07:58PM (#16725837)
1. It's not like all (or even most) music videos have faces in them.

2. I'm pretty sure it's not trivial to download just three specific frames of a video. And downloading so many videos would probably be expensive/bannable.

Re:Show HN: SpotifyTelevision – easily watch music videos fo... by mkolodny on Friday March 30, 2018 @02:49PM (#16718767)
Really cool! I've been wondering why Spotify hasn't been showing music videos themselves on their app
Re:Show HN: SpotifyTelevision – easily watch music videos fo... by THE_PUN_STOPS on Friday March 30, 2018 @03:06PM (#16718895)
They have started to. Some curated playlists even have exclusive music videos.
Re:Show HN: SpotifyTelevision – easily watch music videos fo... by himlion on Friday March 30, 2018 @02:50PM (#16718776)
Licensing.
Re:Show HN: SpotifyTelevision – easily watch music videos fo... by khaliqgant on Friday March 30, 2018 @06:54PM (#16720488)
Cool! I've been working on something very similar: https://www.laidbackvj.com/ and it's open source: https://github.com/khaliqgant/laid-back-vj. Interesting to see a different interpretation of something I've been working on for a bit.
Re:Show HN: SpotifyTelevision – easily watch music videos fo... by immannino on Friday March 30, 2018 @09:30PM (#16721124)
Oh that’s pretty sick! I just checked it out on my phone, I’ll look at it when I get home on my computer. Checkout the source code for mine too, maybe we could collaborate on something bigger!
Re:Show HN: SpotifyTelevision – easily watch music videos fo... by lobo_tuerto on Friday March 30, 2018 @03:48PM (#16719245)
Minor nitpicking: Text inside your buttons isn't vertically centered... kind of annoying ---to me, anyway.
Re:Show HN: SpotifyTelevision – easily watch music videos fo... by immannino on Friday March 30, 2018 @09:33PM (#16721137)
Haha I appreciate the feedback! I’ll look into it when I get home and create an issue and fix it
Re:Show HN: SpotifyTelevision – easily watch music videos fo... by chrisseldo on Friday March 30, 2018 @02:25PM (#16718580)
Can I see how it works before signing in?
Re:Show HN: SpotifyTelevision – easily watch music videos fo... by whymsicalburito on Friday March 30, 2018 @02:38PM (#16718684)
Yes, please. There's not even a written description of what this does.
Re:Show HN: SpotifyTelevision – easily watch music videos fo... by poxrud on Friday March 30, 2018 @04:03PM (#16719358)
Does it get the videos from YouTube?
Re:Show HN: SpotifyTelevision – easily watch music videos fo... by immannino on Friday March 30, 2018 @09:35PM (#16721141)
Yup! I’m using the YouTube search api!
Re:Show HN: SpotifyTelevision – easily watch music videos fo... by immannino on Friday March 30, 2018 @09:34PM (#16721140)
I can create a video for you when I get home, I’ve been out and about all day! I completely understand your reservations
Re:Show HN: SpotifyTelevision – easily watch music videos fo... by sergiotapia on Friday March 30, 2018 @06:17PM (#16720277)
Anyone have a video of what this does? I don't want to register, I want to just use it.