UbuntuUbuntu Based

How To Install Celluloid Video Player on Ubuntu 24.04 LTS

Install Celluloid Video Player on Ubuntu 24.04

In this tutorial, we will show you how to install Celluloid Video Player on Ubuntu 24.04 LTS. Celluloid is a sleek, user-friendly media player designed specifically for Linux users. As a GTK+ frontend for mpv, Celluloid provides a clean, intuitive interface while leveraging mpv’s powerful playback capabilities. Previously known as GNOME MPV, this media player has evolved into a lightweight yet feature-rich application that integrates seamlessly with the Ubuntu desktop environment. Whether you’re looking for an alternative to VLC or simply want a more streamlined media player, Celluloid offers an excellent solution for your video playback needs on Ubuntu 24.04 LTS.

What is Celluloid?

Celluloid stands out as a modern, efficient media player built on the robust mpv library. It follows the UNIX philosophy of doing one thing and doing it well – in this case, playing media files with minimal fuss. The application is designed with simplicity in mind while still providing powerful functionality for media playback.

Key features that make Celluloid an attractive option include:

  • Support for multiple media formats thanks to its mpv backend
  • Lightweight design that consumes minimal system resources
  • Modern interface built on GTK4 and Libadwaita
  • Playlist management via menu or convenient drag-and-drop functionality
  • Integration with MPRIS2 media player controls
  • Hardware acceleration support for smoother playback
  • Plugin manager for extended functionality
  • Customizable interface and controls

When compared to other media players like VLC, Celluloid offers a more streamlined experience that integrates better with the GNOME desktop environment. VLC provides more built-in features and a traditional interface, but Celluloid delivers a cleaner, more modern user experience while still supporting a wide range of formats.

Prerequisites for Installation

Before proceeding with Celluloid installation on Ubuntu 24.04 LTS, ensure your system meets the following requirements:

System Requirements

  • Ubuntu 24.04 LTS installed and running
  • Administrative (sudo) privileges on your system
  • At least 100MB of free disk space
  • A working internet connection

Update Your System
It’s always recommended to update your system before installing new software:

sudo apt update
sudo apt upgrade

This ensures all existing packages are up-to-date and minimizes potential compatibility issues with the new installation.

Method 1: Installing Celluloid via Ubuntu Repository

The simplest approach to install Celluloid is through Ubuntu’s official repositories. This method provides a stable version that’s been tested and verified for Ubuntu 24.04 LTS.

Installation Steps

  1. Open your terminal by pressing Ctrl + Alt + T
  2. Execute the following command:
sudo apt install celluloid
  1. Enter your password when prompted
  2. Wait for the installation to complete

This straightforward method uses Ubuntu’s package manager to handle all dependencies automatically.

Verification

To ensure Celluloid installed correctly:

celluloid --version

This command should display the installed version information.

Pros and Cons

Advantages:

  • Simple installation process
  • Officially supported by Ubuntu
  • Receives security updates through standard system updates
  • No third-party repositories required

Disadvantages:

  • May not provide the latest version
  • Some newer features might be unavailable

Method 2: Installing Celluloid via PPA

Personal Package Archives (PPAs) offer access to more recent software versions than what’s available in the official Ubuntu repositories. For Celluloid, there’s a well-maintained PPA.

What is a PPA?

A PPA (Personal Package Archive) is a repository hosted on Launchpad containing software packages not available in the official Ubuntu repositories or newer versions of existing packages. Using a PPA allows you to access updated software while still managing it through Ubuntu’s package management system.

Adding the Celluloid PPA

To install via PPA:

  1. Open your terminal
  2. Add the PPA repository:
sudo add-apt-repository ppa:xuzhen666/gnome-mpv
  1. Update your package lists:
sudo apt update
  1. Install Celluloid:
sudo apt install celluloid

Verifying the PPA Installation

To confirm you’ve installed the PPA version:

apt-cache policy celluloid

This will show the installed version and its source, confirming it came from the PPA.

Benefits and Security Considerations

The PPA offers access to more recent versions of Celluloid with additional features. However, remember that you’re trusting the PPA maintainer to provide secure packages. The Celluloid PPA is referenced on the project’s official GitHub page, adding to its credibility.

Method 3: Installing Celluloid via Snap

Snap is a universal package system developed by Canonical that provides self-contained applications with their dependencies included.

Verifying Snap Support

Snap comes pre-installed on Ubuntu 24.04 LTS. To verify:

snap version

If Snap isn’t installed, you can add it with:

sudo apt install snapd

Installing Celluloid via Snap

Once Snap is available, install Celluloid with:

sudo snap install celluloid

This downloads and installs the Celluloid snap package with all necessary dependencies.

Benefits and Limitations

Advantages:

  • Automatic updates
  • Self-contained package with all dependencies
  • Sandboxed environment for improved security

Limitations:

  • Slightly slower startup times
  • Limited access to system resources due to sandboxing
  • Potential integration issues with some desktop environments

Method 4: Installing Celluloid via Flatpak

Flatpak is another universal package management system similar to Snap but developed by the community. It provides sandboxed applications that can run on any Linux distribution with Flatpak support.

Setting Up Flatpak

  1. Install Flatpak if not already present:
sudo apt install flatpak
  1. Add the Flathub repository:
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
  1. You may need to restart your system after installing Flatpak for the first time.

Installing Celluloid via Flatpak

After setting up Flatpak:

flatpak install flathub io.github.celluloid_player.Celluloid

Confirm the installation when prompted, and Flatpak will download and install Celluloid with its dependencies.

