Error while opening media file with VLC application

Help with the version of MX KDE officially released by the Development Team.
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author

User avatar
razor2021
Posts: 499
Joined: Mon Feb 08, 2021 4:49 pm

Re: Error while opening media file with VLC application

#12 Post by razor2021 »

If its a SMB issue like @Huckleberry Finn is alluding to, most people tend to configure Samba servers to use SMBv2 (or higher) and disable SMBv1 on Linux or Unix due to WannaCry. On my NAS server, its default is SMBv1, and I change it to support SMBv2 or higher as default. But it can cause issues if the client devices are supporting older standards.
Mixed of desktops and laptops, I have a Gravis Ultrasound Classic card (unfortunately its ISA-slot based) ... - I must be a dino. :popcorn:
Running on my DesktopPC - MX-23.4 AHS with latest Kernel: 6.12.17-1-liquorix-amd64

ganeshmallyap
Posts: 39
Joined: Tue Mar 15, 2022 1:35 am

Re: Error while opening media file with VLC application

#13 Post by ganeshmallyap »

Hello @Huckleberry Finn,

Thank you for sharinng the url with the guide. I believe it may not be applicable to me, as I am not using Samba share. I am using SSH File Share. Basically SFTP uses SSHFS over port 22 which builds a secure tunnel between server and client.

By looking at the debug info I pasted in my previous post, it seems to be an authentication issue, which is specific to VLC only. Thats strange. However this issue with VLC is not there on other distros like Manjaro KDE. Not sure if this has to do with the VLC version supplied with MX Linux. As MX is based on Debian stable branch, versions could be older, hence the query.

Regards
Ganesh

Huckleberry Finn

Re: Error while opening media file with VLC application

#14 Post by Huckleberry Finn »

Currently it's 3.0.16 , maybe it gets ok with 3.0.17.3 (hopefully soon)

Huckleberry Finn

Re: Error while opening media file with VLC application

#15 Post by Huckleberry Finn »

One more thing to try:
https://wiki.archlinux.org/title/VLC_media_player wrote:
No playback via SFTP of media files names containing spaces

If VLC does not play any videos or audio files over SFTP make sure you have sshfs installed.

If it refuses to play any media files containing spaces via SFTP and always asks for authentication change the Exec line in the vlc.desktop file to:

Code: Select all

Exec=/usr/bin/vlc --started-from-file %F

ganeshmallyap
Posts: 39
Joined: Tue Mar 15, 2022 1:35 am

Re: Error while opening media file with VLC application

#16 Post by ganeshmallyap »

Hello Friends,

One update. While i was trying to experiment with this bug, I found one workaround, but not an elegant one. That is we can mount SSHFS folder into one existing folder in our local machine using the followig comand -

Code: Select all

sshfs ganeshp@rpi4bsvr:/mnt/nas/hdd /home/ganeshp/Documents
After this all contents of NAS drive will be visible in my /home/ganeshp/Documets folder. From here VLC can play the media files nicely.

This is weird. This makes me believe there is some bug with current VLC version which is stopping me from playing media files from SFTP locations. Is there any possibility I can report this issue to MX Linux developer team for their evaluation?

Regards
Ganesh

Huckleberry Finn

Re: Error while opening media file with VLC application

#17 Post by Huckleberry Finn »

ganeshmallyap wrote: Tue Mar 15, 2022 11:49 amIs there any possibility I can report this issue to MX Linux developer team for their evaluation?
Sure, all these threads are already read by devs. Meanwhile, have you seen my above post?

old_guy
Posts: 140
Joined: Sat Oct 28, 2017 4:30 pm

Re: Error while opening media file with VLC application

#18 Post by old_guy »

In VLC, If you go to Tools > Preferences > All and put ftp in the Search box you get:
Input/Codecs > Access modules > FTP and SFTP. They both give you a box to input a Username and Password. Would that help?
Earl

Huckleberry Finn

Re: Error while opening media file with VLC application

#19 Post by Huckleberry Finn »

Meanwhile, have you tried any files that has no space in its name?

ganeshmallyap
Posts: 39
Joined: Tue Mar 15, 2022 1:35 am

Re: Error while opening media file with VLC application

#20 Post by ganeshmallyap »

Huckleberry Finn wrote: Tue Mar 15, 2022 11:48 am One more thing to try:
https://wiki.archlinux.org/title/VLC_media_player wrote:
No playback via SFTP of media files names containing spaces

If VLC does not play any videos or audio files over SFTP make sure you have sshfs installed.

If it refuses to play any media files containing spaces via SFTP and always asks for authentication change the Exec line in the vlc.desktop file to:

Code: Select all

Exec=/usr/bin/vlc --started-from-file %F
Hello @Huckleberry Finn,

I creatd a short cut on desktop for VLC player. In properties windows Application->Command box entered the details given in Arch documentation. Copied a mp3 media file and renamed it as song.mp3. neither file nor the shared path have spaces in between their names. Then I loaded the application and tried opening media file VLC started asking for user id and password.

Sincere thanks for searching for the details and guiding me on this issue.

Regards
Ganesh

Post Reply

Return to “MX KDE Official Release”