Error while opening media file with VLC application
Re: Error while opening media file with VLC application
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. 
Running on my DesktopPC - MX-23.4 AHS with latest Kernel: 6.12.17-1-liquorix-amd64

Running on my DesktopPC - MX-23.4 AHS with latest Kernel: 6.12.17-1-liquorix-amd64
-
- Posts: 39
- Joined: Tue Mar 15, 2022 1:35 am
Re: Error while opening media file with VLC application
Hello @Huckleberry Finn,Huckleberry Finn wrote: Tue Mar 15, 2022 11:03 am https://forum.kde.org/viewtopic.php?t=166879#p434702
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
Re: Error while opening media file with VLC application
Currently it's 3.0.16 , maybe it gets ok with 3.0.17.3 (hopefully soon)
Re: Error while opening media file with VLC application
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
-
- Posts: 39
- Joined: Tue Mar 15, 2022 1:35 am
Re: Error while opening media file with VLC application
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 -
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
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
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
Re: Error while opening media file with VLC application
Sure, all these threads are already read by devs. Meanwhile, have you seen my above post?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?
Re: Error while opening media file with VLC application
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
Input/Codecs > Access modules > FTP and SFTP. They both give you a box to input a Username and Password. Would that help?
Earl
Re: Error while opening media file with VLC application
Meanwhile, have you tried any files that has no space in its name?
-
- Posts: 39
- Joined: Tue Mar 15, 2022 1:35 am
Re: Error while opening media file with VLC application
Hello @Huckleberry Finn,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
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