Skip to content

Rust project for rendering `.webmask` files, bilibili's "danmaku mask".

Notifications You must be signed in to change notification settings

andrewvy/webmask-renderer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webmask-renderer

example output

Video

Rust project for rendering .webmask files.

Right now, it outputs a 1280x720 transparent png sequence into an out/ directory.


A few more ffmpeg steps are necessary to construct a playable movie:

ffmpeg -framerate 24 -i out/%d.png -filter_complex "color=size=1280x720:color=white [white]; [white][0:v] overlay=shortest=1 [out]" -map "[out]" movie.mp4

Some more improvements to be made:

  • Outputting animated format.
  • Output slices of animation.
  • Customize svg rendering (blur, color, etc.)
  • Ability to mux audio data.

About

Rust project for rendering `.webmask` files, bilibili's "danmaku mask".

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published