Skip to content

zlatsal/css2video

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Css2Video

🎬 Css2Video is a css animation to video converter which can be extended for wide range of usage.

⚙️ Installation

$ npm install

Download ffmpeg and add ffmpeg.exe file into a project folder.

How to use

Edit the animation.html file inside the project directory. Change width and height properties for the .container class. Add all animation content html as children of .container. Write your CSS between script tags in in the head section. Run the app from the console.

node app

Click the link provided and start with conversion.

Aditional info

You can use exported frame images in the frames folder to import it into After Effects and make a composition.

Support this project with ⭐

If you like this project please give it a star.

Contact me at LinkedIn

Zlatan Salkic

📝 License

This project is MIT licensed.

MIT License

Copyright (c) 2024 Zlatan Salkic

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.