• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

celluloid-player/celluloid: A simple GTK+ frontend for mpv

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

celluloid-player/celluloid

开源软件地址:

https://github.com/celluloid-player/celluloid

开源编程语言:

C 96.4%

开源软件介绍:

Celluloid

Celluloid (formerly GNOME MPV) is a simple GTK+ frontend for mpv. Celluloid interacts with mpv via the client API exported by libmpv, allowing access to mpv's powerful playback capabilities.

Screenshot

Dependencies

  • appstream-glib (build)
  • pkg-config (build)
  • gcc (build)
  • glib >= 2.66
  • gtk >= 4.6.1
  • libadwaita >= 1.0.0
  • mpv >= 0.32
  • epoxy
  • lua (optional)
  • youtube-dl (optional)

Installation

GNU/Linux packages

Flatpak

Flatpak packages support multiple distributions and are sandboxed. Flatpak 0.9.5+ is recommended for best integration.

Stable releases are hosted on Flathub:

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install flathub io.github.celluloid_player.Celluloid

Development versions are also packaged:

flatpak install https://dl.tingping.se/flatpak/gnome-mpv.flatpakref

Source code

Run the following command in the source code directory to build and install:

meson build && cd build && ninja && sudo ninja install

Usage

Opening files

There are 4 ways to open files in Celluloid.

  1. Passing files and/or URIs as command line arguments.
  2. Using the file chooser dialog box, accessible via the "Open" menu item.
  3. Typing URI into the "Open Location" dialog box, accessible via the menu item with the same name.
  4. Dragging and dropping files or URIs onto Celluloid.

Manipulating playlist

The playlist is hidden by default. To show the playlist, click the "Playlist" menu item or press F9. Files can be added by dragging and dropping files or URIs onto the playlist. Dropping files or URIs onto the video area will replace the content of the playlist. Playlist files or online playlists (eg. YouTube's playlist) will be automatically expanded into individual items when loaded.

Items in the playlist can be reordered via drag-and-drop. To remove items from the playlist, select the item by clicking on it then press the delete button on your keyboard.

Configuration

Celluloid can be configured using the preferences dialog accessible via the "Preferences" menu item. Additional configuration options can be set from an external file using the same syntax as mpv's mpv.conf. See mpv's manual for the full list of options. The file must be specified and enabled in the preferences dialog under the "MPV Configuration" section.

It is also possible to set mpv options by putting the options — as you would pass to mpv on the command line — in Extra MPV Options text box in the preferences dialog. You can also pass options directly on the command line by adding mpv- prefix to the option name. For example, using the option --mpv-vf=flip when launching Celluloid is equivalent to using --vf=flip in mpv.

User Scripts

Celluloid can use most mpv user scripts as-is. Some user scripts may define keybindings that conflict with Celluloid, in which case you'll need to resolve the conflict by explicitly defining new keybindings using input.conf. See mpv's manual for more details.

User scripts can be installed by switching to the "Plugins" tab in the preferences dialog and dropping the files there. A list of mpv user scripts can be found here.

Keybindings

Celluloid defines a set of keybindings in the macro DEFAULT_KEYBINDS, which can be found in src/celluloid-def.h. The syntax used is exactly the same as mpv's input.conf. These keybindings are applied on top of default keybindings provided by mpv.

Additional keybindings can be defined in an external file using mpv's input.conf syntax. The file can be set in the preferences dialog under the "Keybindings" section.

Contributing Translations

Translation Status

Celluloid uses Weblate to coordinate translations. You can find Celluloid's page here.

While translating, you will find the string translator-credits. You should not translate this string. Instead, you should put your name, and optionally your email address, in the following format: FirstName LastName <Email Address>. Your name will then appear in the About dialog when your translation is active.

License

Celluloid is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Celluloid is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with Celluloid. If not, see http://www.gnu.org/licenses/.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap