Giter Club home page Giter Club logo

html5-video-splitter's Introduction

How it works

html5-video-splitter is a small utility to split videos in javascript :

  • A web interface to play the video and select the range to extract
  • A Node server to call FFmpeg

image

Supported formats :

It supports all videos format available for the <video> tag : mp4, webm and ogg

For more informations see http://www.w3schools.com/html/html5_video.asp

Requirements :

FFmpeg must be installed. To ensure it is available, on your command line, run which ffmpeg. This will give you the path where ffmpeg is installed. For example, it might return /usr/local/bin/ffmpeg.

Install FFmpeg on OS X : brew install ffmpeg

Install FFmpeg on Linux : apt-get install ffmpeg ffmpeg

How tu use :

Start the node.js server :

node video-splitter.js

It opens a web page where you can select a video :

  1. Important : Put the videos you want to split in the videos folder (see notes)
  2. Drag a video or choose a file from the videos folder
  3. Select the range in second to split
  4. Click on the split button
  5. The ouput can be found in the videos folder

Notes :

For security reasons the browser don't allow to get the path to the videos you choose. We can only access the file name. That's why we assume the videos will be in the videos folder.

Contributing :

  • Fork it ( https://github.com/vdaubry/html5-video-splitter/fork )
  • Create your feature branch (git checkout -b my-new-feature)
  • Commit your changes (git commit -am 'Add some feature')
  • Push to the branch (git push origin my-new-feature)
  • Create a new Pull Request

html5-video-splitter's People

Contributors

vdaubry 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.