Page 1 of 1

VLC fails to read file from same location occasionally

Posted: 24 Jul 2013 10:23
by vatsaldin
Hi,
I am using VLC Web Plugin for Mozilla to run a media on local machine.Path of the media is
Now I have placed this media in loop to keep it playing unless stopped externally. Initially for n number of times it gets played however suddenly at one point it fails to load the media and vlc gets crashed in the browser.At that time,entries in logs are as below:-

[0xbc5e5c40] main input debug: Creating an input for 'http://localhost:8080/device_data/media/video/6551.mov'
[0xbc5e5c40] main input debug: using timeshift granularity of 50 MiB, in path '/tmp'
[0xbc5e5c40] main input debug: `http://localhost:8080/device_data/media/video/6551.mov' gives access `http' demux `' path `localhost:8080/device_data/media/video/6551.mov'
[0xbc5e5c40] main input debug: creating demux: access='http' demux='' location='localhost:8080/device_data/media/video/6551.mov' file='(null)'
[0xb92a9430] main demux debug: looking for access_demux module: 0 candidates
[0xb92a9430] main demux debug: no access_demux module matched "http"
[0xbc5e5c40] main input debug: creating access 'http' location='localhost:8080/device_data/media/video/6551.mov', path='(null)'
[0xbb14c930] main access debug: looking for access module: 0 candidates
[0xbb14c930] main access debug: no access module matched "http"
[0xbc5e5c40] main input error: open of `http://localhost:8080/device_data/media/video/6551.mov' failed
[0xbc5e5c40] main input error: Your input can't be opened
[0xbc5e5c40] main input error: VLC is unable to open the MRL 'http://localhost:8080/device_data/media/video/6551.mov'. Check the log for details.
[0xbba5f2f0] main libvlc debug: deactivating the playlist
[0xbba5f2f0] main libvlc debug: removing all services discovery tasks
[0xbba5f2f0] main libvlc debug: removing all interfaces
[0xbba5f2f0] main libvlc debug: exiting
[0xbc20fcb0] main playlist debug: destroying
[0xbba5f2f0] main libvlc debug: removing stats


I do not remove file from that location still it gives above error and on restarting the browser VLC again starts playing that video.

What can be the issue and resolution?

Re: VLC fails to read file from same location occasionally

Posted: 24 Jul 2013 17:05
by Rémi Denis-Courmont
You're missing the HTTP plugin in that log.

Re: VLC fails to read file from same location occasionally

Posted: 25 Jul 2013 09:03
by vatsaldin
Please let us know from where to get the missing HTTP plugin and any other such plugin and how to install the same?

Re: VLC fails to read file from same location occasionally

Posted: 25 Jul 2013 16:09
by Tyeo098
I'm working on the same project as vatsaldin, and the VLC web plugin (non-totem) does play http streamed media files from our tomcat server, but the page is on a loop, and sometimes we will see 'Vlc plugin has crashed' with those errors in the log... but the video is still sometimes playing.

Would the module not be able to open the file if tomcat does not provide the stream in time?

Re: VLC fails to read file from same location occasionally

Posted: 25 Jul 2013 18:12
by Rémi Denis-Courmont
The HTTP plugin (libaccess_http_plugin.*) is part of all official VLC builds.

Re: VLC fails to read file from same location occasionally

Posted: 26 Jul 2013 07:58
by vatsaldin
Actually we use VLC in Chrome browser on the Ubuntu 12.4.We have added "libvlcplugin.so" to "/usr/lib/mozilla/plugins/"

Is it possible that we need to place all other ".so" files at that location explicitly?OR we may need to make all those plugins explicitly available to Chrome browser some how?