Skip to content

thejackys/System-for-Video-Stylization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A system for video stylzing

cat

waterfall

Team 12

  • B06607057
  • R10944012
  • R10944014

Test Platform

  • Ubuntu 18.04
  • Nvidia RTX 3090, Driver Version 510.73.08, cuda 11.6
  • Docker Engine 20.10.14
  • Docker Compose 1.29.2

Steps to use this system

  1. Install docker and docker-compose
  2. Install Nvidia Drivers and Setup Cuda Environment

Note: if no cuda available, or not supported, please comment out the following line in the docker-compose.yml


`runtime: nvidia` 3. cd to `code` directory and extract backend.zip ``` bash cd code unzip backend.zip ``` > Note: Source code for frontend is available at `frontend.zip`, but the built version is included in backend. 4. Put the Input Video in the `backend/static/videos` folder and Rename the Video to `video.mp4` >Note: We assume the video resolution is smaller or equals to 1280x720, and has fps 30. In addition, the ebsynth algorithm is pretty slow, a 4-second video can take about 30 minutes to compute. One can use the following command to change the resolution, fps and cut the video into the desired length:
`ffmpeg -i -ss -to -vf "fps=30, scale=-1:720" video.mp4` 4. Run `docker-compose up` > Note: The docker-compose will build the docker image and start the backend server. 5. The frontend will be at `localhost:12113` > Note: The frontend cannot access by multiple client, or it may cause errors. 6. The styled video will be at `backend/static/videos/video_styled.mp4`

Backup link for demo video

Demo Video

Credits

This System is based on the following libraries and pretrained model:

Style Transfer Models for Image

Style Transfer algorithm for Video

Frontend

Backend

About

Digital visual effect final projects. date:2022/6

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published