Skip to content

Nikunj113437/Mashup-Using-Multithreading

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Mashup-Using-Multithreading

Mashup performs the following tasks:

  1. Download N videos of X singer from “Youtube” [N can be any positive number and X can be any singer e.g. sharry maan]
  2. Convert all the videos to audio
  3. Cut first Y sec audios from all downloaded files [Y can be any positive number]
  4. Merge all audios to make a single output file.

Run the program through command line as :

Usage: python <program.py> <SingerName> <NumberOfVideos> <AudioDuration> <OutputFileName>

Example: python mashup.py “Sharry Maan” 20 20 audio-output.mp3

Multi-Threading

This project has been created using the concept of multi-threading.

Multi-threading is a programming concept that allows multiple threads of execution to run concurrently within a single process. A thread is a separate path of execution within a program that can perform a specific task independently of other threads. By using multi-threading, a program can utilize the resources of a CPU more efficiently and can perform multiple tasks simultaneously.

Multiple threads have been created to faster the process of downloading.

Multi-Treading reduced the process time significantly.

Screenshots:

Terminal:

image

Folder is created on desktop containing the final mashedup audio file:

image

Video Folder:

image

Audio Folder:

image

Folder made after cutting the audios:

image

Output file:

image

Applications

Mashup could be used in various applications such as:

Music Production: This could be used by music producers to create new remixes or mashups of popular songs by a specific artist. They could download multiple videos of the artist from Youtube, extract the audio, and then use the cut and merge features to create a new, unique audio file.

Podcasting: Podcasters could use this to create a highlight reel of interviews or discussions they have had with a particular guest.

Entertainment Industry: This could also be used in the entertainment industry to create promotional material for upcoming concerts or events.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages