View images and videos without leaving the console
- View images form any terminal
- Watch videos from any terminal
- Watch youtube videos from any terminal (
-y,--youtube) - Play videos at any fps (
--fps) with sound - Resize images / videos (
--width,--height) - Easy to use
Viewing an image
Watching a video
- A terminal that supports truecolor (list) and utf-8 (most terminals should support utf-8).
libasound2-dev/alsa-lib- for Ubuntu:
apt install libasound2-dev - for Arch Linux:
pacman -S alsa-lib
- for Ubuntu:
ffmpeg- for Ubuntu:
apt install ffmpeg - for Arch Linux:
pacman -S ffmpeg
- for Ubuntu:
pip install ptmvptmv FILE [OPTIONS]-
Required arguments
-
FILEFile to display/play or youtube url
-
-
Optional arguments
-
-y.--youtubeView youtube videos -
--heightSet height (setting bothwidthandheightwill ignore original aspect ratio) -
--widthSet width (setting bothwidthandheightwill ignore original aspect ratio) -
--start-timeSet start position for video.
-
-f,--fpsSet fps (default 15 fps) -
-m,--muteMute audio -
-h,--helpDisplay help
-
Any contributions are greatly appreciated.
kal39(https://github.com/kal39) - [email protected]
Distributed under the MIT license. See LICENSE for more information.