Extract audio from video
Extract audio from video and store it in cloud object storage
In this code pattern, Given a video recording of the virtual meeting or a virtual classroom, we extract the audio from the video and store it in IBM Cloud Object Storage.
-
Python: An open-source interpreted high-level programming language for general-purpose programming.
-
Object Storage: Store large amounts of data in a highly scalable manner.
As part of the series which extracts insights from virtual meetings or classrooms, the very first step is to extract audio from video and store it in a common accessible storage space. In this code pattern, we will consider a video recording of a meeting, extract audio from that video file using open source library FFMPEG in a python flask runtime. FFMPEG is a complete, cross-platform solution to record, convert and stream audio and video. Lastly, we will store the extracted audio in IBM Cloud Object Storage. IBM Cloud Object Storage is a highly scalable cloud storage service, designed for high durability, resiliency and security. The stored audio files will be used for further processing to provide speaker diarization in the next code pattern of the series.
Refer this link for complete details of the series: https://developer.ibm.com/articles/text-mining-and-analysis-from-webex-recordings
-
User uploads video file to the application.
-
The FFMPEG library extracts the audio from the video.
-
The extracted audio file is stored in Cloud Object Storage.
Find the detailed steps in the README file.
-
Clone the repo
-
Create Cloud Object Storage Service
-
Add the Credentials to the Application
-
Deploy the Application
-
Run the Application
- Object Storage: IBM Cloud Object Storage is a highly scalable cloud storage service, designed for high durability, resiliency and security. Store, manage and access your data via our self-service portal and RESTful APIs. Connect applications directly to Cloud Object Storage use other IBM Cloud Services with your data.