Code Monkey home page Code Monkey logo

mashup-using-multi-threading's Introduction

Mashup

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 102003366.py “Sharry Maan” 20 20 102003366-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.

mashup-using-multi-threading's People

Contributors

maanya268 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.