cawbird icon indicating copy to clipboard operation
cawbird copied to clipboard

Can't play videos - Cawbird 15 on Zorin 16 Based off Ubuntu 20.04 LTS

Open Sifrqitt opened this issue 3 years ago • 8 comments

Describe the bug Can not play any videos (this effects 100% of videos, 100% of the time) in cawbird. Receive 2-3 errors upon trying to play media.

To Reproduce Steps to reproduce the behavior:

  1. Install cawbird 15 on Zorin OS 16 (tried both snap and deb)
  2. launch cawbird 15 and login to twitter account
  3. click a video and it produces errors Expected behavior Be able to play videos in cawbird

Screenshots From debug command on terminal https://imgur.com/a/My05sON

System details:

  • Zorin 16 Pro based off ubuntu 20.04 LTS
  • Version: ubuntu 20.04 LTS
  • Package type: I installed directly from https://software.opensuse.org/download.html?project=home%3AIBBoard%3Acawbird&package=cawbird
  • I also tried flatpak install with same issues

Additional context Errors shown in cawbird (not terminal debug) Include:

  • gstbaseparse.c(1370): gst_base_parse_sink_event_default (): /GstPlayBin:video/GstURIDecodeBin:uridecodebin7/GstDecodeBin:decodebin7/GstMpegvParse:mpegvparse12
  • gstdecodebin2.c(4694): gst_decode_bin_expose (): /GstPlayBin:video/GstURIDecodeBin:uridecodebin7/GstDecodeBin:decodebin7: all streams without buffers

Running G_MESSAGES_DEBUG=cawbird cawbird can give useful debug output.

Sifrqitt avatar Mar 22 '22 19:03 Sifrqitt

This is almost certainly an issue with the GStreamer version that your distro ships. There are instructions to test it here.

IBBoard avatar Mar 22 '22 19:03 IBBoard

I was able to run gst-play-1.0 https://video.twimg.com/ext_tw_video/1243329209918988295/pu/vid/720x1280/kWa3JQP6QqlrW052.mp4?tag=10 and the video played correctly.

Sifrqitt avatar Mar 22 '22 20:03 Sifrqitt

If it is then I have no idea where, because all we do is link to the exact same libraries. It will take a while to work out how to debug this.

IBBoard avatar Mar 22 '22 20:03 IBBoard

I don't want to take up too much of your time, as I know you must be a busy man and I appreciate the help...however here is the DEBUG lvl 4 output when I click on a video in cawbird. Hope it helps. Feel free to analyze the log at your leisure as I'll be dropping this error project for the day, because I have other things to work on.

GST_DEBUG 4 cawbird output.txt

Sifrqitt avatar Mar 22 '22 21:03 Sifrqitt

Thanks for the extra debug. That's all just telling me the same thing, though - it matches a known bug in GStreamer v1.18.

Can you post:

  • The version of GStreamer you're running - gst-play-1.0 --version should do it
  • The output of ldd /usr/bin/cawbird | grep gst
  • The output of readlink -f $(ldd /usr/bin/cawbird |grep -oE '\S+/\S+gst\S+')

e.g. I get:

$ gst-play-1.0 --version
gst-play-1.0 version 1.18.6
GStreamer 1.18.6
http://download.opensuse.org
$ ldd /usr/bin/cawbird |grep gst
	libgstreamer-1.0.so.0 => /lib64/libgstreamer-1.0.so.0 (0x00007f9c78b8f000)
$ readlink -f $(ldd /usr/bin/cawbird |grep -oE '\S+/\S+gst\S+')
/usr/lib64/libgstreamer-1.0.so.0.1806.0

IBBoard avatar Mar 23 '22 19:03 IBBoard

gst-play-1.0 version 1.16.2 GStreamer 1.16.2

libgstreamer-1.0.so.0 => /lib/x86_64-linux-gnu/libgstreamer-1.0.so.0 (0x00007f37984da000)

/usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0.1602.0

Crosspost link in my distro support forum: https://forum.zorin.com/t/cant-play-videos-in-cawbird-15-on-zorin-16-pro-os/16840

Sifrqitt avatar Mar 23 '22 19:03 Sifrqitt

v1.16? It's possible that it's not the same issue as above but that's quite an old version (December 2019 with 1.16.3 released in October 2020 before they moved to 1.18) so it could be that it has issues with newer videos or something.

IBBoard avatar Mar 23 '22 20:03 IBBoard

I've released a fixed version of the Snap Packaged release of Cawbird that I maintain.

lucyllewy avatar Aug 18 '22 13:08 lucyllewy