Code Monkey home page Code Monkey logo

moviemakingwithmusic's Introduction

Moviemakingwithmusic

Moviemakingwithmusic Deployment Procedure of Moviemaker Module:

Packages and Installation:

Python3.6.10 OpenCV4.4.0.42

Moviepy

Downloads Links:

Python : https://www.python.org/downloads/ Moviepy : https://pypi.org/project/moviepy/ Opencv : https://pypi.org/project/opencv-python/

Installation:

Pip install moviepy Pip install opencv-python

Terminal Commands for Moviemaker Module run procedure:

Library’s Import procedure:

Import moviemak

Parameters needed to run module:

Moviemak.filmake(input_dir,output_dir,past_seconds,future_out_seconds,Game_server_time_stamp,Music_mp3_root,wave_sequence,Merged_video_root)

Function parameters example:

Input_dir=’/image/frames_root’

Output_dir=’/movie_root’

Past_seconds=’2’ in seconds

Future_out_seconds=’10’ in seconds

Game_server_time_stamp=’20200423444900’

Music_mp3_root=’/mp3 music file root’

Merged_video_root=’/Merged movie root’

Individual Module run terminal commands:

Python3 Moviemak.filmake(input_dir,output_dir,past_seconds,future_out_seconds,Game_server_time_stamp,Music_mp3_root,wave_sequence,Merged_video_root)

Working Concept:

Frames to Movie:

Frames convert into Movie based on Timestamp( Past seconds + Future seconds) Movie have ~ 40 frames per seconds

Movie merged with Music:

Music merging with movie based on movie length( duration in seconds) So Music segment and automatically merged with movie

Moviemaker Logic:

First checking (finding) Times stamp, from timestamp (or) EMO model, on the camera image Root. The Timestamp is not there, then to finding the nearest timestamp based on timestamp. Past seconds: Collect the Past frames from the camera Root. Future seconds: Collect the frames based on Future seconds from the camera root.

Make a movie from collected frames & merged with music.

This module able to make a video with sufficient frames.

Example: past seconds =’3sec’, future seconds= ‘4’ 1 second=30 frames Needed frames=210 frames In folder frames= 120 frames Reference & Nearest timestamp on approximately = 100th frame Past =90 frames Future=120 frames But we have sufficient future frames 20 Video length = ~3.5 seconds

moviemakingwithmusic's People

Contributors

selvakarna avatar

Stargazers

 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.