Socket
Socket
Sign inDemoInstall

uni3d

Package Overview
Dependencies
225
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    uni3d

Universal 3D rendering demo using regl, getres and headless-gl


Version published
Weekly downloads
2
Maintainers
1
Created
Weekly downloads
 

Readme

Source

uni3d

Universal 3D rendering demo using regl, getres and headless-gl

Notes

For WebM had to:

brew reinstall ffmpeg --with-libvpx
brew install imagemagick

FFMPEG GIF encoding article: http://blog.pkh.me/p/21-high-quality-gif-with-ffmpeg.html

FFMPEG options: http://ubwg.net/b/full-list-of-ffmpeg-flags-and-options

I.e. ffmpeg -h full

FFMPEG H.264 guide: https://trac.ffmpeg.org/wiki/Encode/H.264

Supported formats: https://developer.mozilla.org/en-US/docs/Web/HTML/Supported_media_formats

Could investigate ImageMagick GIF creation e.g.

convert -loop 0 -delay 5 -colors 75 frames/*.png -fuzz "40%" output.gif

Canvid:

https://github.com/gka/canvid

Original:

ffmpeg -f image2 -i bunny%d.jpg ffmpeg.gif

No trans:

ffmpeg -f image2 -i bunny%d.jpg -vf scale=300:-1 -gifflags -transdiff -y bunny-notrans.gif

Trans (optimised):

ffmpeg -f image2 -i bunny%d.jpg -vf scale=300:-1 -gifflags +transdiff -y bunny-trans.gif

To memory?

ffmpeg -y -i input -c:v libx264 -preset medium -b:v 555k -pass 1 -c:a libfdk_aac -b:a 128k -f mp4 /dev/null && \
ffmpeg -i input -c:v libx264 -preset medium -b:v 555k -pass 2 -c:a libfdk_aac -b:a 128k output.mp4

Montage (tiled)

montage -border 0 -geometry 256x -tile 6x -quality 75% bunny*.jpg montage.jpg

Keywords

FAQs

Last updated on 01 Oct 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc