Showing posts with label gstreamer. Show all posts
Showing posts with label gstreamer. Show all posts

Saturday, 5 February 2022

“Videos” de-clutter-ification

(I nearly went with clutterectomy, but that would be doing our old servant project a disservice.)

Yesterday, I finally merged the work-in-progress branch porting totem to GStreamer's GTK GL sink widget, undoing a lot of the work done in 2011 and 2014 to port the video widget and then to finally make use of its features.

But GTK has been modernised (in GTK3 but in GTK4 even more so), GStreamer grew a collection of GL plugins, Wayland and VA-API matured and clutter (and its siblings clutter-gtk, and clutter-gst) didn't get the resources they needed to follow.

Screenshot_from_2022-02-03_18-03-40A screenshot with practically no changes, as expected

The list of bug fixes and enhancements is substantial:

  • Makes some files that threw shaders warnings playable
  • Fixes resize lag for the widgets embedded in the video widget
  • Fixes interactions with widgets on some HDR capable systems, or even widgets disappearing sometimes (!)
  • Gets rid of the floating blank windows under Wayland
  • Should help with tearing, although that's highly dependent on the system
  • Hi-DPI support
  • Hardware acceleration (through libva)

Until the port to GTK4, we expect a overall drop in performance on systems where there's no VA-API support, and the GTK4 port should bring it to par with the fastest of players available for GNOME.

You can install a Preview version right now by running:

$ flatpak install --user https://flathub.org/beta-repo/appstream/org.gnome.Totem.Devel.flatpakref

and filing bug in the GNOME GitLab.

Next stop, a GTK4 port!

Monday, 9 May 2016

Blog backlog, Post 2, xdg-app bundles


I recently worked on creating an xdg-app bundle for GNOME Videos, aka Totem, so it would be built along with other GNOME applications, every night, and made available via the GNOME xdg-app repositories.

There's some functionality that's not working yet though:
  • No support for optical discs
  • The MPRIS plugin doesn't work as we're missing dbus-python (I'm not sure that the plugin will survive anyway, it's more suited to audio players, don't worry though, it's not going to be removed until we have made changes to the sound system in GNOME)
  • No libva/VDPAU hardware acceleration (which would require plugins, and possibly device access of some sort)
However, I created a bundle that extends the freedesktop runtime, that contains gst-libav. We'll need to figure out a way to distribute it in a way that doesn't cause problems for US hosts.

As we also have a recurring problem in Fedora with rpmfusion being out of date, and I sometimes need a third-party movie player to test things out, I put together an mpv manifest, which is the only MPlayer-like with a .desktop and a GUI when launched without any command-line arguments.

Finally, I put together a RetroArch bundle for research into a future project, which uncovered the lack of joystick/joypad support in the xdg-app sandbox.

Hopefully, those few manifests will be useful to other application developers wanting to distribute their applications themselves. There are some other bundles being worked on, and that can be used as examples, linked to in the Wiki.

Tuesday, 16 September 2014

Videos 3.14 features

We've added a few, but nonetheless interesting features to Videos in GNOME 3.14.

Auto-rotation of videos

If you capture videos in portrait orientation on your phone, we are now able to rotate them automatically in the movie player, as well as in the thumbnails.

Better streaming

You can now seek anywhere inside streamed videos, even if we didn't download all the way to that point. That's particularly useful for long videos, or slow servers (or a combination of both).

Thumbnails generation

Finally, videos without thumbnails in your videos directory will have thumbnails automatically generated, without having to browse them in Files. This makes the first experience of videos more pleasing to the eye.

What's next?

We'll work on integrating Victor Toso's work on grilo plugins, to show information about the film or TV series on your computer, such as grouping episodes of a series together, showing genres, covers and synopsis for films.

With a bit of luck, we should also be able to provide you with more video content as well, through partners.

Friday, 30 April 2010

Deinterlacing, now in Totem

Totem, in git master for GNOME 2.32, has support for deinterlacing video streams, thanks to the work by Sebastian Dröge. You'll need gst-plugins-base from git master to test it out for now.

Free of charge, you'll get Philip Withnall's work on not blocking the interface when parsing playlists. This should make Totem feel more responsive overall.

Thursday, 1 April 2010

Code for cash: Summer of Code ideas

As you might know, the time as come to put in your applications for Google's Summer of Code project ideas.

There's a good bunch of ideas available on the GNOME side of things, but if you fancy helping out GNOME without working on GNOME, you might also like the ideas from FFMpeg, GStreamer, or BlueZ (some of it directly related to gnome-bluetooth).

And if you're into web development, we have 2 good ideas in the GNOME Wiki (See the Front-end for common web services and Collaboration server/client ideas).

Wednesday, 16 December 2009

Freezing Totem with text subtitles?

Then ask your distribution to backport the patches.

This has been fixed in Fedora about a month ago.

Wednesday, 4 November 2009

No more stuttering

Today, as some of you guessed from my teaser yesterday, I finished implementing on-disk buffering in Totem, using playbin2's new features.

Using Totem in master with this gstreamer patch, Totem will start playing back videos as soon as enough buffering has been done on disk.

Note that this will only work for QuickTime and FLV streams, but that means that the YouTube Totem plugin and streaming trailers from Apple's website just got better, and should allow us to implement stream saving very soon.

Wednesday, 6 May 2009

An era comes to an end

I'm not changing jobs, or getting married, it's all a bit more important than that.

Totem's xine-lib backend is now gone in git master, for GNOME 2.28.

The GStreamer boys have come forward, fixed a lot of bugs, and implemented new features, which means that the GStreamer backend was getting held back by the features of the xine-lib backend.

Oh, and before people start complaining:
  • this is only in the development branch for now
  • if you haven't filed a bug about whatever problem the GStreamer backend caused for you, you're not allowed to complain

Saturday, 23 February 2008

gnome-bluetooth nearly dead

After the fun time debugging, I started implementing ObexPush in gnome-user-share, pretty much as planned. Code's in SVN. Next up are notifications, and asking whether to accept transfers for each session.

My little transfer just got started

I also committed the new goom visuals to gst-plugins-good. Better visuals, MMX, SSE2 and Altivec optimisations (I think). Get it from CVS while it's hot!

Hot chips, yummy

Saturday, 16 February 2008

Much more TLA!

I'm on holidays ATM, but at a friend's place, and he's got a Freebox with TV-over-ADSL. That allowed me to test and fix the Cone (see where the name comes from?) plugin of Totem to have a good enough VLC-compatibility to handle the page. Details over in Bugzilla.

Late night French TV using Totem

PS: Vuntz owes me.

Monday, 11 February 2008

New TLA features!

Totem GStreamer in SVN got 2 new acronym-laden features.

First is DVD playback. Unfortunately, we still don't do menus, but now you'll be able to play the films on your DVD. The support is on-par with the old GStreamer 0.8 code. Thanks to Tim for the guidance in writing this code.


Second one is DVB support. Zaheer did all the heavy lifting getting the code into GStreamer. Now you should be able to watch TV on your computer using Totem, given a channels.conf file was created. More info in the DVB section the Totem website.

Screenshot courtesy of Zaheer

Tuesday, 16 October 2007

Audio preview

After gentle poking by Matthias, I cooked up a patch that allows the sound preview to work again for Fedora 8. It will hit rawhide shortly.

Make sure Enable software mixing is enabled in the Sound preferences, and that sound previews are enabled in the file manager prefs. Obviously, you'd want pulseaudio running rather than esd, if you
don't want to tear your hair out when playing video.