Watch Megavideo,HD,Youtube w/ CC through WiiMC (VLCShares)
Home › Forums › Third Party Enhancements › VLC Shares › Watch Megavideo,HD,Youtube w/ CC through WiiMC (VLCShares)
- This topic has 220 replies, 41 voices, and was last updated 6 years, 4 months ago by zany130.
-
AuthorPosts
-
August 18, 2010 at 10:16 pm #26317laleyendadevictorParticipant
First of all, I’ve tried doing this many many times, and I’ve just about given up trying on my own. Please help :).
Here’s my first question. Is it completely mandatory to edit the file called “vlc-shares.configs.ini_WINDOWS” because mine, after uninstalling then re-installing, shows it as vlc-shares.configs.ini_LINUX but it’s tagged as a windows file.
Also I’m having trouble with these parts:
[*]13) Now edit the file with your config (more info about this step here).
Mandatory changes are:* Line 47: if you use apache on port != 80, set your port in apache_altPort
* Line 59: set your path to vlc.exe (use / in the path, not )
[/*]Line 47 has me baffled. Do I have to change the ports around? How do I know if apache is using port 80 or not? And there are two lines with apache_altPort. Which one do I set my port in?
And Line 59 confuses me as well. First you say that there should be no ‘s in the path, yet in your examples it shows ‘s:
path = ""C:/Program files (x86)/VideoLAN/VLC/vlc.exe""
Code: Select all
path = ""C:/Programmi/VideoLAN/VLC/vlc.exe""
or
Code: Select all
path = ""C:/My custom program dir/VLC/vlc.exe""or are these not correct examples? Thanks.
August 19, 2010 at 1:36 pm #26314zany130Participant@dilbot wrote:
First of all, I’ve tried doing this many many times, and I’ve just about given up trying on my own. Please help :).
Here’s my first question. Is it completely mandatory to edit the file called “vlc-shares.configs.ini_WINDOWS” because mine, after uninstalling then re-installing, shows it as vlc-shares.configs.ini_LINUX but it’s tagged as a windows file.
vlc.shares.configs.ini_WINDOWS is a sample config file for Windows system.
vlc.shares.configs.ini_LINUX is a sample config file for Linux system.
You have to choose one of them and rename it as vlc-shares.configs.ini@dilbot wrote:
Also I’m having trouble with these parts:
- 13) Now edit the file with your config (more info about this step here).
Mandatory changes are:* Line 47: if you use apache on port != 80, set your port in apache_altPort
* Line 59: set your path to vlc.exe (use / in the path, not )
Line 47 has me baffled. Do I have to change the ports around? How do I know if apache is using port 80 or not? And there are two lines with apache_altPort. Which one do I set my port in?
if you have not explicitly changed apache’s port by yourself, you don’t have to touch apache_altPort.
@dilbot wrote:
And Line 59 confuses me as well. First you say that there should be no ‘s in the path, yet in your examples it shows ‘s:
Oh.. come on. Open your eyes and look the example. Vlc path for windows is something like this:
path = ""C:/Program files/VideoLAN/VLC/vlc.exe""
If your vlc path is C:blablablamysubblablablavlcvlc.exe you have to insert it in path=””….””.
path = ""C:/blablabla/mysubblablabla/vlc/vlc.exe""
Path in [vlc] section is the vlc path.
XXXXXXX.path in [shares] section is the path for your collection.
They are two different things and i gave lots of examples for both of them. Start reading previous messages
August 19, 2010 at 10:36 pm #26318facelegParticipantAlright I feel like I have everything setup right- though I can access “http://192.168.0.196/vlc-shares/public/” from my pc- there is no vlc-shares folder under my ip when I click it in windows explorer.
Loading up VLC-Shares Collection in WiiMC I get the error “Error loading file.”
Clearly I have done something wrong- I am attatching my httpd.conf file and my vlc-shares.configs.ini file- maybe you can see what I’ve done wrong.
Looking forward to hearing from you!
August 20, 2010 at 10:10 am #26319zany130Participantopen the browser of the pc where you installed vlc-shares and easyphp at http://localhost/vlc-shares/public/ and see what happens. Maybe the ip address is incorrect
August 20, 2010 at 5:39 pm #26320facelegParticipantI have EasyPhP running and my IP address is not incorrect.
Does anyone have teamviewer? Maybe check out what I’m doing wrong.
August 21, 2010 at 6:29 am #26321zany130Participant@indyadvant wrote:
I have EasyPhP running and my IP address is not incorrect.
Does anyone have teamviewer? Maybe check out what I’m doing wrong.
Check PM
August 22, 2010 at 12:22 pm #26322AnonymousInactiveHello ximarx, I’ve decided to try out vlc-shares. I followed your Windows installation guide. Now, I think everything is configured fine. But when I open “http://IP_ADDRESS/vlc-shares/public” in browser, I get redirected to “http://IP_ADDRESS/vlc-shares/public/manage” with “404 Object not found” message. If i open “http://IP_ADDRESS/vlc-shares/public/index.php”, I’m redirected to “http://IP_ADDRESS/vlc-shares/public/index.php/manage” and that one works ok? Bug or feature? 🙂
Thanks!
August 22, 2010 at 2:27 pm #26323AnonymousInactiveI have solved my previous problem with redirects. It turns out the problem only existed if Apache was bounded to 127.0.0.1. I bounded it to the right IP (192.168.1.51) and it started to work without 404 errors. But problem is I cannot start video stream on Wii. I have added two collections and upon quality selection I get “error loading file” message.
Here is debug log: http://paste2.org/p/959934
On http://192.168.1.51/vlc-shares/public/test/index i have all GREEN.
August 23, 2010 at 6:47 am #26324zany130Participant@SilentException wrote:
Hello ximarx, I’ve decided to try out vlc-shares. I followed your Windows installation guide. Now, I think everything is configured fine. But when I open “http://IP_ADDRESS/vlc-shares/public” in browser, I get redirected to “http://IP_ADDRESS/vlc-shares/public/manage” with “404 Object not found” message. If i open “http://IP_ADDRESS/vlc-shares/public/index.php”, I’m redirected to “http://IP_ADDRESS/vlc-shares/public/index.php/manage” and that one works ok? Bug or feature? 🙂
Thanks!
This happen when:
- you forgot to change apache conf property (you must change AllowOverride from None to All) [step 8 in tutorial]
- .htaccess file is missing in vlc-shares/public/ dir
Using “http://IP_ADDRESS/vlc-shares/public/index.php/manage” is a workaround, but this highlights that you have problems in apache configs
@SilentException wrote:
I have solved my previous problem with redirects. It turns out the problem only existed if Apache was bounded to 127.0.0.1. I bounded it to the right IP (192.168.1.51) and it started to work without 404 errors. But problem is I cannot start video stream on Wii. I have added two collections and upon quality selection I get “error loading file” message.
Here is debug log: http://paste2.org/p/959934
On http://192.168.1.51/vlc-shares/public/test/index i have all GREEN.
If you bind apache on 127.0.0.1, you will be able to access apache from the same pc only. You have to bind apache on 0.0.0.0:80 (or YOUR_NETWORK_INTERFACE_IP:80).
Reading your log file, looks like if vlc is spawn successfully. Maybe you should check if windows firewall (or similar) block vlc stream on port 8081. Another check you can do is trying to startup vlc manually using the same command used from vlc-shares and check if streaming work.
For example (all in 1 line):
"C:Program Files (x86)EasyPHP-5.3.3wwwvlc-shareslibraryX/PsExec.exe" -d "C:/Program Files (x86)/VideoLAN/VLC/vlc.exe" --play-and-exit "C:/Users/ms_bug/Downloads/Torrents/Weeds.S06E01.Thwack.HDTV.XviD-FQM.avi" --sout="#transcode{venc=ffmpeg,vcodec=mp2v,vb=3000,scale=.5,width=640,fps=30,acodec=a52,ab=384,channels=6,samplerate=48000,soverlay}:std{access=http,mux=ts,dst=:8081}" --sout-keep -I http --http-host="127.0.0.1:8080"
What version of vlc are you using? (vlc 1.2 is unsupported by default. If you want to use 1.2 nightly builds you have to add a plugin for it, but it doesn’t work very well).
August 23, 2010 at 8:26 am #26325AnonymousInactive@ximarx wrote:
@SilentException wrote:
Hello ximarx, I’ve decided to try out vlc-shares. I followed your Windows installation guide. Now, I think everything is configured fine. But when I open “http://IP_ADDRESS/vlc-shares/public” in browser, I get redirected to “http://IP_ADDRESS/vlc-shares/public/manage” with “404 Object not found” message. If i open “http://IP_ADDRESS/vlc-shares/public/index.php”, I’m redirected to “http://IP_ADDRESS/vlc-shares/public/index.php/manage” and that one works ok? Bug or feature? 🙂
Thanks!
This happen when:
- you forgot to change apache conf property (you must change AllowOverride from None to All) [step 8 in tutorial]
- .htaccess file is missing in vlc-shares/public/ dir
Using “http://IP_ADDRESS/vlc-shares/public/index.php/manage” is a workaround, but this highlights that you have problems in apache configs
I attached my apache config here. But from the looks of it i changed AllowOverride to All. Also .htaccess file is present.
@ximarx wrote:
@SilentException wrote:
I have solved my previous problem with redirects. It turns out the problem only existed if Apache was bounded to 127.0.0.1. I bounded it to the right IP (192.168.1.51) and it started to work without 404 errors. But problem is I cannot start video stream on Wii. I have added two collections and upon quality selection I get “error loading file” message.
Here is debug log: http://paste2.org/p/959934
On http://192.168.1.51/vlc-shares/public/test/index i have all GREEN.
If you bind apache on 127.0.0.1, you will be able to access apache from the same pc only. You have to bind apache on 0.0.0.0:80 (or YOUR_NETWORK_INTERFACE_IP:80).
As I said, apache is binded on 192.168.1.51 now (attached httpd.conf).
@ximarx wrote:
Reading your log file, looks like if vlc is spawn successfully. Maybe you should check if windows firewall (or similar) block vlc stream on port 8081. Another check you can do is trying to startup vlc manually using the same command used from vlc-shares and check if streaming work.
For example (all in 1 line):
"C:Program Files (x86)EasyPHP-5.3.3wwwvlc-shareslibraryX/PsExec.exe" -d "C:/Program Files (x86)/VideoLAN/VLC/vlc.exe" --play-and-exit "C:/Users/ms_bug/Downloads/Torrents/Weeds.S06E01.Thwack.HDTV.XviD-FQM.avi" --sout="#transcode{venc=ffmpeg,vcodec=mp2v,vb=3000,scale=.5,width=640,fps=30,acodec=a52,ab=384,channels=6,samplerate=48000,soverlay}:std{access=http,mux=ts,dst=:8081}" --sout-keep -I http --http-host="127.0.0.1:8080"
I was trying that earlier on. If i start the stream using the SAME command in command prompt, i cannot access the stream by opening another instance of VLC and connecting to http://192.168.1.51:8081.
But, if i change the slashes (/) to backslashes () in the filename, stream is working and I can access it using another instance of VLC.
@ximarx wrote:
What version of vlc are you using? (vlc 1.2 is unsupported by default. If you want to use 1.2 nightly builds you have to add a plugin for it, but it doesn’t work very well).
I’m currently using 1.1.3.
August 23, 2010 at 1:05 pm #26326zany130Participant@SilentException wrote:
I was trying that earlier on. If i start the stream using the SAME command in command prompt, i cannot access the stream by opening another instance of VLC and connecting to http://192.168.1.51:8081.
But, if i change the slashes (/) to backslashes () in the filename, stream is working and I can access it using another instance of VLC.
@ximarx wrote:
What version of vlc are you using? (vlc 1.2 is unsupported by default. If you want to use 1.2 nightly builds you have to add a plugin for it, but it doesn’t work very well).
I’m currently using 1.1.3.
Try downgrading vlc to 1.1.0. I think that vlc’s team backport some of vlc 1.2 code in 1.1.3 and vlc 1.2 don’t work with / in path to file. You can also try enabling plugin for 1.2 support and check if it works for vlc 1.1.3 too. Newer version of vlc-shares will fix this problem, but i’m busy now and i can’t finalize 0.4.2 version for now.
August 23, 2010 at 1:11 pm #26327AnonymousInactiveI will try to use 1.1.0 or 1.2 with your patch next weekend when I’m home.
For now, i used replace function in BrowseController.php to replace all slashes with backslashes for %source% argument for VLC spawn 🙂 Haven’t tested it yet on Wii..
August 23, 2010 at 1:30 pm #26328zany130ParticipantVlc12 support plugin does the same thing 😛
Try this, it’s an improved version. It should work better. Installation instructions are inside the zip
August 23, 2010 at 2:40 pm #26329AnonymousInactive@ximarx wrote:
Vlc12 support plugin does the same thing 😛
Try this, it’s an improved version. It should work better. Installation instructions are inside the zip
Heh 😉
I’m gonna try it as soon as I get home. Thank you!
August 25, 2010 at 4:30 am #26330eugene_dounarParticipantHi!
I’m trying to install it on Ubuntu 10.04. I’m done with everything, but vlc-shares/public location throws me 403 Forbidden message.
[Wed Aug 25 06:28:13 2010] [crit] [client 127.0.0.1] (13)Permission denied: /var/www/vlc-shares/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
Do I miss some step? AllowOverride None is changed to AllowOverride All.
Thank you!
- 13) Now edit the file with your config (more info about this step here).
-
AuthorPosts
- The forum ‘VLC Shares’ is closed to new topics and replies.