# Summarize any video using only ONE command!

## Метаданные

- **Канал:** AssemblyAI
- **YouTube:** https://www.youtube.com/watch?v=4K9jCFhRwlc
- **Дата:** 07.11.2022
- **Длительность:** 4:25
- **Просмотры:** 3,121
- **Источник:** https://ekstraktznaniy.ru/video/12913

## Описание

Learn how to transcribe and summarize any video using only one command.

Get your Free Token for AssemblyAI👇
https://www.assemblyai.com/?utm_source=youtube&utm_medium=referral&utm_campaign=yt_pat_61

GitHub repo & docs: https://github.com/AssemblyAI/assemblyai-cli
Blog post: https://www.assemblyai.com/blog/automatically-summarize-audio-and-video-files-at-scale-with-ai/

▬▬▬▬▬▬▬▬▬▬▬▬ CONNECT ▬▬▬▬▬▬▬▬▬▬▬▬

🖥️ Website: https://www.assemblyai.com
🐦 Twitter: https://twitter.com/AssemblyAI
🦾 Discord: https://discord.gg/Cd8MyVJAXd
▶️  Subscribe: https://www.youtube.com/c/AssemblyAI?sub_confirmation=1
🔥 We're hiring! Check our open roles: https://www.assemblyai.com/careers

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

#MachineLearning

## Транскрипт

### <Untitled Chapter 1> []

sometimes we don't want to watch a whole video but just read the summary and in this video I show you how you only need one command line to create a transcript and also generate a summary of any YouTube video or local audio file so let's get started for this we use the

### Installation [0:16]

assembly AI command line interface that you can find on GitHub it's open source and it's supported on all major platforms so you can grab one of those installation commands either Homebrew on a Mac then without home improved for mac and Linux or Windows in my case I'm on a Mac with Homebrew so let's head over to the terminal and with Homebrew you say Brew tap and then assembly I slash assembly AI I already did that so after that you can say Brew install assembly Ai and this will install the latest version so in my case it's already installed so now we can start using it after the installation we have to

### Transcription [0:51]

configure it with an API token so we can say assembly AI config and now we grab an API token that we can get for free at SM and play i. com there's also a link in the description below and now here in your dashboard you simply copy your token and then paste it here and now you hit enter and this will store the API token so now we can start transcribing so for this we can say assembly AI transcribe and then we could either use a YouTube link or in this case I have a local file stored in this folder so now we hit enter and now this will first upload the file and now it's starting the transcription so as you can see the processing time is usually 20 of the file's duration so let's wait for the result so now transcription is finished and here we have our transcript and can now read through this and as you can also see we have the speaker labels A and B so by default speaker labels is turned on but we can also turn it off by using a flag I'll show you this in a moment but first of all I also want to show you that we could say assembly AI transcribe type and then just use a YouTube link and this works as well so here in this case it's First downloading the video then it's uploading it to the servers and then again it starts the transcription and then again after waiting a few moments here we have the transcript now let's look at the

### Flags [2:16]

different possible Flags we can use because on top of the transcription we can also turn on powerful AI models for this we can go to the documentation on GitHub and look at the possible flags for example we can say minus order chapters this will generate a summary over time we have Auto highlights content moderation entity detection and a lot more so let's try this out so let's say assembly AI transcribe and then we can say for example minus Auto highlights and minus entity detection and hit enter and then again let's wait for the result and then again here we have our transcript back but now in addition in the end here in the bottom we see the highlights that are detected and also the entity detection so it found some locations and organizations so this is pretty cool so for this again play around with different possible flags and see how the results look like and the last thing I

### Summarization [3:11]

want to show you is my personal favorite feature we can also say assembly I transcribe and then the video link and then minus summarization this will automatically create a summarization for you and for this we can again have a look at the documentation so here we have the summarization flag and then we also have minus summary type so there are different possible types that we can use for this let's have a look at the docs so we can use bullets this is the default bullets verbose which is a longer bullet then we can just have a gist or a headline or a paragraph So for this for example you could say minus summary type paragraph in my case I want the bullets as default so let's just use this and hit enter so here we get the transcript and now in the end we also have the summer in this case as bullet points so it generated this summary so if you don't want to watch the whole video you can simply read through the summary and save a lot of time by just using this one command which I think is super cool so I hope you enjoyed this tutorial again you can get started for free with an API token with the link in the description and also subscribe to our channel for more machine learning and python tutorials and then I hope to see you in the next video bye
