Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#69798 - [ffmpeg] Add Samba support

Attached to Project: Arch Linux
Opened by prettyvanilla (prettyvanilla) - Friday, 26 February 2021, 16:23 GMT
Last edited by Maxime Gauduin (Alucryd) - Tuesday, 13 April 2021, 12:07 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Maxime Gauduin (Alucryd)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No



Since version 0.33.0 of mpv SMB is no longer a natively available protocol, instead pointing to support being available via ffmpeg ( ffmpeg is currently not being built with --enable-libsmbclient though, so attempting to play a file passed via smb-protocol URL, which e.g. happens by default in KDE when opening a video file on a smb share in dolphin, even with kio-fuse, leads to an error:

[ffmpeg] Protocol not found. Make sure ffmpeg/Libav is compiled with networking support.
Failed to open smb://@server.local:445/Videos/example.mkv.

Additional info:
* mpv 1:0.33.0-4
* ffmpeg 2:4.3.1-4

* ffmpeg-full in the AUR re-enabled libsmbclient support recently, after compilation became possible again with samba 4.13 (

Steps to reproduce:
mpv smb://@server.local:445/Videos/example.mkv
This task depends upon

Closed by  Maxime Gauduin (Alucryd)
Tuesday, 13 April 2021, 12:07 GMT
Reason for closing:  Won't implement
Additional comments about closing:  ffmpeg doesn't need that kind of bloat, it wasn't removed to be readded. Samba filesystems can be mounted, or you can build ffmpeg yourself with samba enabled if you really need it.
Comment by Felice Murolo (felmur) - Tuesday, 30 March 2021, 18:47 GMT
I can confirm this bug.
I've manually recompiled ffmpeg package enabling --enable-libsmbclient, then I've reinstalled it. Now mpv works fine with smb://* files.
Comment by laosom (laosom) - Monday, 12 April 2021, 16:55 GMT
I think this problem affects many KDE users including Manjaro , as Dolphin does not use GVFS.

My workaround was to install PCMANFM-QT which uses GVFS and / or mplayer which I can set as an alternative engine in smplayer.

VLC is also fine, but I prefer mpv as a lightweight and fast video player.

Would you please recompile the official package with SMB support and make it available with updates if possible ?

Other major distros either use older versions of mpv or have ffmpeg compiled with smb support.