bluefin icon indicating copy to clipboard operation
bluefin copied to clipboard

Gstreamer plugin for SMB

Open dzo-1 opened this issue 1 year ago • 9 comments

Describe the package

I ran into an issue trying to stream a video over my network. A plugin for SMB is needed. Thanks. Screenshot from 2024-06-24 21-12-04

Image

All Images

dzo-1 avatar Jun 25 '24 15:06 dzo-1

Works for me on Bazzite Gnome on Clapper. The only gstreamer packages different between the two are i686 packages, gstreamer1-plugins-good-qt6, and pipewire-gstreamer

trbocode avatar Jun 25 '24 17:06 trbocode

I don't have smb shares handy to test with, can someone nail down what we need to install? Or if it should be both? Sounds like it should be both.

castrojo avatar Jun 26 '24 02:06 castrojo

can someone nail down what we need to install?

This is handled by gio GStreamer plugin (giosrc element specifically). Should be in gstreamer1-plugins-base. Also GIO needs gvfs and its modules to expand its functionalities. In this case additional required package would be gvfs-smb.

Currently supported URI schemes from giosrc on system can be checked with:

gst-inspect-1.0 -u | grep giosrc

Example output:

giosrc (read, rank 128): file, trash, smb, sftp, ssh, recent, network, mtp, localtest, gphoto2, google-drive, ftps, ftpis, ftp, dns-sd, davs, dav, davs+sd, dav+sd, computer, burn, archive, afp, afc, admin, resource

If list contains smb you are good to go :smile:

Rafostar avatar Jul 11 '24 19:07 Rafostar

Thanks for the help! On a bluefin system I get this:

$ gst-inspect-1.0 -u | grep giosrc
    16:	giosrc (read, rank 128): file, wsdd, trash, smb, sftp, ssh, recent, onedrive, nfs, network, mtp, localtest, gphoto2, google-drive, ftps, ftpis, ftp, dns-sd, davs, dav, davs+sd, dav+sd, computer, archive, afp, afc, admin, resource

And gvfs-smb is installed so this should be working?

castrojo avatar Jul 11 '24 23:07 castrojo

so this should be working?

Yes. The error of OP seems to indicate that he does not have smb on his giosrc URI schemes list.

Rafostar avatar Jul 12 '24 06:07 Rafostar

so this should be working?

Yes. The error of OP seems to indicate that he does not have smb on his giosrc URI schemes list.

I have the same issue but smb is in the list.

giosrc (read, rank 128): file, wsdd, trash, smb, sftp, ssh, recent, onedrive, nfs, network, mtp, localtest, gphoto2, google-drive, ftps, ftpis, ftp, dns-sd, davs, dav, davs+sd, dav+sd, computer, archive, afp, afc, admin, resource

Redbox3070 avatar Aug 03 '24 09:08 Redbox3070

@Redbox3070

Does removing GStreamer cache file at $HOME/.cache/gstreamer-1.0/registry.x86_64.bin have any effect on this? On either playability or amount of protocols listed by giosrc?

Rafostar avatar Aug 03 '24 20:08 Rafostar

@Redbox3070

Does removing GStreamer cache file at $HOME/.cache/gstreamer-1.0/registry.x86_64.bin have any effect on this? On either playability or amount of protocols listed by giosrc?

Just tried it but it did not work. No changes to the listed protocols

Redbox3070 avatar Aug 04 '24 19:08 Redbox3070

I would say to report this to GStreamer then. The error GStreamer gives is that protocol is missing in the list, but when checked it IS in the list. Clearing cache does not help. Seems like upstream issue to solve.

Rafostar avatar Aug 11 '24 16:08 Rafostar

It works for me now, I think the issue can be closed

Redbox3070 avatar Sep 07 '24 13:09 Redbox3070

Computers, the gifts that keep giving! Glad it's sorted. 😄

castrojo avatar Sep 07 '24 14:09 castrojo

Hey, just got bluefin and encountered the same problem, however I found a workaround that might give you a hint what's the problem here.

When I mount the network drive via the file manager and open the file from there it gives me the same error as above, however when I just open clapper go to add file to play queue, then navigate to the file it plays fine.

jadeezomg avatar Oct 13 '24 22:10 jadeezomg

Hi, @dzo-1. I'm Dosu, and I'm helping the bluefin team manage their backlog. I'm marking this issue as stale.

Issue Summary:

  • The issue involves difficulties streaming a video over a network, suggesting a need for a GStreamer plugin for SMB.
  • Rafostar mentioned that giosrc in gstreamer1-plugins-base should handle this with gvfs-smb.
  • Redbox3070 had a similar issue but later reported it resolved without detailing the solution.
  • Jadeezomg provided a workaround using Clapper for file navigation, which might offer insights.

Next Steps:

  • Please confirm if this issue is still relevant to the latest version of the bluefin repository by commenting here.
  • If there is no further activity, the issue will be automatically closed in 14 days.

Thank you for your understanding and contribution!

dosubot[bot] avatar Jan 12 '25 16:01 dosubot[bot]