Skip to main content

Play videos side-by-side

Project description

GridPlayer

PyPI version Github All Releases Crowdin

Screenshots

Screenshot 1 Screenshot 2 Screenshot 3 Screenshot 4

About

Simple VLC-based media player that can play multiple videos at the same time. You can play as many videos as you like, the only limit is your hardware. It supports all video formats that VLC supports (which is all of them). You can save your playlist retaining information about the position, sound volume, loops, aspect ratio, etc.

Features

  • Cross-platform (Linux, Mac, and Windows)
  • Support for any video and audio format (VLC)
  • Support for (almost) any streaming URLs (streamlink + yt-dlp)
  • Hardware & software video decoding
  • Control video aspect, playback speed, zoom
  • Set loop fragments with frame percision
  • Configurable grid layout
  • Easy swap videos with drag-n-drop
  • Playlist retains settings for each video

Translation

GridPlayer now supports internationalization! Anyone with a handful of free time and desire to support this project is welcome to contribute. No coding skills or special software required, all dialogs are well documented and there are not many strings to translate.

Huge thanks to every contributor!

Installation

Windows

Download Windows Installer Download Windows Portable

Via scoop:

$ scoop install gridplayer

Compatible with Windows 7, 8, 10, 11.

Linux

Get it from the Flathub Get it from the Snap Store Download AppImage

For better system integration install via Flathub.

Note on AppImage

The AppImage was built using Ubuntu Focal Fossa libraries, so compatibility is Ubuntu 20+.

You may need to set execute permissions on AppImage file in order to run it:

$ chmod +x GridPlayer-0.5.2-x86_64.AppImage

MacOS

Download DMG

DMG image is not signed. You will have to add an exception to run this app.

If you get "GridPlayer is damaged and can't be opened" error, run this command in the Terminal app:

$ sudo xattr -rd com.apple.quarantine /Applications/GridPlayer.app

PIP

$ pip install -U gridplayer

Python 3.8 or later required.

This type of installation will also require a vlc package present in your system. Please refer to VLC official page for instructions on how to install it.

Some distros (e.g. Ubuntu) might also require libxcb-xinerama0 package.

From source

This project uses poetry for dependency management and packaging. You will have to install it first. See poetry official documentation for instructions.

$ git clone https://github.com/vzhd1701/gridplayer.git
$ cd gridplayer/
$ poetry install --no-dev
$ poetry run gridplayer

The same notes about the Python version and external packages from PIP installation apply here.

Video Decoder settings

GridPlayer supports two video output modes:

  • Hardware (default) mode uses available GPU to render video. This mode offers high performance and is a recommended mode.
  • Software mode is entirely independent of GPU and only uses the CPU to render video. This mode may cause a high CPU load with high-resolution videos.

Due to libvlc software library limitations, video decoding is split into parallel processes. You can control how many videos are handled by a single decoder process using the "Videos per process" setting. Setting this option too high may cause a high CPU load and application freeze. The optimal value is 4 videos per process.

There is also "Hardware SP" mode. It handles video decoding within the same process in which GridPlayer runs. It is not recommended to use with many videos (>4-6) because it may cause high CPU load and application freeze.

Due to OS inter-process restrictions, "Hardware SP" is the only available hardware mode in macOS.

Known issues

Linux (Snap): Error when opening a file from the mounted disk

You need to allow GridPlayer snap to access removable storage devices via Snap Store or by running:

$ sudo snap connect gridplayer:removable-media

Linux (Snap): mounted drives are not visible in file selection dialog

You will also see following error if you run GridPlayer from terminal:

GLib-GIO-WARNING **: Error creating IO channel for /proc/self/mountinfo: Permission denied (g-file-error-quark, 2)

To fix this, you need to allow GridPlayer snap to access system mount information and disk quotas via Snap Store or by running:

$ sudo snap connect gridplayer:mount-observe

Linux: black screen issue when using hardware decoder

Switch on "Opaque overlay (fix black screen)" checkbox in settings.

Depending on the window manager, the overlay might be a bit glitchy with the hardware decoder. Enabling compositor might help.

Geting help

If you found a bug or have a feature request, please open a new issue.

If you have a question about the program or have difficulty using it, you are welcome to the discussions page. You can also mail me directly, I'm always happy to help.

Attributions

This software was build using

Python packages

Graphics

  • Hack Font by Source Foundry
    • Licensed under MIT License
  • Basic Icons by Icongeek26
    • Licensed under Flaticon License
  • Suru Icons by Sam Hewitt
    • Licensed under Creative Commons Attribution-Share Alike 4.0
  • Clean App Download Buttons by Tony Thomas
    • Licensed under MediaLoot License
  • Flag Icons by Panayiotis Lipiridis
    • Licensed under MIT License

Translations

Arabic

German

Spanish

French

Hungarian

Italian

Japanese

Korean

Dutch

Polish

Portuguese, Brazilian

Chinese Simplified

License

This software is licensed under the terms of the GNU General Public License version 3 (GPLv3). Full text of the license is available in the LICENSE file and online.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gridplayer-0.5.2.tar.gz (1.8 MB view details)

Uploaded Source

Built Distribution

gridplayer-0.5.2-py3-none-any.whl (2.0 MB view details)

Uploaded Python 3

File details

Details for the file gridplayer-0.5.2.tar.gz.

File metadata

  • Download URL: gridplayer-0.5.2.tar.gz
  • Upload date:
  • Size: 1.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.0 CPython/3.8.17 Linux/5.15.0-1041-azure

File hashes

Hashes for gridplayer-0.5.2.tar.gz
Algorithm Hash digest
SHA256 54a068bae521eea51b3d3ddc3eb04e4d63cb886ff25726f23b9dd5bc3e880ca2
MD5 a28f688558e88a752b76a5a2e05c79bc
BLAKE2b-256 e5d88e84caf6263cce23dd8b9fa8de2745e52a95a48264a2e3e712e7b6d3d7e0

See more details on using hashes here.

File details

Details for the file gridplayer-0.5.2-py3-none-any.whl.

File metadata

  • Download URL: gridplayer-0.5.2-py3-none-any.whl
  • Upload date:
  • Size: 2.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.0 CPython/3.8.17 Linux/5.15.0-1041-azure

File hashes

Hashes for gridplayer-0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 14344b75e437fdd80c61cd9965a26bb2e9c96eed1ac39a54b1219b700a13cf38
MD5 97cf46a552d02440fba83d19aec8eee4
BLAKE2b-256 a2a0bf403c831ba033c9afebe1c5ac1d5a578d6e1ce2c6f95141b1a147c9da9a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page