Ask Different Asked by Anthney on December 4, 2021
This might be a very niche thing, but I have a lot of local and downloaded videos on my Mac that I keep for educational purposes, and was wondering if it’s possible to search through the transcriptions/speech within the video.
I know searching in finder allows the ability to search within text documents and file contents, I’m looking for something similar for videos.
I’m willing to manually attach the transcriptions myself to every video if that’s required, since there are many apps that can do that. But the ability to search my entire Mac, like in finder, for a certain phrase and see which videos contain those search results would be extremely useful.
The closest thing available right now natively on macOS is to just paste as much of the transcript inside the comments section of the video’s ‘get info’. Doing this allows searching in finder and getting the video in the search results but there is character count limit so it’s very limiting.
What you are looking for is a Spotlight Importer for movie file subtitles. There are numerous open source importers on GitHub.
If none match your needs, consider writing a Spotlight Importer to index the embedded subtitles. Importers look complex to write but they are not too bad. Be sure to start with the Xcode template project.
Answered by Graham Miln on December 4, 2021
If the mp4 file has a subtitle track, you could extract the text to a .srt file using mp4box (more info can be found at How to extract subtitles from MP4 and MKV movies. Of course, you would need to do this for every file you have then search within those .srt files.
Answered by agarza on December 4, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP