Comments (9)
๐ libgtk-4-media-gstreamer
resolved it and should probably be added as a(n optional?) dependency. Thanks!
from tuba.
Did this happen on 0.6.0
?
Does it happen to all videos? If not, could you share a post with a video attachment that suffers from this issue?
Could you see if there are any non-websocket related logs?
Are flatpak runtimes up-to-date?
Nothing MediaViewer-related changed from Tuba's side on 0.6.0 -> 0.6.2. 0.5 -> 0.6 had a lot of changes but I don't think anything changed in the way video downloading and playing worked. I can't reproduce it on desktop, but give me a second to check if something changed on social.librem.one (edit: it didnt)
from tuba.
https://social.librem.one/system/media_attachments/files/015/954/945/original/daf6f566ab682204.mp4?1705280019 It does take quite a while to load on my desktop, but eventually once loaded on my desktop plays fine same Tuba version. On a side note Tuba videos have played on my phone as well not sure which version before. I see if i can downgrade to 0.2.0, 0.6.0 and see what happens. Do you have the Commit IDs for either? tried the log, but can't find them.
from tuba.
I am having this problem on my librem 5 as well. I do wonder if this issue would fix itself on the next version of pureOS.
I was not getting any log output from playing the videos. That could possibly mean they're not relevant to the issue, but I'm not sure.
I'm going to try to gather more information, such as what kinds of videos it's having issues with. I can say that from playing several videos on my librem 5 with tuba, most had the problem stated in the post, aside from gifs and one other supposedly not-gif.
from tuba.
(sorry I just saw the edit)
I see if i can downgrade to 0.2.0, 0.6.0 and see what happens. Do you have the Commit IDs for either? tried the log, but can't find them.
You can find the tag names and the commits on https://github.com/GeopJr/Tuba/releases, on the left side under the date. I'd recommend testing the latest 0.5
rather than way older versions as it'll be easier to point it down
I do wonder if this issue would fix itself on the next version of pureOS.
Most likely not, if you are using the flatpak. I can't remember by heart but in a minor version bump I cleaned up the media viewer but that's pretty much it. Nothing really changed fundamentally on the way videos get loaded and passed to Gtk.Video. It might be a GTK related issue but unless someone makes a reproducer it might be difficult for them to pinpoint what the issue might be. (I do not have access to a linux mobile device so I can't really provide much help on this one)
from tuba.
Edit: Unrelated, solved by installing missing gstreamer module.
I'm experiencing a similar issue (could be unrelated since I'm on laptop rather than mobile).
Video preview image shows fine in timelines etc, but when I click it, it shows a spinner for a second, then goes to the black screen shown below: the media viewer doesn't show the video. Play button is unresponsive. Right click -> "Save Media" works fine, as does viewing the video in firefox.
Steps to reproduce
- Find a post on mastodon with an embedded video, for example
https://todon.eu/@b9AcE/112502070070757575
- Click the video preview
Expected: plays video
Result: doesn't play video
System
wm: i3
my instance: mastodon v4.3.0-nightly.2024-05-18+glitch
os: Debian GNU/Linux sid main non-free non-free-firmware contrib
prefix: /usr
flatpak: false
tuba version: 0.6.3 (production)
gtk: 4.12.5 (4.12.5)
libadwaita: 1.5.0 (1.5.0)
libsoup: 3.4.4 (3.4.4)
libgtksourceview: 5.12.0 (5.11.1)
Logs
I get no terminal output other than a startup warning about gtk dark theme
(tuba:248979): Adwaita-WARNING **: 17:56:25.992: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead.
from tuba.
Could you hover over the icon in the middle of the window (โ) and see if it shows any errors? (it will be on the tooltip, otherwise you can open the inspector, select it and see the tooltip-text property)
You are likely missing some codecs.
from tuba.
Yes, hadn't noticed the tooltip. Loosely translated: GTK couldn't find a media module. Check your installation.
Thanks for the quick response. Sorry for posting in what turns out to be an unrelated issue.
This doesn't bring me much closer to solving it though. On one side: the video opens fine in vlc/mpv/firefox. On the other side: There is no stdout/stderr output, nothing in journalctl, and no context in the tooltip so I don't know what codecs "are missing" or where to look for that information. I'm guessing there is a gstreamer* package out there somewhere that should be added as a dependency?
from tuba.
I think the missing debian package is libgtk-4-media-gstreamer
Otherwise, these are the gstreamer
packages I have installed on my debian sid vm, though you probably don't need most of them:
VLC, mpv and firefox work because they don't use gstreamer!
from tuba.
Related Issues (20)
- [Bug]: Media cache on disk is never cleared, grows infinitely HOT 1
- [Bug]: Automatically clear the old leftover disk cache from the early days of Tuba's history HOT 3
- [Bug]: Third Accoubt disappeared after closing the app HOT 5
- [Bug]: Post composer stutters on cyrillic / non-latin text. HOT 3
- [Bug]: Confusing UX with the Close Button in the Top-Right Corner of the Media Viewer HOT 1
- [Bug]: crash after rapidly closing media viewer HOT 2
- [Request]: If you click on an image, allow CTRL + C to copy the image
- [Request]: resume last position of my timeline
- [RFC]: Deprecating Snap package HOT 1
- [Bug]: dev.geopjr.Tuba killed by SIGSEGV HOT 1
- [Request]: Allow to hide boosts HOT 4
- [Request]: Add lists directly in the main view
- [Request]: Separate Quote Button
- [Bug]: Alt-text is never saved, resulting in posts never having alt-text HOT 4
- [Request]: Successful login state should have Done as a pill button
- [Bug]: Images going fullscreen and back animate to stretched fullscreen rather than to target best fit size HOT 5
- [Request]: New post character counter should use tabular numbers HOT 1
- [Request]: 'Or setup and host your own' option for first time setup HOT 2
- [Bug]: dragging to scale past a breakpoint has very bad performance HOT 1
- [Bug]: crash on opening HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tuba.