Watch#
Now, please hold on to your seat tightly.
...
Ok, all good?
Yes, it's true. ttt can play videos. In monochrome of course, but also in colors. Kind of. At thousands of frames per second!
I can't show it here, but here are two classics to enjoy:
-
Monochrome:
curl -L -O bad_apple.mp4 "https://archive.org/download/TouhouBadApple/Touhou%20-%20Bad%20Apple.mp4" ttt watch -m -a bad_apple.mp4 -
Color:
curl -L -O rick.mp4 "https://archive.org/download/rick-astley-never-gonna-give-you-up_202302/Rick_Astley_Never_Gonna_Give_You_Up.mp4" ttt watch -m -a -c rick.mp4
๐ต๐ถท๐ด๐ถ Tip! โโ๐ด โ ๐ตนโโ๐ดป Since the watch command's backend is ffmpeg, it is possible to call the ๐ด๐ถท๐ถท๐ด watch command directly with a URL, but the initial load is quite slow.
ttt watch#
Usage:
ttt watch [OPTIONS] FILE | URL
Watch a video provided by the given FILE or URL.
Options:
| Name | Type | Description | Default |
|---|---|---|---|
-D,--disable-dithering |
boolean | Disable dithering. | False |
-c,--color |
boolean | Enable color mode. | False |
-R,--no-resize |
boolean | Display the video in its original resolution (only use for small videos; overriden if too big). | False |
-f,--fill |
boolean | Disregard aspect ratio and fill the screen (overriden by '--no-resize'). | False |
-a,--enable-audio |
boolean | Enable audio (synchronization not guaranteed). | False |
-F,--disable-frame-rate-limit |
boolean | Disable frame rate limit (mutes the audio). | False |
-m,--enable-metrics |
boolean | Show frame rate metrics. | False |
--invert |
boolean | Draw using inverted colors. | False |
--help |
boolean | Show this message and exit. | False |