Commit Graph

192 Commits

Author SHA1 Message Date
Rafostar
da21c2fafc Add fast seeking support as a patch 2020-11-05 16:13:57 +01:00
Rafostar
81bdcf6244 Enable "Fast Seeking" option
Since GstPlayer pipeline ref count is now fixed by a patch, fast seeking option can be enabled. In my tests this seeking method is over 10x faster then normal seeking on some files, but the video time you end up with might differ up to few seconds from the value requested.
2020-11-04 22:57:05 +01:00
Rafostar
2b11f68723 Add new patch for GstPlayer 2020-11-04 22:20:42 +01:00
Rafostar
de7a850cc2 Create gio settings only once 2020-11-04 15:05:16 +01:00
Rafostar
8296f40382 Allow adjusting volume before loading file 2020-11-04 12:37:42 +01:00
Rafostar
11468e2774 Add unexported by GI Gst.PlayFlags 2020-11-04 12:37:36 +01:00
Rafostar
23b39e5f3b Add open URI dialog 2020-11-03 20:56:21 +01:00
Rafostar
dbb25ce474 Add min dimensions in widget example 2020-11-03 19:24:57 +01:00
Rafostar
665f5aa1d6 Update screenshots 2020-11-03 18:18:54 +01:00
Rafostar
ff58713426 Add "Floating Window Mode"
A simple borderless window floating on desktop. Window can be resized and moved by dragging. It also has some minimalistic controls showing on top of the video when cursor is hovering over it.\n\n This was a feature originally requested by @zahid1905.
2020-11-03 17:40:19 +01:00
Rafostar
ba54a36058 Keep a ref to main context
Might help with GJS toggling down object bug. Needs some testing.
2020-11-03 17:18:37 +01:00
Rafostar
02afe2b06d Update appdata 2020-11-02 21:40:15 +01:00
Rafostar
d17c30909a Always build flatpak from latest commit 2020-11-02 11:58:59 +01:00
Rafostar
866e8325e6 Do not show "Ends at" text when player is stopped 2020-11-02 09:11:55 +01:00
Rafostar
2dfeb160ac Add AppStream metadata 2020-10-31 17:43:20 +01:00
Rafostar
157d2ac8c2 Set theme jekyll-theme-cayman 2020-10-31 16:43:27 +01:00
Rafostar
a019ef90ca Remember and restore last window dimensions on launch 2020-10-31 09:04:41 +01:00
Rafostar
36145adf1a Always start with black image 2020-10-31 08:21:18 +01:00
Rafostar
bcd73448de Disable "vah264dec" by default
The "vah264dec" plugin is a new and much better VAAPI implementation then default one in gstreamer-vaapi. Unfortunately as of now it works correctly only on Wayland and causes crashes on XOrg. Wayland users can easily enable it in video player preferences advanced tab settings to get improved performance and lower CPU usage.
2020-10-31 08:07:38 +01:00
Rafostar
19e1a20bf7 Start fullscreen playback after toplevel state is changed 2020-10-30 22:51:30 +01:00
Rafostar
2260c09f2e Remove Intel VAAPI from flatpak spec file
Already comes with GNOME runtime, so no need to specify it here 2nd time
2020-10-30 22:23:49 +01:00
Rafostar
f0a54f97e1 Add all missing deps for building flatpak
With this flatpak is now possible to build and working
2020-10-29 18:58:02 +01:00
Rafostar
9d9759991b Update flatpak sources 2020-10-26 22:41:22 +01:00
Rafostar
ac06e84851 Open files via native file chooser 2020-10-26 21:25:13 +01:00
Rafostar
556809c1f4 Add GStreamer plugin ranking to preferences 2020-10-26 16:45:37 +01:00
Rafostar
31f208006f Add startup fullscreen and volume preferences 2020-10-26 11:07:01 +01:00
Rafostar
9354042379 Add preferences dialog
Allows customizing various settings. For now it includes player seeking times and mode customization. More options will be added in the future.
2020-10-25 10:14:14 +01:00
Rafostar
576440faff Fix update media end time 2020-10-23 10:26:11 +02:00
Rafostar
e7a39d6af8 Upload keyboard test script 2020-10-22 11:44:14 +02:00
Rafostar
cc4757aef5 Do not hide controls while navigating panel 2020-10-21 13:19:38 +02:00
Rafostar
0b1864378b Add Clapper usage as GTK widget 2020-10-21 12:24:42 +02:00
Rafostar
0291377389 Major code cleanup 2020-10-20 22:30:15 +02:00
Rafostar
4dea498f37 Improve position scale alignment in fullscreen 2020-10-19 13:27:41 +02:00
Rafostar
82840d5852 Start loading media after window is shown 2020-10-19 13:26:15 +02:00
Rafostar
b383a89107 Get rid of Noto Sans in CSS
Cantarell is the default font of GNOME. We do not need to specify "Noto Sans" as fallback.
2020-10-17 19:51:23 +02:00
Rafostar
0f56c5967b Update packages
Changes:
* Require the same GStreamer 1.18+ for all plugins
* Remove gst-plugins-gtk4 dependency where build is unavailable
2020-10-17 17:35:34 +02:00
Rafostar
5ea36804b7 Update README.md 2020-10-17 12:19:54 +02:00
Rafostar
b2e052d7a4 Do not show cursor on small movement 2020-10-16 22:11:54 +02:00
Rafostar
c9d9927bb1 Remove unused mainloop 2020-10-16 21:45:32 +02:00
Rafostar
7f1264ae27 Add fast seeking (disabled by default)
The fast seeking option. It seeks to the next keyframe which reduces seeking delay over 10 times, but makes the seeking very inaccurate as a side effect (usually up to few seconds from requested position).
2020-10-16 20:00:22 +02:00
Rafostar
1119e3e792 Fix GstPlayer error logging 2020-10-16 17:03:51 +02:00
Rafostar
8297be45ba Add player seek_done property 2020-10-16 13:24:18 +02:00
Rafostar
eafc65d15d Go back to beginning after playback ends 2020-10-16 12:13:00 +02:00
Rafostar
d0eb28b207 Remove GTK3 "widget.show()" leftovers 2020-10-16 10:59:00 +02:00
Rafostar
12c1251c9b Update video info during non-local file playback
With this player will always show current video resolution when playing fragmented media like HLS or MPD online videos
2020-10-16 00:21:43 +02:00
Rafostar
745747b604 Hide time and position scale on LIVE media 2020-10-15 22:49:37 +02:00
Rafostar
6f2ec62515 Fill position scale to the very end 2020-10-15 20:15:56 +02:00
Rafostar
04abecf511 Refresh position time on startup 2020-10-15 18:13:43 +02:00
Rafostar
fa07c4532c Fix player process not exiting after window close 2020-10-15 17:54:28 +02:00
Rafostar
57a8e6d933 Add about dialog 2020-10-15 16:21:46 +02:00