baedert / corebird

Native Gtk+ Twitter Client
https://corebird.baedert.org
GNU General Public License v3.0
791 stars 78 forks source link

Twitter video playback issue #776

Closed 100Hamburger closed 6 years ago

100Hamburger commented 6 years ago

Hi, since a while I have problems playing videos on twitter feeds. When I hit play, the sound starts for a few seconds but the video stays black and stops. I'm on Fedora 26 x64.

Vistaus commented 6 years ago

Same here. It's a gstreamer issue, as we figured out in https://github.com/baedert/corebird/issues/744

baedert commented 6 years ago

Running GST_DEBUG=5 corebird would give more info, maybe.

Vistaus commented 6 years ago

GST_DEBUG=5 corebird doesn't seem to launch Corebird :/

baedert commented 6 years ago

But just corebird works?

Vistaus commented 6 years ago

Yes.

baedert commented 6 years ago

I guess corebird --gst-debug-level=5 should also work.

Vistaus commented 6 years ago

That works, but there's waaaaay too much output. I can't copy that all. Isn't there a way to dump the output of that to a text/log file?

baedert commented 6 years ago

You can either try to use a lower number than 5 or try corebird --gst-debug-level=5 --gst-debug-no-color >> log.txt 2>&1

Vistaus commented 6 years ago

That worked! I couldn't sufficiently copy-and-paste it somewhere though so I've uploaded the whole log: https://file.io/SwDZca

baedert commented 6 years ago

Does

gst-play-1.0 --videosink=gtksink https://video.twimg.com/ext_tw_video/756163597126946817/pu/pl/240x240/naBpspVGzCKouV2Z.m3u8

work or print any error?

Vistaus commented 6 years ago

That works fine, no errors or anything.

zhou0 commented 6 years ago

same issue on FreeBSD12-current.

baedert commented 6 years ago

Looks like this is a problem when using ffmpeg 3.4: https://bugzilla.gnome.org/show_bug.cgi?id=789193

Vistaus commented 6 years ago

That could indeed be the case for the person who opened this issue, but Solus (my distro) reports that I'm using ffmpeg 3.3.4: screenshot from 2017-10-22 10 37 23

baedert commented 6 years ago

Downgrading to ffmpeg 3.3.4 on Arch makes it work again for me.

Can you try running agian with --gst-debug-level=3 and checking if the output is similar to https://gist.github.com/baedert/12aa2b5eea45966e88f0af5d4bce8d93?

Vistaus commented 6 years ago

For some reason, every video works fine now. So this problem seems very random. Will try again tomorrow and if it happens again, I'll compare it to your output.