Comments (4)
@CMiksche we'll definitely implement this feature! Will be cool to have webp animated images! Thank you for creating this issue!
from vhs.
For anything containing sharp, high-contrast edges (such as rendered fonts) you'll want a media format that supports 4:4:4 chroma.
At least the lossy version of webp uses 4:2:0 chroma subsampling. The lossless version could be used but it most likely doesn't compress as well.
The following web-compatible formats should support full chroma:
- apng
- webm with vp9 profile 1
- webm with av1 high profile
- mp4 with av1, h.264 or h.265 with the appropriate profile (usually called "High" or "Main 4:4:4")
- avif
- gif¹
¹ no chroma subsampling, but of course it still suffers from its limited palette
from vhs.
Output to a webm video format, then include it using the video HTML5 tag.
More info:
- https://github.com/charmbracelet/vhs#output
- https://en.wikipedia.org/wiki/WebP
- https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video
from vhs.
Output to a webm video format, then include it using the video HTML5 tag.
WebM is a video format, I want an animated picture, which WebP also offers (see the "Animation" part in your linked Wikipedia article)
You can include WebP in your GitHub / GitLab Repos. I never saw someone using a video format inside a repo...
from vhs.
Related Issues (20)
- Inconsistent playback speed HOT 8
- `Copy` + `Paste` commands HOT 2
- Errors running program HOT 1
- Load color schemes from individual files
- Support Ctrl+Enter Ctrl+Alt+Enter and such HOT 1
- Shell Scripts
- Delay output
- Emoji Support HOT 2
- Library not loaded: liblept.5.dylib
- Support scrolling the terminal HOT 2
- Why ttyd is required? HOT 1
- VHS not rendering Bubbletea output
- case insensitivity HOT 2
- `Screenshot` produces images containing typing from the future (i.e. further down in the `.tape` file)?
- Request: Release 0.7.0 and more regularly HOT 4
- On-demand frame capture
- How can I change Shell Prompt HOT 18
- Changing the FontSize affects what is captured on Hide/Show HOT 2
- Outputs ignored if specifying more than one golden file format
- Source 1_example.tape raises "Expected path after Source" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vhs.