Giter Site home page Giter Site logo

generator-easyvideo's Introduction

generator-easyvideo

Encoding work flow to generate videos in multiple sizes and codecs using FFmpeg, Yeoman and Grunt.

Software Dependencies

FFmpeg

This encoder requries FFmpeg. You may need to compile in support for your desired codec. For libx264 and libvpx, the libraries that generate .mp4 and .webm files, you can install them like so with Homebrew:

$ brew install ffmpeg --with-libvorbis --with-nonfree --with-gpl --with-libvpx --with-pthreads --with-libx264 --with-libfaac --with-theora --with-libogg

Yeoman and generator-easyvideo

To install Yeoman from npm, run:

$ npm install -g yo

To install generator-easyvideo from npm, run:

$ npm install -g generator-easyvideo

Configure And Run

Instantiate the generator from within your project folder

$ yo easyvideo

Place source files in the newly created assets/videos/ and run:

$ grunt videos

Any videos in the assets/videos/ will be generated in the sizes listed in the responsive_videos task in Grunt.js and output to dist/videos/. You may check the default encode settings, or update the output sizes, codecs and poster option by following the instructions for grunt-responsive-videos.

Release History

0.1.0

  • Use better version of grunt-responsive-videos

0.0.4

  • Updated keywords

0.0.3

  • Updated description

0.0.1

  • Initial release

License

MIT

generator-easyvideo's People

Contributors

sjwilliams avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

generator-easyvideo's Issues

Additional defaults and sizes

In addition to the default grunt task, there should be several common presets available as grunt presetname. Maybe around quality, etc. Also, would be nice if a width value could be passed in on the command line.

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.