Sandbox Security Benefits

Flatpak’s sandbox environment provides:

  • Limited access to system resources
  • Isolation from other applications
  • Explicit permissions for accessing user data

This makes it a secure option for installing applications.

Launching and Using Celluloid

After installation, you can start using Celluloid to play your media files.

Launch Methods

From Terminal:

  • For standard installation: celluloid
  • For Flatpak installation: flatpak run io.github.celluloid_player.Celluloid

From GUI:

  • Find and click the Celluloid icon in your Applications menu, typically under “Sound & Video” or “Multimedia”.

Install Celluloid Video Player on Ubuntu 24.04 LTS

Basic Interface Navigation

Celluloid features a clean, minimal interface:

  • The main window displays your media content
  • Hover at the bottom to reveal playback controls
  • Access additional options through the hamburger menu (≡) in the top-right corner
  • Toggle playlist visibility using the button in the bottom-right corner

Opening Media Files

You can open files through multiple methods:

  • Click “Open” from the menu or press Ctrl+O
  • Drag and drop files into the Celluloid window
  • Launch from terminal with a file path: celluloid /path/to/video.mp4

Basic Configuration and Features

Celluloid offers various configuration options to enhance your media playback experience.

Essential Settings

Access preferences through the hamburger menu (≡) and select “Preferences.” Key settings include:

  • Interface options: Choose between floating controls or a fixed headerbar
  • Playback settings: Configure auto-play, seeking behavior
  • Miscellaneous options: Add extra mpv parameters

Enabling Hardware Acceleration

For improved playback performance:

  1. Open Preferences from the hamburger menu
  2. Navigate to the “Miscellaneous” tab
  3. Add --hwdec in the ‘Extra MPV options’ box
  4. Click “Save” to apply changes

This significantly improves playback of high-definition videos by using your GPU for decoding.

Keyboard Shortcuts

Celluloid supports various keyboard shortcuts:

  • Space: Play/Pause
  • F: Toggle fullscreen
  • Ctrl+O: Open file
  • Alt + Arrow keys: Pan video in different directions
  • Alt + + or –: Zoom in/out
  • Alt + Space: Reset pan/zoom

Advanced Configuration

For users seeking more control over Celluloid’s behavior, several advanced configuration options are available.

Custom MPV Options

Since Celluloid uses mpv as its backend, you can leverage mpv’s extensive configuration options. In Preferences under the “Miscellaneous” tab, add custom mpv options:

  • --hwdec=auto: Enable hardware acceleration with automatic detection
  • --deinterlace=yes: Enable deinterlacing for interlaced content
  • --cache=yes: Enable caching for smoother playback

Performance Optimization

For optimal performance, especially on older hardware:

  • Enable hardware acceleration as mentioned above
  • Reduce video quality for smoother playback by adding --profile=fast to the extra mpv options
  • For network streams, increase cache size with --cache-size=153600 (150MB)

Troubleshooting Common Issues

Even with a straightforward application like Celluloid, you might encounter some problems.

Missing Codecs and Format Support

If you’re having trouble playing certain video formats, install additional codecs:

sudo apt install ubuntu-restricted-extras

This package includes various proprietary codecs and fonts required for some media files.

DVD Playback Problems

For DVD playback issues:

sudo apt install libdvd-pkg
sudo dpkg-reconfigure libdvd-pkg

After installation, reboot your system for the changes to take effect.

No Audio or Video Playback

If Celluloid fails to play media with an error like “Playback was terminated abnormally. Reason: no audio or video data played”:

  1. Check if your sound system is working correctly
  2. Try different media files to rule out file corruption
  3. Install codec packages mentioned above
  4. Run Celluloid from terminal to see error messages:
celluloid --mpv-options="--msg-level=all=trace"

Updating Celluloid

Keeping Celluloid up-to-date ensures you have the latest features and security patches.

Updating APT Installation

For Ubuntu repository or PPA installations:

sudo apt update
sudo apt upgrade

This updates Celluloid along with your other system packages.

Updating Snap Installation

Snap packages update automatically by default. To manually update:

sudo snap refresh celluloid

Updating Flatpak Installation

For Flatpak installations:

flatpak update io.github.celluloid_player.Celluloid

Or update all Flatpak applications at once:

flatpak update

Uninstalling Celluloid

If you need to remove Celluloid, the process depends on your installation method.

Uninstalling APT Installation

To remove Celluloid installed from Ubuntu repository or PPA:

sudo apt remove --autoremove celluloid

To remove the PPA:

sudo add-apt-repository --remove ppa:xuzhen666/gnome-mpv

Uninstalling Snap Installation

To remove the Celluloid snap package:

sudo snap remove celluloid

Uninstalling Flatpak Installation

To remove Celluloid installed via Flatpak:

flatpak uninstall --delete-data io.github.celluloid_player.Celluloid

Congratulations! You have successfully installed Celluloid. Thanks for using this tutorial for installing the Celluloid Video Player on Ubuntu 24.04 LTS system. For additional help or useful information, we recommend you check the official Celluloid website.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get the best deal!

r00t

r00t is an experienced Linux enthusiast and technical writer with a passion for open-source software. With years of hands-on experience in various Linux distributions, r00t has developed a deep understanding of the Linux ecosystem and its powerful tools. He holds certifications in SCE and has contributed to several open-source projects. r00t is dedicated to sharing her knowledge and expertise through well-researched and informative articles, helping others navigate the world of Linux with confidence.
Back to top button