Basically I don't want to provide direct access to all of the samba media files shared on a local network. The user should never know the samba username or password to the shared network files. But, I'd like to provide access through software that uses the vlc activex plugin and I can pass the smb-user and smb-pwd options when adding files to the playlist. The problem is that VLC crashes when using the SMB input access module. I don't think I can provide the samba username and password if I use the file input access module. I tried "file://\\username:password@hostname\sharename\filename", but it didn't work.
When I use vlc.exe --smb-user=username --smb-pwd=password smb://hostname/sharename/filename Then VLC 0.9.9 crashes. The message is "VLC media player has encountered a problem and needs to close."
Here are the related log messages:
Code: Select all
main debug: creating new input thread
main debug: Creating an input for 'smb://hostname/sharename/filename'
main debug: waiting for thread initialization
main debug: thread started
main debug: thread 4724 (input) created at priority 1 (../../src/input/input.c:370)
main debug: `smb://hostname/sharename/filename' gives access `smb' demux `' path `hostname/sharename/filename'
main debug: creating demux: access='smb' demux='' path='hostname/sharename/filename'
main debug: looking for access_demux module: 0 candidates
main warning: no access_demux module matched "smb"
main debug: TIMER module_Need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: creating access 'smb' path='hostname/sharename/filename'
main debug: looking for access module: 1 candidate
access_smb debug: connected to \\hostname/sharename/filename\sharename/filename
qt4 debug: Error while initializing qt-specific localization
qt4 debug: Updating the stream status: 3