Closed glasserc closed 2 years ago
This is more than likely a GStreamer/Pop OS problem rather than Cawbird.
I've checked the tweet and it works for me on openSUSE. To test whether it's Cawbird or GStreamer then you need to copy the URL (right-click the image in the timeline and click "Copy URL") and then run gst-play-1.0 https://…
(e.g. gst-play-1.0 https://video.twimg.com/tweet_video/FNLvUiCXEAQtcdQ.mp4
for that GIF). It will most likely fail with the same error.
The -5
error code is apparently a "flow error", which suggests an issue between you and Twitter's server.
With regards packages, if you're building locally then you'll need -dev
packages. The lib
packages will be needed for runtime. You probably won't need all of them for GStreamer, but having extras shouldn't harm anything. You shouldn't need to keep recompiling after installing packages, as GStreamer will load its plugins at runtime.
Hmm, OK, when I do that sometimes I see something that doesn't correspond to the image and sometimes when I do that I get a SEGV. I guess this is a GStreamer or PopOS problem. I found someone else with some problem that may be similar and posted to that: https://github.com/pop-os/pop/issues/1473. Thanks for helping me troubleshoot.
Thanks again for Cawbird! I use it every day.
Describe the bug I'm trying to set up Cawbird on my new laptop running Pop!_OS and I was able to compile it with my own Twitter API keys, and it seems to work except that clicking on a Tweet with a video (even an animated GIF) doesn't cause it to play. Sometimes clicking such a video brings up a new window, as though to display the video, but just displays a GStreamer error instead. Sometimes it causes Cawbird to crash.
To Reproduce On this Tweet, if I click the image, I get a window with this error:
../gst/isomp4/qtdemux.c(6545): gst_qtdemux_loop (): /GstPlayBin:video/GstURIDecodeBin:uridecodebin2/GstDecodeBin:decodebin2/GstQTDemux:qtdemux2: streaming stopped, reason error (-5)
I see a similar error message in the terminal where I am running the command to launch Cawbird:
(cawbird:224299): cawbird-CRITICAL **: 21:15:52.064: ../gst/isomp4/qtdemux.c(6545): gst_qtdemux_loop (): /GstPlayBin:video/GstURIDecodeBin:uridecodebin2/GstDecodeBin:decodebin2/GstQTDemux:qtdemux2: streaming stopped, reason error (-5)
To try to debug, I thought I would try to ensure that all the
gstreamer
packages installed on my old computer (which ran Cawbird without problems) were on this one too. Here's the output ofdpkg -l '*gst*'
on the new computer:This is a superset of the packages installed on the old computer (running Ubuntu).
I'm not 100% sure how to debug this because I never got good at gstreamer. Do I need to recompile Cawbird after every package installation? Do I need the
lib
packages as well as the-dev
versions?System details:
env GSETTINGS_SCHEMA_DIR=build/data GSETTINGS_BACKEND=memory build/cawbird
.Additional context I tried running with
G_MESSAGES_DEBUG=cawbird cawbird
and the output is essentially the same, but preceded by