by kellenmace · 4y ago · 0 comments
Here's how to quickly try it out -
Let's say you want to find every video on The Verge's YouTube channel within the last several months in which "MacBook Pro" is mentioned. Here's a pre-populated search to accomplish that:
https://videomentions.com/search?channelUrl=https%253A%252F%...
If you follow that ^ link, then click the button to perform the search, you'll see all matching videos, with every single mention of "MacBook Pro" highlighted.
My favorite part is that all the highlighted matches are timestamped. So you can click on any of them to jump to that exact moment in the video when that keyword was said!
VideoMentions Search is great for these scenarios:
- You want to find all videos within a YouTube channel that mention your brand, your product, or the topics you care about.
- You remember watching a video where a certain topic was discussed, and now you're trying to remember which video it was to rewatch it.
- You run your own YouTube channel and want to quickly find the exact moments in your videos where you cover certain topics, so you can link others to that content.
I have wanted a way to search YouTube based on spoken words for a while. I couldn't find a tool that provides that capability though, so I built it!
I hope you find VideoMentions Search useful! I'd love to hear any feedback you have on it. Please let me know!
[1] https://videomentions.com/search?channelUrl=https%253A%252F%...
I built something similar [2] for a slightly different use case. I wanted to be able to search through all Ram Dass talks in the 'Here and Now' podcast series on YT. I'm obviously not as skilled at CSS. :) And the display of timestamps is still a bit shaky, but for me it fulfills its purpose.
Since I'm able to preload all caption files ahead of time, I'm just using pcregrep for the search which does a pretty good job.
[1] https://github.com/yt-dlp/yt-dlp [2] https://ramdass-search.net
But I need to remember which channel I watched? Maybe I'm missing something, but in my eyes it would make it tremendously more useful if I didn't have to specify channel.
I could update VideoMentions Search to allow users to select multiple channels, and then perform the search across all of those (maybe importing all the channels they're subscribed to could be handy... ). One way or another though, it would still require selecting specific channels to search within. That limitation notwithstanding, I still think it's a useful tool, though!
Thanks for checking it out!
However, I don’t use YouTube enough to mess w channels much. I’m usually searching on a particular topic.
For example, “drop ceiling panel replacement.”
Perhaps you could help users limit the channel scope by making an intelligent channel selection by keyword.
So I would put in “home improvement,” and you could choose some appropriate channels to search for my search terms.
That auto-complete lookup requires spending a finite number of API calls, though, which is why it’s restricted to customers and not available on this freely accessible VideoMentions Search page.
Thanks for checking it out, and for your feedback!
I believe SeekToAction works even if the uploader didn't put chapters in. This was a relatively recent update, to make it fully automatic. So it's presumably doing some audio/video analysis to figure it out. All you need to do is tell Google how to seek your video (so it also works with non youtube videos too).
https://developers.google.com/search/blog/2021/07/new-way-ke...
One consideration is that getting the user's watch history would likely require calls to the YouTube API. So that means I would have to make this a paid service in order to offset the code of those API requests. The beautiful thing about the current iteration is that it doesn't rely on YouTube's API at all. By scraping YouTube pages and leveraging a few NPM packages, I'm currently able to offer free and unrestricted access to it.
If enough people request that ability though, I'll consider incorporating it.
Thanks for checking out my project and for the great idea!
- As soon as the "Channel URL" field loses focus, I start fetching the most recent 30 videos on that channel in the background. This way, by the time the user enters the keyword and date range, I've already fetched some (maybe even all!) of the data ahead of time, which means less wait time for them.
- Once a specific video's data (title, description, transcript, etc.) has been fetched once, it is saved in memory. All other searches the user performs from that point on will pull the video data from the in-memory cache, if it's there. Otherwise, it will fall back to fetching the video data over the network. This in-memory caching makes subsequent searches within the same date range (or a shorter date range) take <1 second.
- Network requests to fetch video data are processed concurrently rather than one at a time. So the browser fires off as many as it can in parallel to get them all resolved as quickly as possible.
- As soon as any matches are found, the UI updates to show the user. This way, the user can start scrolling through the matches and reviewing them while the search is still in progress– they don't have to wait until it finishes to start interacting with the matches.
Thanks for checking out my project!
In the meantime, I think this is a useful free tool for quickly finding spoken word matches within specific channels.
Thanks for checking it out!
Then tried on GeoWizard channel (English) and it worked great.
There is a somewhat related tool called Youglish that works on subtitles, it's great for checking the pronunciation or usage of a word or expression in many languages, but it's based on a curated list of channels with known good subtitles. I thought yours could be a great complement to this as it works directly on the audio.
Yes, youglish.com is a neat tool! I stumbled upon it when looking around for a way to search YouTube videos based on spoken words.
Thanks for checking it out! :)
VideoMentions is addressing the need-gap: 'Searching YouTube videos with transcript'[1] posted on my problem validation forum.
I appreciate that rather than just building a browser add-on to search individual video, You've built a business use case for brand monitoring. I hope you get profitable enough to afford the compute necessary to monitor top channels without having to explicitly mention them.
You're welcomed to explain how it addresses that problem at needgap, So those who need it can find it easily.
[1]: https://needgap.com/problems/88-searching-youtube-videos-wit...
I'm guessing you need a specific channel as a way of getting a list of videos, then pulling the captioning, then searching? (That's the only reason I could think of for the channel restriction, which unfortunately removes 90% of the utility)
YouTube doesn't provide a way to search all of YouTube based on spoken words, unfortunately. Still, I think this is a useful tool for quickly locating spoken word matches within a certain channel.
Some Hacker News commenters have suggested that I could auto-import all the channels the user is subscribed to, or get videos from their watch history, which are interesting ideas. For this first iteration, I kept things simple with a single "Channel URL" input.
Thanks for checking out my project, and for your feedback!
Absolutely, and I agree, however,.... it necessitates that the user use or understand "channels". When I went to your site my first thought was "what the hell's a channel?" ;-)
But yeah, for whatever percentage of youtube users use channels, I see this having a lot of use. My totally unsolicited advice is that you'll have to find some way to remove the channel requirement. Perhaps suggesting channels based on the search terms. (I've seen your other comments about adding features to a paid version)
I haven't yet managed to get VideoMentions to actually work, but that's fine, I assume you're getting hugged to death. :D Shipping anything is hard, and congrats for that.
Yeah, maybe I'll consider having two versions of search - one version for paid customers that allows you to search for YouTube channels by name/keyword and allows you to search across all the channels you're subscribed to or across all the videos in your watch history, and a second version that's free and similar to the current iteration.
VideoMentions Search should work just fine for you - there is no server and no database behind it. When searches are performed, serverless functions are called that source data from YouTube, then return a response to the client. So it should scale just fine.
Can you please visit this link, click the button to perform a search and let me know if you see results pop up? https://videomentions.com/search?channelUrl=https%253A%252F%...
I'd love to know if you don't, or if you see any errors in the browser console. Thanks again for your thoughts on it!
I've not got a legit use for it right now but the few example searches I thought up returned the videos I was thinking of
Nice work!
Here are some example use-cases that I included in another comment, in case any of them are relevant to you:
1. You want to find all videos within a YouTube channel that mention your brand, your product, or the topics you care about.
2. You remember watching a video where a certain topic was discussed, and now you're trying to remember which video it was to rewatch it.
3. You run your own YouTube channel and want to quickly find the exact moments in your videos where you cover certain topics, so you can link others to that content.
Maybe #2 happens occasionally? If so, maybe you can bookmark VideoMentions Search for just such an occasion :)
In any event, thanks for checking out my project, and for the kind words!
e: thinking about it I know a few people who pull highlights out of their older content (sort of #3). Shared with them :)
If you want to search within the transcript of a single video, you can accomplish that with these steps: https://kb.swtc.edu/page.php?id=90230
In the meantime, I think this is a useful tool for quickly locating videos based on spoken words.
Thanks for checking out my project!