Can't play videos over SMB

I'm using FreeBSD 14.2 as a desktop with KDE and I'm trying to get VLC to play a video on FreeBSD server over SMB. Its not working. I get this error.
error.webp
My brother is using Linux and he's able to do it just fine. Maybe there is a package that I need to install because all the other players like Dragon are not playing it as well.
Any ideas?

I tried the MPV Media player. It seemed to copy the file over to a cache and then play it. Sort of a good work around for short videos, however I don't see this as a proper long term solution.
 
I can't read black letters on a dark background. Can you copy/paste the text itself?
 
The letters in black say
"VLC is unable to open MRL,'smb://Julx@192.168.1.10/Movies/Animated/Batman/BATMAN The Animated Series (1992-1999) COMPLETE Season 1-6, TV S01-S60 and 2 Movies - 1080p BluRay x264/Season 1 (1992-93)/Batman T.A.S - S01 E05 - Feat of Clay, Part 2(1080p BluRay).mp4. Chec the log for details."

The thing is I'm a noob when it comes to this. I don't know where I might find the log. Doesn't even say so in the error.

I don't think that its only to VLC. Other players don't play the videos as well with the exception of mpv media player, which downloads the video into a cache location and plays it from there.
 
I'd mount the SMB share on a directory and play the video(s) from there. Don't really need the SMB support of the player itself.
 
Did you build vlc with SMB=on?

OTOH - if you only have FreeBSD and a linux box involved, why on earth are you using SMB at all? Just use proper NFS(v4)
 
Looking at the makefile for multimedia/vlc tells me that support of SMB network protocol is not standard. You will have to set that option, then build the port.
VLC was installed via pkg along with KDE automatically. I guess that is where it went wrong.
Probably suggests that the binary in "pkg install" doesn't have that selected.
However, doesn't answer the question why none of the other players don't play it either. Maybe they have the same issue?
 
Did you build vlc with SMB=on?

OTOH - if you only have FreeBSD and a linux box involved, why on earth are you using SMB at all? Just use proper NFS(v4)
I use NFS on my desktop which has a static IP. I was trying to access the file server using my laptop.
 
I'm trying to build VLC using the port, but it is failing because VLC is already installed. However when I try to uninstall it, I get this list of packages that will be removed.

Installed packages to be REMOVED:
kde5: 5.27.11.23.08.5_2
phonon-vlc-qt5: 0.12.0_1
plasma5-plasma: 5.27.11
vlc: 3.0.21_7,4


How do I uninstall just VLC?
 
I'm trying to build VLC using the port, but it is failing because VLC is already installed. However when I try to uninstall it, I get this list of packages that will be removed.

Installed packages to be REMOVED:
kde5: 5.27.11.23.08.5_2
phonon-vlc-qt5: 0.12.0_1
plasma5-plasma: 5.27.11
vlc: 3.0.21_7,4


How do I uninstall just VLC?

Just do "make reinstall" in the port's dir.
 
Just do "make reinstall" in the port's dir.
I just tried that and it comes with an error.

In file included from /usr/include/c++/v1/__algorithm/copy.h:12:
/usr/include/c++/v1/__algorithm/copy_move_common.h:18:10: fatal e
rror: '__string/constexpr_c_functions.h' file not found
18 | #include <__string/constexpr_c_functions.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
1gmake[4]: *** [Makefile:24953: demux/mkv/libmkv_plugin_la-Ebml_p
arser.lo] Error 1
gmake[4]: *** Waiting for unfinished jobs....
error generated.
gmake[4]: *** [Makefile:24939: demux/mkv/libmkv_plugin_la-matrosk
a_segment_seeker.lo] Error 1
1 error generated.
gmake[4]: *** [Makefile:24911: demux/mkv/libmkv_plugin_la-util.lo
] Error 1
1 error generated.
1 error generated.
gmake[4]: *** [Makefile:24960: demux/mkv/libmkv_plugin_la-chapter
s.lo] Error 1
gmake[4]: *** [Makefile:24925: demux/mkv/libmkv_plugin_la-matrosk
a_segment.lo] Error 1
1 error generated.
gmake[4]: *** [Makefile:24946: demux/mkv/libmkv_plugin_la-demux.l
o] Error 1
1 error generated.
gmake[4]: *** [Makefile:24918: demux/mkv/libmkv_plugin_la-virtual
_segment.lo] Error 1
1 error generated.
gmake[4]: *** [Makefile:24932: demux/mkv/libmkv_plugin_la-matrosk
a_segment_parse.lo] Error 1
gmake[4]: Leaving directory '/usr/ports/multimedia/vlc/work/vlc-3
.0.21/modules'
gmake[3]: *** [Makefile:28386: all-recursive] Error 1
gmake[3]: Leaving directory '/usr/ports/multimedia/vlc/work/vlc-3
.0.21/modules'
gmake[2]: *** [Makefile:12941: all] Error 2
gmake[2]: Leaving directory '/usr/ports/multimedia/vlc/work/vlc-3
.0.21/modules'
gmake[1]: *** [Makefile:1566: all-recursive] Error 1
gmake[1]: Leaving directory '/usr/ports/multimedia/vlc/work/vlc-3
.0.21'
gmake: *** [Makefile:1453: all] Error 2
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the
failure to
the maintainer.
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/multimedia/vlc
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/multimedia/vlc
*** Error code 1

Stop.
make: stopped in /usr/ports/multimedia/vlc
root@Albert:/usr/ports/multimedia/vlc #
 
Ok.. update:
I tried the same to rebuild VLC via ports on my laptop and it worked fine. Completed the process with no known errors. However when I try to open a video on server connected via SMB, VLC now opens and then closes in a matter of seconds.
On the flip side, now Dragon player is playing the video perfectly with no issues. It couldn't do that before and I did no mods to Dragon player.
 
For the other players, you may need to compile multimedia/ffmpeg with the SMB option on. It defaults to off.
But that's what I'm saying. The other players like Dragon used to not play the videos as well. There were no error messages, it would just close the app. Now after the "make reinstall" of VLC on the laptop, Dragon player is playing it just fine. Maybe the ffmpeg port was already recompiled when it was doing the VLC reinstall.

However I would like to know why VLC now just crashes and closes without playing the file.

Also how do I get this it done on my Desktop. Every "make reinstall" of VLC right now ends in error.
 
Back
Top