Giter VIP home page Giter VIP logo

Comments (9)

maltelau avatar maltelau commented on September 28, 2024 1

๐Ÿ‘ libgtk-4-media-gstreamer resolved it and should probably be added as a(n optional?) dependency. Thanks!

from tuba.

GeopJr avatar GeopJr commented on September 28, 2024

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.

CaptainMorgan12 avatar CaptainMorgan12 commented on September 28, 2024

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.

gnuntoo avatar gnuntoo commented on September 28, 2024

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.

GeopJr avatar GeopJr commented on September 28, 2024

(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.

maltelau avatar maltelau commented on September 28, 2024

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.

Skรฆrmbillede fra 2024-05-25 17-36-25

Steps to reproduce

  1. Find a post on mastodon with an embedded video, for example https://todon.eu/@b9AcE/112502070070757575
  2. 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.

GeopJr avatar GeopJr commented on September 28, 2024

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.

maltelau avatar maltelau commented on September 28, 2024

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.

GeopJr avatar GeopJr commented on September 28, 2024

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:

image

VLC, mpv and firefox work because they don't use gstreamer!

from tuba.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.