An utf-8/truecolor image and video viewer for the terminal
View images and videos without leaving the console
-y
, --youtube
)-f
, --fps
, -F
, --origfps
)-w
, -h
, --width
, --height
)Viewing an image
Watching a video
tmv [OPTIONS...
] [INPUT FILE / URL]
INPUT
File to display/play
OPTIONS...
-y
. --youtube
-h
, --height
width
and height
will ignore original aspect ratio)-w
, --width
width
and height
will ignore original aspect ratio)-f
, --fps
-F
, --origfps
-s
, --no-sound
-i
, --no-info
-?
, --help
-V
Instructions:
Install dependencies.
libavcodec-dev
libavformat-dev
libavfilter-dev
libavdevice-dev
In addition, to watch videos install:
ffmpeg
youtube-dl
Clone the repository and run make.
git clone https://github.com/kal39/TerminalMediaViewer.git
cd TerminalMediaViewer
make
To install tmv to /usr/local/bin
you can run make install
(needs sudo privileges).
To uninstall run make uninstall
(needs sudo privileges).
Requirements:
homebrew
iterm2
Instructions:
brew install argp-standalone
In addition, to watch videos:
brew install ffmpeg
brew install youtube-dl
git clone https://github.com/kal39/TerminalMediaViewer.git
cd TerminalMediaViewer
make
To install tmv to /usr/local/bin
you can run make install
(needs sudo privileges).make uninstall
(needs sudo privileges).Only works on iTerm2.
There are some performance issues. Depending on the video encoding, your mileage may vary.
v0.1.1
Youtube Support
TerminalMediaViewer can now play videos directly from youtube.
To play videos from youtube, use the -y
option.
v0.1
Initial release
Initial release of tmv.
It is in a very early state so bugs are expected.
Any contributions are greatly appreciated.
kal39(https://github.com/kal39) - [email protected]
Distributed under the MIT license. See LICENSE
for more information.