|
FAQ_VideoWontPlay
Video files won't play
Phase-Deploy IntroductionIndex is generated and looks fine, but when a video is selected the "buffering" message appears before a blank screen and then returns to the index. DetailsThis is nearly always to do with the path setting in your library.xml file. If you are not using a library file, read up here: LibraryXMLInfo The <path> line in the library file is where your PC looks to find the video files to index. As the PCH does not have access to the same settings and configuration as your PC the <nmtpath> line in the library file is used to define where the PCH looks to find these movies. Worked ExampleLet's work through an example to see how each of these elements relates to the other. Video files are stored in a directory on your pc mapped to T:. It does not matter if this is a local physical drive on your PC or a network drive on another PC or Server. Let's also assume that T: is actually the following UNC path \\COMPUTER\VideoDir\ On a windows PC the share name for this would be VideoDir So that you have a library that looks like this:
On the PCH you should have a share defined that points to T: and it will have a name, for example MyVideos It is VERY important to note the CASE of this share name. The PCH is a linux based computer and linux is case sensitive unlike windows, so MyVideos is different to MYVIDEOS and myvideos. So let's put this together and create our library.xml file.
So this maps to the library.xml like this: <library> <path>T:\</path> <nmtpath>file:///opt/sybhttpd/localhost.drives/NETWORK_SHARE/MyVideos/</nmtpath> </library> The nmtpath is made up of 3 parts:
It is worth checking and re-checking the case of these paths in the library.xml file as this will be the cause of most couldn't play errors. If you change the library.xml file, you will need to delete your jukebox directory and re-run YAMJ so the correct paths are created. Other IssuesThere is an issue with the Popcorn Hour that allows only one SMB/NFS share to be mounted at one time. Please ensure that you have browsed to the share at least once since the last time you rebooted the PCH. For this reason, you should have the Jukebox on the same share as your video files, one the hard disk of the PCH or via a HTTP server. NMT MediaFinderIf you have difficulty determining the path, download the NMTMediaFinder and it should tell you the path that you need for the nmtpath section of the library file. This can be downloaded from this thread: http://www.networkedmediatank.com/showthread.php?tid=8452 | |||||||||||||||||
Sorry for my poor english! "For this reason, you should have the Jukebox on the same share as your video files, one the hard disk of the PCH or via a HTTP server" Does this mean that I need to include "Movie" folder wich contains the video files and "Jukebox" folder with html file, in the same folder on my PC, then share it from my PC and add it on PCH as a network share?
thanks for your help, untill now I have'nt managed to play the videos...
after reading this : "On the PCH you should have a share defined that points to T: and it will have a name, for example MyVideos? It is VERY important to note the CASE of this share name. The PCH is a linux based computer and linux is case sensitive unlike windows, so MyVideos? is different to MYVIDEOS and myvideos" it solved my problem of not being able to play videofiles