Skip to content

Ascii Art implemented through serverless services in AWS

License

Notifications You must be signed in to change notification settings

HeNeos/ascii-art-aws

Repository files navigation

ascii-art-aws

Architecture diagram

architecture diagram

Examples

Original Ascii
jaden_original jaden_ascii
Original Ascii
simpsons.mp4
simpsons_ascii.mp4

Description

It mostly works for images, in less than 10 sec, be aware that image resolution is big and could be heavier.

Videos also work, but due to storage limitations it's resized to low quality, bitrate is also capped to a decent value but h264 is not a good encoder for the ascii frames so ascii videos are heavier, you can expect to have a resolution >720p for them.

It should work for any video <3 min and <50MB.

Even when it's possible to process a higher resolution with a higher bitrate, there a few bottlenecks:

  1. Storage: A higher resolution and a higher bitrate could lead to heavier videos, currently I was able to see ascii videos up to 300MB for less than 4 min, so I'm not planning to increase these values. If you want higher resolution ascii images, try with the frames, since the image processing has higher limits.

  2. Memory: I'm using Lambda Functions, and it has a memory limit of 10240MB, so longer and heavy videos are not allowed.

TODO:

  • Process videos without audio.
  • Implement API GW (lambda URL for videos, API GW for images)

About

Ascii Art implemented through serverless services in AWS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published