All Projects → kal39 → TerminalMediaViewer

kal39 / TerminalMediaViewer

Licence: MIT license
An utf-8/truecolor image and video viewer for the terminal

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to TerminalMediaViewer

brain-monitor
A terminal app written in Node.js to monitor brain signals in real-time
Stars: ✭ 119 (+13.33%)
Mutual labels:  terminal-app, terminal-graphics
Habitican-Curse
A Terminal application for HabitRPG using the python curses library
Stars: ✭ 30 (-71.43%)
Mutual labels:  terminal-app, terminal-graphics
Edx Dl
A simple tool to download video lectures from edx.org (and other openedx sites)
Stars: ✭ 1,769 (+1584.76%)
Mutual labels:  videos
Instaloader
Download pictures (or videos) along with their captions and other metadata from Instagram.
Stars: ✭ 3,655 (+3380.95%)
Mutual labels:  videos
Exiftool Vendored.js
Fast, cross-platform Node.js access to ExifTool
Stars: ✭ 200 (+90.48%)
Mutual labels:  videos
Pornsearch
Easy way to search for porn content!
Stars: ✭ 156 (+48.57%)
Mutual labels:  videos
Wwdc
You don't have the time to watch all the WWDC session videos yourself? No problem me and many contributors extracted the gist for you 🥳
Stars: ✭ 2,561 (+2339.05%)
Mutual labels:  videos
Keypress Osd
This program is an On-Screen Display or a Heads-Up Display for keys. It displays every key press at a clearly visible text size. It is developed for people with poor eye sight. It is meant to aid desktop computer usage. It is especially useful while chatting or for occasional typing. The user no longer has to squint or zoom in the entire screen to see what s/he writes in small text fields.
Stars: ✭ 131 (+24.76%)
Mutual labels:  videos
ryuanime
A free anime streaming , using the jkanime content by scraping the jkanime website.
Stars: ✭ 20 (-80.95%)
Mutual labels:  videos
Computer Networking
Free resources for a self-taught education in Computer Networking
Stars: ✭ 201 (+91.43%)
Mutual labels:  videos
Contrib
Data for dev.tube – 🍿 a free and open-source tech video hub.
Stars: ✭ 247 (+135.24%)
Mutual labels:  videos
Wwdc Notes
WWDCNotes.com content ✨
Stars: ✭ 183 (+74.29%)
Mutual labels:  videos
Js Must Watch
Must-watch videos about javascript
Stars: ✭ 12,696 (+11991.43%)
Mutual labels:  videos
Python Videos Ru 2018
Собрание видеозаписей докладов про Python | 2018
Stars: ✭ 234 (+122.86%)
Mutual labels:  videos
Mongodb For Python Developers
MongoDB for Python developers course handouts from Talk Python Training
Stars: ✭ 141 (+34.29%)
Mutual labels:  videos
clojure-must-watch
Must watch videos about Clojure in the same vein as js-must-watch (https://github.com/bolshchikov/js-must-watch).
Stars: ✭ 11 (-89.52%)
Mutual labels:  videos
Auto Youtube Subscription Playlist 2
Script automatically adds videos to playlists from Youtube channels and/or subscriptions (Youtube Collections alternative).
Stars: ✭ 136 (+29.52%)
Mutual labels:  videos
Min Vid
Popout video player in Firefox
Stars: ✭ 180 (+71.43%)
Mutual labels:  videos
Awesome Deepfakes Materials
A curated list of awesome Deepfakes materials
Stars: ✭ 219 (+108.57%)
Mutual labels:  videos
viewer
🖼 Simple file viewer with slideshow for media
Stars: ✭ 68 (-35.24%)
Mutual labels:  videos

Terminal Media Viewer

View images and videos without leaving the console



>>> Improved version at PyTerminalMediaViewer <<<



Features

  • View images form any terminal
  • Watch videos from any terminal
  • Watch youtube videos from any terminal (-y, --youtube)
  • Play videos at any fps (-f, --fps, -F, --origfps)
  • Resize images / videos (-w, -h, --width, --height)
  • Easy to use

Examples

Viewing an image

Watching a video


Requirements

  • A terminal that supports truecolor (list) and utf-8 (most terminals should support utf-8).
  • ffmpeg (only for videos)
  • youtube-dl (only for youtube videos)

Usage

tmv [OPTIONS...] [INPUT FILE / URL]

  • INPUT
    File to display/play

  • OPTIONS...

    • -y. --youtube
      View youtube videos
    • -h, --height
      Set height (setting both width and height will ignore original aspect ratio)
    • -w, --width
      Set width (setting both width and height will ignore original aspect ratio)
    • -f, --fps
      Set fps (default 15 fps)
    • -F, --origfps
      Use original fps from video (default 15 fps)
    • -s, --no-sound
      Disable sound
    • -i, --no-info
      Disable progress bar for videos
    • -?, --help
      Display help
    • -V
      Display version

Installation

Linux

Instructions:

  1. Install dependencies.

    • libavcodec-dev
    • libavformat-dev
    • libavfilter-dev
    • libavdevice-dev

    In addition, to watch videos install:

    • ffmpeg
    • youtube-dl
  2. 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).

MacOS

Requirements:

  • homebrew
  • iterm2

Instructions:

  1. Install dependencies
    brew install argp-standalone
    
    In addition, to watch videos:
    brew install ffmpeg
    brew install youtube-dl
    
  2. 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).

Only works on iTerm2.

There are some performance issues. Depending on the video encoding, your mileage may vary.


Releases

  • v0.1.1 Youtube Support
    TerminalMediaViewer can now play videos directly from youtube.
    To play videos from youtube, use the -y option.

    • Improved memory usage
    • Cursor is now hidden during videos
    • Supports spaces in video filenames
    • Play videos directly from youtube
    • Check if ffmpeg and YouTube exist before playing videos
    • Better error and debug messages
  • v0.1 Initial release
    Initial release of tmv.
    It is in a very early state so bugs are expected.

    • View images
    • Watch videos (with sound)
    • Resize images / videos

Contributing

Any contributions are greatly appreciated.


kal39(https://github.com/kal39) - [email protected]
Distributed under the MIT license. See LICENSE for more information.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].