diff --git a/README.md b/README.md new file mode 100644 index 0000000..8971754 --- /dev/null +++ b/README.md @@ -0,0 +1,38 @@ + L3D's opentoonz source files +============================== + + How to export in opentoonz +---------------------------- +* Render as PNG to empty folder + +* Create WEBM with alpha channel: +``` +ffmpeg -framerate 50 \ + -pattern_type glob -i '*.png' \ + -pix_fmt yuva420p \ + result.webm +``` + +* Create a GIF: +``` +ffmpeg -framerate 50 \ + -pattern_type glob -i '*.png' \ + result.gif +``` + +* Create LOW_RES Gif +``` +ffmpeg -framerate 50 \ + -pattern_type glob -i '*.png' \ + -vf scale="730:-1" \ + result.gif +``` + +* Create MP4 +``` +ffmpeg -framerate 50 \ + -pattern_type glob -i '*.png' \ + -c:v libx264 -preset slow \ + -crf 22 -pix_fmt yuv420p \ + result.mp4 +```