rejetto forum

Software => HFS ~ HTTP File Server => HTML & templates => Topic started by: mysoogal on July 04, 2009, 12:12:16 AM

Title: Video Support in HFS using VLC ready
Post by: mysoogal on July 04, 2009, 12:12:16 AM
you will need HFS 2.3 build 242

here is the theme tpl and vlcControl.zip files which you need to drag into your root and new folders you create

http://www.megaupload.com/?d=XFDE8PKA

inside have readme check it out if you still not sure come here and ask me :)
Title: Re: Video Support in HFS using VLC ready
Post by: mysoogal on July 04, 2009, 12:27:41 AM
updated all files needed are in first post


To relieve the code, the script VLC was put in a section then called by means of the %sym-vlc%
 variable

Code: [Select]
[sym-vlc]
<script language="javascript" src="VLCobject.js"> </script>
<script language="javascript" src="VLCcontrols.js"> </script>
<script language="javascript">
   var vlc_controls = null;

   function init() {
     // load plugin
 
    myvlc = new VLCObject("mymovie", "600", "350");
    myvlc.write("vlccontent");

    //myvlc.VLC_options.set("http-reconnect", 1);
    //myvlc.VLC_options.set("http-reconnect", 5);

    // load controls

    vlc_controls = new VLCcontrols(myvlc);

    vlc_controls.options.set("ffmpeg-pp-q", 6);
    //vlc_controls.options.set("start-time", 60);

    //vlc_controls.onready = function () {
    //vlc_controls.play("http://code.revolunet.com/VLCjs/rambo.mpg");

    //}
 
    //waitControlsLoaded();
    }
 
    // function waitControlsLoaded() {
        //if (!vlc_controls.loaded) {
            //setTimeout("waitControlsLoaded()", 250);
            //return;
            //}
         // }
</script>


YOU CAN DOWNLOAD THE FULL TEMPLATE AS ATTACHED FILE   ;)
Title: Re: Video Support in HFS using VLC ready
Post by: mysoogal on July 04, 2009, 12:52:03 AM
geez again

ok this is a silly problem

on firefox this works <a href="#" onClick="vlc_controls.play ('%item-url%')"%new%>%item-name%</a>

in bold works on firefox, now on IE8 it doesnt seem to work, so i had to do add something like this

<a href="#" onClick="vlc_controls.play ('http://yoursite.com/%item-url%')"%new%>%item-name%</a>

but guess again this , doesn't follow your new folder name ? before %item-url% so the only way to get things working on IE is to have the full url path which works on both firefox and IE but the issue is that video files can not be in folders rather in root of HFS  :(


how to display new created foldername ? something like this %new-folder%/%item-url%  :(
Title: Re: Video Support in HFS using VLC ready
Post by: mysoogal on July 05, 2009, 12:12:24 AM
for thumbs support please check this post

http://www.rejetto.com/forum/index.php?topic=7166.0

right now the css is messed up but its working fine just need to order the title,thumb,indo into a gride style view  ;D
Title: Re: Video Support in HFS using VLC ready
Post by: slasherx on July 05, 2009, 04:57:41 AM
yup its working now nicely done. Have to admit picture looks much better with vlc then web divx player.


Current issues with me is.
- I have real folder inside i have each movie with different folder i have to add controls to each folder thats too much files.
- Gotta figure out a way to have the controls in one location and play movies. Possibly add a frame for vlc that shows on each page i guess.
- Second can't fastword the movie - may theres a way to implement this.

For example i have real folder for TV Shows in HFS - i added the controls.
(http://i43.tinypic.com/2el40i0.jpg)

- In my real folder i have each show folder, i have to add controls to each thats too many files.
(http://i42.tinypic.com/2a6vzo2.jpg)

something like this might work i think
http://vlc.revolunet.com/free.html

http://vlc.revolunet.com/
Title: Re: Video Support in HFS using VLC ready
Post by: TSG on July 05, 2009, 01:24:00 PM
Code: [Select]
[sym-vlc]
<script language="javascript" src="/VLCobject.js"> </script>
<script language="javascript" src="/VLCcontrols.js"> </script>
<script language="javascript">
   var vlc_controls = null;

   function init() {
       myvlc = new VLCObject("mymovie", "600", "350");
       myvlc.write("vlccontent");
       vlc_controls = new VLCcontrols(myvlc);
       vlc_controls.options.set("ffmpeg-pp-q", 6);
    }
</script>

Try this, the '/' indicates the root of the file system. Should fix your problem there.
Title: Re: Video Support in HFS using VLC ready
Post by: mysoogal on July 05, 2009, 05:02:40 PM
Code: [Select]
[sym-vlc]
<script language="javascript" src="/VLCobject.js"> </script>
<script language="javascript" src="/VLCcontrols.js"> </script>
<script language="javascript">
   var vlc_controls = null;

   function init() {
       myvlc = new VLCObject("mymovie", "600", "350");
       myvlc.write("vlccontent");
       vlc_controls = new VLCcontrols(myvlc);
       vlc_controls.options.set("ffmpeg-pp-q", 6);
    }
</script>

Try this, the '/' indicates the root of the file system. Should fix your problem there.



or you can type the full url to js files like this

find  <script language="javascript" src="http://your-hfs.com/javascript/ExternalLibLoader.js"></script>

and and the rest should be looking like this

[sym-vlc]
<script language="javascript" src="http://your-hfs.com/javascript/VLCobject.js"> </script>
<script language="javascript" src="http://your-hfs.com/javascript/VLCcontrols.js"> </script>
<script language="javascript">
   var vlc_controls = null;

   function init() {   
       myvlc = new VLCObject("mymovie", "600", "350");
       myvlc.write("vlccontent");            
       vlc_controls = new VLCcontrols(myvlc);      
       vlc_controls.options.set("ffmpeg-pp-q", 6);
    }
</script>

add a folder into hfs call it javascript, and add the vlc  files into it, it should load the vlc controls from the full url now instead or local  ;D
Title: Re: Video Support in HFS using VLC ready
Post by: mysoogal on July 05, 2009, 05:13:55 PM
well it seems there is a problem with this, even when i use the full path to vlc js files the controler bar doesnt appear,

when i used the / for root the vlc player didn't show up, i really not sure how to fix this, as i only used 2 folders  :o not sure how to fix this sorry dude, it looks like you will need to copy the vlc controls into all the folders for now im not sure how to fix it  :-\



this should've worked :O

<script language="javascript" src="./ExternalLibLoader.js"></script>

or this

<script language="javascript" src="./javascript/ExternalLibLoader.js"></script>



Title: Re: Video Support in HFS using VLC ready
Post by: slasherx on July 06, 2009, 05:52:22 AM
well it seems there is a problem with this, even when i use the full path to vlc js files the controler bar doesnt appear,

when i used the / for root the vlc player didn't show up, i really not sure how to fix this, as i only used 2 folders  :o not sure how to fix this sorry dude, it looks like you will need to copy the vlc controls into all the folders for now im not sure how to fix it  :-\



this should've worked :O

<script language="javascript" src="./ExternalLibLoader.js"></script>

or this

<script language="javascript" src="./javascript/ExternalLibLoader.js"></script>





Actually adding / worked.

it doesn't work if your url is http://localhost.....

if you use your lan/wan ip ex: 192.168.1.100 or the redirect ex: hfs.myftp.org  the video loads fine. Only place i have the vlc controls are in the same directory as hfs.exe. and in hfs root filesystem.

Video loads fine, play,stop,volume up&down works fine, full screen, the video timer and status doesn't work.
problem is the slider doesn't' work, but video plays. i'm guessing we need to add / to SimpleSlider.js but its not in tpl file.

i added the attachment of template file, and screenshot of error.


EDIT:


i added the following to template file, the slider error fixed and its working perfect in Internet Explorer, but not in firefox, it works in firefox if i add the controls to the folder of the videofile, but works fine in IE without it.

Code: [Select]
<script language="javascript" src="/SimpleSlider.js"> </script>
Scrolled download for updated files.

Title: Re: Video Support in HFS using VLC ready
Post by: slasherx on July 06, 2009, 01:30:26 PM
i got the video to play in both IE and Firefox.

Only issue is now

onces you play the video and want to click on second video it doesnt load the video have to refresh the page to do it.

i will upload the files in couple minutes doing more testing :D
Title: Re: Video Support in HFS using VLC ready
Post by: slasherx on July 06, 2009, 02:13:33 PM
Ok so its working with both IE & FireFox.

Added the VLC controls and images folder in folder called js

js in same directory as hfs.exe and add js to hfs filesystem root.


Only problem is when switching to another video it doesn't load it. however refreshing the page and click the new video works.
hopefully someone can help with this issue.


attached new files.

Updated Files down below.
Title: Re: Video Support in HFS using VLC ready
Post by: mysoogal on July 06, 2009, 02:20:00 PM
it works on ie and firefox

i also see the bar  ;)

but that issue about playing second video is a real problem  ??? refreshing page and picking new video to play only fix  :'(
Title: Re: Video Support in HFS using VLC ready
Post by: slasherx on July 06, 2009, 02:28:03 PM
it works on ie and firefox

i also see the bar  ;)

but that issue about playing second video is a real problem  ??? refreshing page and picking new video to play only fix  :'(

i think might be a issue in one of java script files.

i'm gonna try to do a file compare with original ones.

btw i got the changed files here maybe you can find something
http://media.lscube.org/
Title: Re: Video Support in HFS using VLC ready
Post by: slasherx on July 06, 2009, 02:38:46 PM
Problem Solved :)

problem was in VLCcontrols.js

- btw did you notice for MKV files it shows timer as to how long the video is, is doesnt do that for avi  ::)

*Add JS folder to hfs.exe directory and to HFS filesystem root.
Title: Re: Video Support in HFS using VLC ready
Post by: mysoogal on July 06, 2009, 05:21:25 PM
I'm glad you figured it out, i'm still messing around with some mootools scripts on hfs template  ;D

to be honest, i havn't looked very hard into what you did but it seems your issue has been fixed and happy to read it, so im sure it will help me and many other users  ;D


somebody has been reading my ubuntu threads for sure, ha i found this long time ago but never knew how to put it together nor what the hell it is really, this website has to much information and confusein me alot  :o http://lscube.org/

so what is it a php ? vlc streaming script ? something like that

this what i mean


Quote
The LScube - Libre Streaming, Libre Software, Libre Standards (formerly known as OMSP - Open Media Streaming Project) is a free/libre software project, supported by the Internet Media Group, that develops and maintains a suite of programs focused on multimedia streaming. We strive to fully support the IETF's standards for the real-time data transport over IP. The aim of the project is to provide open, free and interoperable solutions on a par with other proprietary streaming applications. All LScube software is released under Free Software licenses.

// about the timer, i believe you need a properly encode video to get the timer, some old avi mpg are not encoded right so no time stamp on them i think. modern encoded video have modern video container like mkv which vlc understands very well.

what the hell is  Libre Streaming, Libre Software, Libre Standards  ? how can i use when i dont understand what i need first  :D

anyways. i will be reading this thread again, since i also want to fix the issue you had, hfs and vlc is great with bittorrent haha u know what i mean. utorrent web interface  with hfs vlc ! ;D
Title: Re: Video Support in HFS using VLC ready
Post by: mysoogal on July 06, 2009, 05:48:49 PM
slasherx

since you have lots of video on your hfs, if your sharing your videos with friends or family, check this post. saves bandwidth.  i think you can integrate the DNA javascript with the vlc player,  :D i'm still checking it out slowly  ;D

this would work also with flash player, wmv ,real etc



http://www.rejetto.com/forum/index.php?topic=7171.0
Title: Re: Video Support in HFS using VLC ready
Post by: slasherx on July 06, 2009, 06:23:12 PM
slasherx

since you have lots of video on your hfs, if your sharing your videos with friends or family, check this post. saves bandwidth.  i think you can integrate the DNA javascript with the vlc player,  :D i'm still checking it out slowly  ;D

this would work also with flash player, wmv ,real etc



http://www.rejetto.com/forum/index.php?topic=7171.0

that would be awesome implementation. if you want example of perfecting working solution with thumbnails and stuff check out program called weezo.

now i'll try implementing the vlc in my template.

Thanks for starting the VLC campaign :D

- have you tried playing video from protected folder, video wouldn't play unless i set the video folder to allow anonymous access just like divx player
Title: Re: Video Support in HFS using VLC ready
Post by: mysoogal on July 06, 2009, 07:44:05 PM
i don't normally, protect files on my hfs

i've been messing around with word press css and hfs look what it come out like  :D



Title: Re: Video Support in HFS using VLC ready
Post by: mysoogal on July 06, 2009, 08:02:07 PM
theme update  ;D

to change things more like the border around the size,files etc you will need to download the wordpress .css into your local then you can change more things  ::)
Title: Re: Video Support in HFS using VLC ready
Post by: slasherx on July 07, 2009, 03:03:06 AM
theme update  ;D

to change things more like the border around the size,files etc you will need to download the wordpress .css into your local then you can change more things  ::)

nice theme :D

i'm trying to copy this vlc control background
http://nmore.us/

i'm trying to find this template looks awsome :P
http://osc.template-help.com/wt_24542/index.html
Title: Re: Video Support in HFS using VLC ready
Post by: mysoogal on July 07, 2009, 02:21:35 PM
theme update  ;D

to change things more like the border around the size,files etc you will need to download the wordpress .css into your local then you can change more things  ::)

nice theme :D

i'm trying to copy this vlc control background
http://nmore.us/

i'm trying to find this template looks awsome :P
http://osc.template-help.com/wt_24542/index.html


try on google like this wt_24542*.rar site:megaupload.com + rapidshare  ;D // just tested not working lol

copy all the js files from this website and replace it with yours i think this dude changed the css inside the js.  ;D i think it will work :O

thx wp is good theme,
Title: Re: Video Support in HFS using VLC ready
Post by: mysoogal on July 08, 2009, 07:58:55 PM
eye candy theme new

simple and fast. i re-style the default template into something much cleaner  :D well for me that is. you can easily add vlc player ion top and video support in this theme.

http://www.megaupload.com/?d=BHIT7S0S

copy css folder into hfs and use the hfs.tpl below which i attach enjoy
Title: Re: Video Support in HFS using VLC ready
Post by: mysoogal on July 08, 2009, 08:15:22 PM
vlc enabled on eye candy theme now  ;D

the hfs tpl is updated. please make sure you have the css,and the js files from vlc
 ;D
Title: Re: Video Support in HFS using VLC ready
Post by: mysoogal on July 08, 2009, 08:54:30 PM
lol somebody uploaded something dirty lol turtle.avi lol

by the way who ever that is, this is a encoding server! any video you upload gets encoded and sent to media box :D
Title: Re: Video Support in HFS using VLC ready
Post by: slasherx on July 08, 2009, 08:59:56 PM
thanks
Title: Re: Video Support in HFS using VLC ready
Post by: mysoogal on July 09, 2009, 04:48:10 AM


bad news

do not update your vlc to 1.0.0

the vlc controls js files will not work with this version  >:(

vlc .9.9 works pretty fine.

i wonder if revolunet.com  will update the js code so it supports the 1.0.0 :O
Title: Re: Video Support in HFS using VLC ready
Post by: slasherx on July 09, 2009, 09:37:47 AM
Yup hopefully they will update it, its probably a minor control they renamed or something.

Attaching Edited old Template with VLC dark theme.


Title: Re: Video Support in HFS using VLC ready
Post by: mysoogal on July 09, 2009, 01:49:07 PM
nice black theme, reminds me of stage6.

you also got the new vlc skin working  :o
Title: Re: Video Support in HFS using VLC ready
Post by: Dragon_Hunter on July 09, 2009, 02:59:38 PM
I was woundering how to get the dark theme to work because i can't get the VLC to work ?
Title: Re: Video Support in HFS using VLC ready
Post by: slasherx on July 09, 2009, 03:45:12 PM
nice black theme, reminds me of stage6.

you also got the new vlc skin working  :o


lol ya finally got it working.
Title: Re: Video Support in HFS using VLC ready
Post by: slasherx on July 09, 2009, 03:46:47 PM
I was woundering how to get the dark theme to work because i can't get the VLC to work ?

What problem are you having? is vlc not showing, you can see the player video is not working?

Make sure you use VLC version 0.9.9 don't use the latest version
http://download.videolan.org/pub/videolan/vlc/0.9.9/win32/vlc-0.9.9-win32.exe

also for template, place the js folder where you hfs.exe is and add js to hfs root filesystem.

Title: Re: Video Support in HFS using VLC ready
Post by: Dragon_Hunter on July 09, 2009, 04:16:58 PM
I have this  VLC version 0.9.9 in my comp but when i want to see the vlc i need to logg in, but when i'm not logged in i can't see the vlc
Title: Re: Video Support in HFS using VLC ready
Post by: mysoogal on July 09, 2009, 04:22:15 PM
I have this  VLC version 0.9.9 in my comp but when i want to see the vlc i need to logg in, but when i'm not logged in i can't see the vlc

maybe you locked the js folder, instead of hiding it  ;D

make sure you don't set passwords on any files that are related to vlc and css. even images folder 
Title: Re: Video Support in HFS using VLC ready
Post by: Dragon_Hunter on July 09, 2009, 04:27:50 PM
So in other words i need too logg in to see the vlc
Title: Re: Video Support in HFS using VLC ready
Post by: slasherx on July 09, 2009, 10:28:07 PM
So in other words i need too logg in to see the vlc

Fixed the issue, now you can see it even if you are not logged in.

Check Attachment.
Title: Re: Video Support in HFS using VLC ready
Post by: mysoogal on July 10, 2009, 12:14:03 AM
So in other words i need too logg in to see the vlc

Fixed the issue, now you can see it even if you are not logged in.

Check Attachment.

lol i got lazy didnt want to open my hfs to check out the template so i tried to hack into yours haha http://xxx.xxftp.org

sorry dude, there is no way i can get in,  :D guess i have to boot hfs up  :D
Title: Re: Video Support in HFS using VLC ready
Post by: slasherx on July 10, 2009, 12:34:02 AM
So in other words i need too logg in to see the vlc

Fixed the issue, now you can see it even if you are not logged in.

Check Attachment.

lol i got lazy didnt want to open my hfs to check out the template so i tried to hack into yours haha http://xxx.xxftp.org

sorry dude, there is no way i can get in,  :D guess i have to boot hfs up  :D

lol its cool

i'm working on converting this template
Title: Re: Video Support in HFS using VLC ready
Post by: slasherx on July 10, 2009, 07:09:31 AM
so i got it to work, was working perfect i just screwed something up, too sleepy to do anything now.  i'll mostl likely upload it tomorrow if not weekend.
Title: Re: Video Support in HFS using VLC ready
Post by: TCube on July 10, 2009, 11:26:30 AM
Merci beaucoup pour le partage  ;) (*)

Windows XP - HFS v242 FR -
Seems fine with FF 3.5, still a little bug with Opera 10 in the JS (my favorite  ;D) I'll will either take look or ask the Opera Community.

I.E 8  Works like shit.... no hope unless loads of work  >:(

Looking also if this dev. shall work with Diff. templates within HFS ... to follow (Edit : done OK !)

TCube

(*) Million thanks for the share


Edit : really awesome & so much faster compare to a year ago with DivX player with a scrolling menu  :o (Third pick)
Title: Re: Video Support in HFS using VLC ready
Post by: mysoogal on July 10, 2009, 07:30:40 PM
so i got it to work, was working perfect i just screwed something up, too sleepy to do anything now.  i'll mostl likely upload it tomorrow if not weekend.



I'm very impressed  ;D, it really looks nothing like HFS template which i really like, it looks like a website where you can watch videos from  ;D

very nice, ill be waiting for your release you done great work, your integration skills are pretty good much better then mine so far, the side bar, is very good,  ;D

i think where the vlc player code is you need to add this before it <br> few of these so you get that box feeling on top.

the boarder of the tables can be set to 0px so you wont see it like that i will try to update it when you release it

very good template, i didnt think this template would look like this even after integration  :o you pick good one .
Title: Re: Video Support in HFS using VLC ready
Post by: slasherx on July 10, 2009, 09:05:25 PM
Quote
very nice, ill be waiting for your release you done great work, your integration skills are pretty good much better then mine so far, the side bar, is very good,  ;D

Thank you but i think you still know more than me, couldn't have done it without your help via pm and your templates.

Quote
i think where the vlc player code is you need to add this before it <br> few of these so you get that box feeling on top.

the boarder of the tables can be set to 0px so you wont see it like that i will try to update it when you release it

very good template, i didnt think this template would look like this even after integration  :o you pick good one .

I'll try that, the border looks great in Firefox it shows like light gray can barely see it, in IE is all white. the filesystem code can be made alot better if knew how, with possible mouse roll over for a background or so.
Title: Re: Video Support in HFS using VLC ready
Post by: mysoogal on July 11, 2009, 05:16:30 AM
with the rollover you have to rewrite some things i believe in the tables css its a bit of work  :o

well it seems i'm getting somewhere with the Bittorrent DNA integration  ;D will be posting in the programmers thread , post bittorrent support in hfs  :D
Title: Re: Video Support in HFS using VLC ready
Post by: slasherx on July 11, 2009, 11:22:49 AM
Alright here it is finally.

Anyone makes improvements please post :D

- Download Link: http://rapidshare.com/files/254531470/Media-Server-VLC-Edition_1.0.zip
- Download Mirror: http://www.megaupload.com/?d=FSO0AFSR

- Attached Screenshots

Tested with 2.3 Beta Build 241 - fully working
Tested with 2.3 Beta Build 242 - fully working
Title: Re: Video Support in HFS using VLC ready
Post by: slasherx on July 11, 2009, 12:52:18 PM
Tested with latest beta build - working fully.
Title: Re: Video Support in HFS using VLC ready
Post by: mysoogals. on July 11, 2009, 03:52:02 PM
thanks, i will be testing this theme later on  ;D it looks really good. i will try to do something with mootools on this theme no idea what, i wanted to add this chatroom on the right side webbychat dot com  ;D

it looks pretty interesting to have this chat on the right side while you watch video. i will post the new tpl later on
Title: Re: Video Support in HFS using VLC ready
Post by: mysoogal on July 12, 2009, 01:08:04 AM
well the bit-torrent support has been integrated right now, i had to change few things on your original template slasherx, i removed the vlc player simply because i do not know how to integrate a vlc bit-torrent version of the player  :-X but i will look into this deeper and try to understand more about it. so far your theme works with     

    * FLV
    * MP4
    * MOV
    * M4V
    * F4V
    * 3GP

So this will still work even if you don't have the DNA client installed, if you have DNA client installed, it will use this when other users are on your website viewing your content.


i can say it should be working just fine, if you look from bithfs-2.PNG you will see at the status bar that its downloading from 127.0.0.1
and the data is also registered on the DNA client on the right side so it should work, just need more users to test this thing out.

the modified tpl has been Attached

sorry about the footer, i really don't like things on the footer, i feel it gives me a headache lol i will post credits to you inside the HTML  ;D

so, enjoy this bit-hfs theme  ;)

(http://i26.tinypic.com/huqcy8.jpg)
(http://i27.tinypic.com/2iqbpkz.png)
Title: Re: Video Support in HFS using VLC ready
Post by: slasherx on July 12, 2009, 04:30:20 AM
nicely done so far, but ya having mkv, avi support is a must for me. I will test this out.

I'm not worried about credits, im cool you can make what ever changes you need.

We gotta figure out a switch that plays video files in vlc and other files it should let users download.

Thanks
Title: Re: Video Support in HFS using VLC ready
Post by: mysoogal on July 12, 2009, 04:51:37 AM
yeah,  seems i also already miss vlc  :o i never liked flash anyway  8)

i will have to seek for more help from the irc #javascript channel   ;D

ill be reading more about this. there is a wmv example so i will have to figure it out somehow  :o
Title: Re: Video Support in HFS using VLC ready
Post by: TCube on July 12, 2009, 07:57:34 AM
with the rollover you have to rewrite some things i believe in the tables css its a bit of work  :o

The roll-over was one way around in order to avoid scrolling down for ever 'til the end of the page.
This issue has been solved in the French Version with a selection box : "N# of Elements showed per page"

Quote from: slasherx
We gotta figure out a switch that plays video files in vlc and other files it should let users download.

Once viewed the file is stuck under *.temp which I guess U could easily trace and rename ... still this way is not user friendly  :)

TC
Title: Re: Video Support in HFS using VLC ready
Post by: slasherx on July 12, 2009, 12:24:36 PM
with the rollover you have to rewrite some things i believe in the tables css its a bit of work  :o

The roll-over was one way around in order to avoid scrolling down for ever 'til the end of the page.
This issue has been solved in the French Version with a selection box : "N# of Elements showed per page"

Quote from: slasherx
We gotta figure out a switch that plays video files in vlc and other files it should let users download.

Once viewed the file is stuck under *.temp which I guess U could easily trace and rename ... still this way is not user friendly  :)

TC

can you post the template file.
Title: Re: Video Support in HFS using VLC ready
Post by: slasherx on July 12, 2009, 12:27:23 PM
Made some changes to the template.

- Replaced Default Folder Icon
- Added File link - file type icon
- Increased File List Font Size.
Title: Re: Video Support in HFS using VLC ready
Post by: pookie on July 17, 2009, 03:35:17 AM
for the life of me i cant get this to work... is there something that i have to do...no users/passwords?

this is really frustrating me...even the flash bittorrent dna client isnt working

gah!!!
Title: Re: Video Support in HFS using VLC ready
Post by: mysoogal on July 17, 2009, 09:58:02 PM
nothing to do with hfs but you gotta love windows xp somtimes
 :D
http://i27.tinypic.com/ehjgg3.png (http://i27.tinypic.com/ehjgg3.png)
Title: Re: Video Support in HFS using VLC ready
Post by: slasherx on July 18, 2009, 01:03:49 AM
for the life of me i cant get this to work... is there something that i have to do...no users/passwords?

this is really frustrating me...even the flash bittorrent dna client isnt working

gah!!!

gotta give details, what exactly isn't working
Title: Re: Video Support in HFS using VLC ready
Post by: pookie on July 18, 2009, 06:39:40 AM
well the vlc behaves like it wants to play the file...ive installed 0.9.9 and have made sure that the plugin is 0.9.9

all the other java script works...doesnt want to work in ie or firefox

i do have a user name and password set but i dont see how that could affect things when the other js is working

i even tried the bittorrent flash player and it didnt work

usually im not so noobish about things like this its really pissing me off
Title: Re: Video Support in HFS using VLC ready
Post by: slasherx on July 18, 2009, 07:21:07 PM
well the vlc behaves like it wants to play the file...ive installed 0.9.9 and have made sure that the plugin is 0.9.9

all the other java script works...doesnt want to work in ie or firefox

i do have a user name and password set but i dont see how that could affect things when the other js is working

i even tried the bittorrent flash player and it didnt work

usually im not so noobish about things like this its really pissing me off

try setting folder with video to allow anonymous access. should play fine then.
Title: Re: Video Support in HFS using VLC ready
Post by: mysoogal on July 18, 2009, 08:55:06 PM
well the vlc behaves like it wants to play the file...ive installed 0.9.9 and have made sure that the plugin is 0.9.9

all the other java script works...doesnt want to work in ie or firefox

i do have a user name and password set but i dont see how that could affect things when the other js is working

i even tried the bittorrent flash player and it didnt work

usually im not so noobish about things like this its really pissing me off

try setting folder with video to allow anonymous access. should play fine then.


that could be the issue, you need to set anonymous access to the folder or file. mostly the whole directory to anonymous access. then refresh or restart firefox. delete old cache , refresh and should be working fine.  ;D

its working fine for me, its strange vlc doesn't ask for password when you use the web UI, if you tried to play a protected file from https with user pass it will ask you, a box will appear, only if you are using the vlc player installed and not the web UI :O


Title: Re: Video Support in HFS using VLC ready
Post by: slasherx on July 19, 2009, 05:43:43 AM
I would like to add the following, who ever can help with this would be great.

- Switch for media files to play in vlc others download or have a option that allows user to either stream or download.
- Possibly would like to set avi files to play with divx player and have mkv play with vlc.
Title: Re: Video Support in HFS using VLC ready
Post by: mysoogal on July 19, 2009, 07:58:31 PM
I would like to add the following, who ever can help with this would be great.

- Switch for media files to play in vlc others download or have a option that allows user to either stream or download.
- Possibly would like to set avi files to play with divx player and have mkv play with vlc.


look into here

http://www.rejetto.com/forum/index.php?topic=7248.0

this new dude, mod hfs clean theme, i think this would be possible, you can have for example two url for each thing you want to do, stream this file , or download this file. so you would probably need to have two of [file] for each need i think.

i think this is rather not good vlc is good enough for me, adding divx is not a good idea, on linux i really dont use it since i have vlc plugin installed. and windows i never have divx installed  :-\
Title: Re: Video Support in HFS using VLC ready
Post by: slasherx on July 19, 2009, 08:52:53 PM
I would like to add the following, who ever can help with this would be great.

- Switch for media files to play in vlc others download or have a option that allows user to either stream or download.
- Possibly would like to set avi files to play with divx player and have mkv play with vlc.


look into here

http://www.rejetto.com/forum/index.php?topic=7248.0

this new dude, mod hfs clean theme, i think this would be possible, you can have for example two url for each thing you want to do, stream this file , or download this file. so you would probably need to have two of [file] for each need i think.

i think this is rather not good vlc is good enough for me, adding divx is not a good idea, on linux i really dont use it since i have vlc plugin installed. and windows i never have divx installed  :-\


only reason i want to add divx is so users can fast forward stream.
Title: Re: Video Support in HFS using VLC ready
Post by: slasherx on July 20, 2009, 11:40:38 AM
v1.2
- Added rollover for file system with other minor changes.

(http://img43.imageshack.us/img43/9858/clipboard12.th.gif) (http://img43.imageshack.us/i/clipboard12.gif/)

(http://img21.imageshack.us/img21/3098/clipboard121.th.gif) (http://img21.imageshack.us/i/clipboard121.gif/)
Title: Re: Video Support in HFS using VLC ready
Post by: mysoogal on July 21, 2009, 01:12:01 AM
nice  ;D

i think if the video is encoded right you can fast forward but i think it will only work on firefox browser  :o and your connection has to be kinda fast.

if you want to switch between the players, you will need to have some type of mootool content switch script or jqurey content switch script.

or maybe  just simple ajax tabs to switch between div ? something like that its possible.
Title: Re: Video Support in HFS using VLC ready
Post by: slasherx on July 21, 2009, 05:11:37 AM
nice  ;D

i think if the video is encoded right you can fast forward but i think it will only work on firefox browser  :o and your connection has to be kinda fast.

if you want to switch between the players, you will need to have some type of mootool content switch script or jqurey content switch script.

or maybe  just simple ajax tabs to switch between div ? something like that its possible.

What i noticed is with divx player, it keeps downloading the movie as it plays.

With VLC it only download little, it downlands little then stops then u reach a point where you are watching it and then starts downloading again. I think if we can get vlc to keep downloading, the fast forward should work. i'm guessing it downloads couple seconds then plays and keeps downloading in couple seconds interval like 10secs at a time or something.
Title: Re: Video Support in HFS using VLC ready
Post by: mysoogal on July 21, 2009, 06:50:30 PM
yes i also, notice that often.  :o it might be just downloading chunks of data then it puts this file to temp folder from there it reads that video file. or maybe it doesn't even save that file to temp folder.

i think it is the web servers issue more then anything  ;D

HTTP Progressive Download versus Streaming Media

http://en.wikipedia.org/wiki/Progressive_download#HTTP_Progressive_Download_versus_Streaming_Media

i think apache2 and lighty web server have module for h.264 streaming which will allow you to seek ahead in the video file. but i havn't looked into this.

their is also a php script that does this enables you to seek in flv or avi files. i think vlc is not the issue here :O more to do with web server setups.

oh yh i'm running on xp 64 ! its much better then 32 bit. :O  ;D

Title: Re: Video Support in HFS using VLC ready
Post by: slasherx on July 21, 2009, 09:52:53 PM
yes i also, notice that often.  :o it might be just downloading chunks of data then it puts this file to temp folder from there it reads that video file. or maybe it doesn't even save that file to temp folder.

i think it is the web servers issue more then anything  ;D

HTTP Progressive Download versus Streaming Media

http://en.wikipedia.org/wiki/Progressive_download#HTTP_Progressive_Download_versus_Streaming_Media

i think apache2 and lighty web server have module for h.264 streaming which will allow you to seek ahead in the video file. but i havn't looked into this.

their is also a php script that does this enables you to seek in flv or avi files. i think vlc is not the issue here :O more to do with web server setups.

oh yh i'm running on xp 64 ! its much better then 32 bit. :O  ;D



ya divx player for sure does that, downloads it to temp folder and reads it from there, you can even click save once its finishes the downloading.

I think its vlc read it from temp aswell but we need to set option for buffer size, maybe we can try playing with that. maybe this 5 represents 5% or 5seconds.
var VLC_controller_default_buffersize = "5";

this.options.set("http-caching", parseInt(VLC_controller_default_buffersize) * 1000);
this.options.set("udp-caching", parseInt(VLC_controller_default_buffersize) * 1000);
this.options.set("http-reconnect", "true");
  

edit: so i found more code in vlccontrols seems like its 5 seconds
Title: Re: Video Support in HFS using VLC ready
Post by: mysoogal on July 22, 2009, 07:28:45 AM
Quote
var VLC_controller_default_buffersize = "5";

this seems to be the 5 second pre-buffer settings , it fills video data chunk for 5 seconds before it plays video. you can notice this when you play video files from hfs it takes a while for video to start. if you change the option from 5 to 0 it will play without waiting for the buffer chunk to fill then play.  ???

i think i asked this Q before in the vlc forums, nobody wanted to help i really hate those forums full of empty air heads  :D
Title: Re: Video Support in HFS using VLC ready
Post by: slasherx on July 22, 2009, 12:43:42 PM
Quote
var VLC_controller_default_buffersize = "5";

this seems to be the 5 second pre-buffer settings , it fills video data chunk for 5 seconds before it plays video. you can notice this when you play video files from hfs it takes a while for video to start. if you change the option from 5 to 0 it will play without waiting for the buffer chunk to fill then play.  ???

i think i asked this Q before in the vlc forums, nobody wanted to help i really hate those forums full of empty air heads  :D

lol ya i set it to 0 starts right away, plus pauses right away as well if you pause. if you set buffer size to 5 it pauses 5seconds or so later.

i wonder if we there is another vlc widget made somewhere on web.
Title: Re: Video Support in HFS using VLC ready
Post by: mysoogal on July 22, 2009, 11:34:18 PM
there probably is, maybe in another language.  ??? hard to find out since the vlc forum seem to not keep any track of people using the vlc plugin  >:(

im trying to figure how to add srt with the javascript :O

i found out its much easier to just use mkvtools and merg avi + srt = mkv so when you stream video it shows subtitles :D

i wonder if there is a youtube clone that uses only vlc plugin, tried so many times to start a php clone that uses vlc but got nowhere near it.  :-X
Title: Re: Video Support in HFS using VLC ready
Post by: slasherx on July 23, 2009, 10:13:53 AM
there probably is, maybe in another language.  ??? hard to find out since the vlc forum seem to not keep any track of people using the vlc plugin  >:(

im trying to figure how to add srt with the javascript :O

i found out its much easier to just use mkvtools and merg avi + srt = mkv so when you stream video it shows subtitles :D

i wonder if there is a youtube clone that uses only vlc plugin, tried so many times to start a php clone that uses vlc but got nowhere near it.  :-X

found these
http://just-do-it.no-ip.org/_Video/THE_SKY_AT_NIGHT/vlc_control.html - this one has fast fordward which actually works

http://people.videolan.org/~dionoea/vlc-plugin-demo/index.php

Title: Re: Video Support in HFS using VLC ready
Post by: mysoogal on July 24, 2009, 06:01:35 AM
http://just-do-it.no-ip.org/_Video/THE_SKY_AT_NIGHT/vlc_control.html


thanks you reminded me of this website, i know this website :O

always wondered if i can change video from 4:3 to 16:9 to etc through the javascript

i will have to look more into this i want this option in the vlc theme  ;D im sick from 4:3 freaking youtube crap
Title: Re: Video Support in HFS using VLC ready
Post by: mysoogal on July 25, 2009, 03:59:41 AM
found another website, veetle.com that uses vlc with p2p very much my idea from 2006 if only i could've coded things back then i'll be rich by now  ;D

anyways when you install their vlc plugin, you will see they also added the option to change screen ratio, thats what i wanted, it seems veetle and me are destined to meet. haaa  ;D

Title: Re: Video Support in HFS using VLC ready
Post by: slasherx on July 25, 2009, 06:07:25 AM
found another website, veetle.com that uses vlc with p2p very much my idea from 2006 if only i could've coded things back then i'll be rich by now  ;D

anyways when you install their vlc plugin, you will see they also added the option to change screen ratio, thats what i wanted, it seems veetle and me are destined to meet. haaa  ;D



hmm nice, are you going to try to copy it.
Title: Re: Video Support in HFS using VLC ready
Post by: mysoogal on July 25, 2009, 07:21:55 AM
it looks like i already did hahaha

i figured it was pretty simple to take apart using firebug and ie developer tools,

its on my site mysoogal dot com but i will take it down shortly im bored from it. the uploaders have very low bandwidth. so each stream channel has low bandwidth. but i saw little of The Red Cliff that chiense movie it was interesting but not worth to mess around with. i think the vlc bittorrent issue, has been fixed. i will post later what it is. but it seems to work only if you have DNA client installed :O
Title: Re: Video Support in HFS using VLC ready
Post by: mysoogal on July 25, 2009, 09:48:09 PM
bittorrent support on the vlc player, but ! DNA client need be installed

http://127.0.0.1/proxy?qos=100000&url=http://download.bittorrent.com/dl/BitTorrent-4.27.2.dmg&service=min_rate_data

in bold, just change it to hfs full url code, and add the other missing part



Title: Re: Video Support in HFS using VLC ready
Post by: slasherx on August 10, 2009, 06:44:36 AM
Added Divxplayer in spawn box support along with VLC.

-------------------------------------------------------
VLC Version 1.3
-------------------------------------------------------
- Added Spawnbox
- Added divx player support
- Added Rawr player support
- Changed VLC Player Icons

Need help with bugs below.
- Bugs: Couldn't get image preview working in IE, worked fine in Firefox. (Need to adjust //Fade fuction in tog.js
- Couldn't get spawn box to spawn top of the screen or in middle of viewable area, only shows half - have to scroll.

(http://img29.imageshack.us/img29/5144/clipboard01xje.th.jpg) (http://img29.imageshack.us/img29/5144/clipboard01xje.jpg)

(http://img29.imageshack.us/img29/5144/clipboard01xje.th.jpg) (http://img29.imageshack.us/i/clipboard01xje.jpg/)
Title: Re: Video Support in HFS using VLC ready
Post by: mysoogal on August 10, 2009, 09:43:36 PM
as much as i would like to look into this, i really dislike anything that involves Rawr and it's developer  :D not to mention divx web player which is not open source and support for it can be discontinued at anytime. plus i hate that freaking divx logo on the player  ;D

have looked into this http://highslide.com/ might help you  :-X

hmm about the fading you probably better of talking to that Rawr developer but don't expect help that much  ;D
Title: Re: Video Support in HFS using VLC ready
Post by: slasherx on August 11, 2009, 07:22:56 AM
Thanks i'll try that.

This wallpaper looks alot better if anyone wants it.

http://woothemes.com/demo/groovyblog/wp-content/themes/groovyblog/styles/blue/bg.jpg
Title: Re: Video Support in HFS using VLC ready
Post by: Nighted on August 12, 2009, 04:16:46 AM
Added Divxplayer in spawn box support along with VLC.

-------------------------------------------------------
VLC Version 1.3
-------------------------------------------------------
- Added Spawnbox
- Added divx player support
- Added Rawr player support
- Changed VLC Player Icons

Need help with bugs below.
- Bugs: Couldn't get image preview working in IE, worked fine in Firefox. (Need to adjust //Fade fuction in tog.js
- Couldn't get spawn box to spawn top of the screen or in middle of viewable area, only shows half - have to scroll.

(http://img29.imageshack.us/img29/5144/clipboard01xje.th.jpg) (http://img29.imageshack.us/img29/5144/clipboard01xje.jpg)

(http://img29.imageshack.us/img29/5144/clipboard01xje.th.jpg) (http://img29.imageshack.us/i/clipboard01xje.jpg/)

Argh...that last episode of Burn Notice...left hanging for a while again.
Title: Re: Video Support in HFS using VLC ready
Post by: slasherx on August 30, 2009, 02:40:13 PM

Argh...that last episode of Burn Notice...left hanging for a while again.

lol ya they did, but hey at least it will be back.

Watch show called Dark Blue comes on TNT, awesome show.
Title: Re: Video Support in HFS using VLC ready
Post by: slasherx on August 30, 2009, 10:21:21 PM
here we go new version. is anyone using this template, i'm just making changes according to what i need.

Here is the tutorial thats links to help guide in template. place the tutorial directory in hfs root.
http://www.megaupload.com/?d=6YGO946K

v1.4 - Changelog
-----------------
- New Background
- Enable & Disable switch for preview box based on extension.


Enjoy
Title: Re: Video Support in HFS using VLC ready
Post by: mysoogal on September 08, 2009, 05:34:17 AM
thumbnail suppoprt but little messy

Quote
[file]
<tr><td class=row>%new%

<script language="javascript">
var c='%item-name%';
switch (  c.substr(  c.lastIndexOf('.')  ) .toLowerCase()  )
   {
case '.jpg' : case '.jpeg' : case '.gif' : case '.png' :case '.ico' :case '.bmp' : document.write('<br><a href="%item-url%"><img align=middle width="286" height="160" src="%item-name%"> </a> ');break;
   default      : document.write('<img align=middle src="/~img_file"> ');
   }
</script>

 <a href="#" title="{.!Click To Stream.}" onClick="vlc_controls.play ('%item-full-url%')">%item-name%</a>%comment%<td class="row right">%item-size%<td class="row right">%item-modified%<td class="row right">%item-dl-count%
</tr>


hfs beta 242 events ffmpeg mencoder commands for encoding


Quote
[+upload completed]
{.if|%item-ext%=avi|{:{.exec|cmd.exe /C C:\Intel-HFS\encoder\mencoder.exe "%item-resource%" -o "C:\Intel-HFS\comp\%item-name%.ogm" -af volume=10 -aspect 16:9 -of avi -noodml -ovc x264 -x264encopts bitrate=500:level_idc=41:bframes=3:frameref=2: nopsnr: nossim: pass=1: threads=auto -oac mp3lame .}
:}/if.}

[+upload completed]
{.if|%item-ext%=avi|{:{.exec|cmd.exe /C C:\Intel-HFS\encoder\ffmpeg -v 0 -y -i "%item-resource%" -vframes 1 -ss 5 -vcodec mjpeg -f rawvideo -s 286x160 -aspect 16:9 "C:\Intel-HFS\comp\%item-name%.jpg".}
:}/if.}


tpl added, look into it  ;D upload and convert working !
Title: Re: Video Support in HFS using VLC ready
Post by: Emil on September 25, 2009, 01:36:16 PM
Hi, i have set up my HFS and when i click on a avi file for VLC to play then it doesnt begin to play it, and when i press play by myself then it says "nothing in playlist!"

Why? Please help, thank you.

And by the way, IE says there is an error in VLCcontrols.js
Title: Re: Video Support in HFS using VLC ready
Post by: Emil on September 25, 2009, 09:39:56 PM
Im using another template now which makes it work to stream videos with divx, but when i make a folder restricted to certain users or make the folder password protected and the videos is under that folder, then i cant stream them.. "The video cannot be reached (401 error) it appears the server is denying access to the file." why does it say that? Cuz i have set access to the user... but im not allowed to watch it anyway... i can watch the video when the folder is not protected in any way.. help plz =]
Title: Re: Video Support in HFS using VLC ready
Post by: TSG on September 26, 2009, 08:13:21 AM
It is a problem between the DivX Web Player and folder permissions. Something we cannot fix. It is as if the DivX Web Player does not work with the HFS HTTP Authentication system. The only way to use it without any problems is to enable anonymous access. I think.
Title: Re: Video Support in HFS using VLC ready
Post by: Emil on September 26, 2009, 10:14:38 AM
Okey, well if i set the folder to Anonymous access then anyone would be able to stream movies and such.. :S Well thats bad.

Anyway thank you for the answer.
Title: Re: Video Support in HFS using VLC ready
Post by: Zerofool on October 25, 2009, 01:31:09 PM
Hello,
I recently found out about this great template and started experimenting with it.
But I found some glitches, and want to report them.
1. Because I want to share lots of .vob and .ts files, which are interlaced, I need to force client-side deinterlacing. I tried adding this:
      vlc_controls.options.set("video-filter", "deinterlace");
      vlc_controls.options.set("deinterlace-mode", "blend");
as well as
      vlc_controls.options.set("filter", "deinterlace");
      vlc_controls.options.set("deinterlace-mode", "blend");
With and without quotes on the text strings, but with no success. Any ideas?
2. I want the volume to be set at 50% instead of 100% (because of sound distortions). I added
      vlc_controls.options.set("volume", "256");
/it ranges 0-1024 so i figured 50% should be 256/ and still no luck.
3. I noticed that files containing apostrophe (') in the name or the URL can't be played, they don't start at all.
4. I'm not sure deblocking is working, some blocking issues are visible in low-bitrate xvid .avi's, witch are not present when I play the same file in regular vlc with PP @6. I also tried
      vlc_controls.options.set("postproc-q", 6);
but there's no change.
It seems none of these work at all, so probably I'm doing something totally wrong.
5. In Chrome I noticed white borders around the list of files witch are gone in IE and Firefox.

I also have an idea about thumbnails - it would be cool if they work like in the site Video Copilot (http://www.videocopilot.net/tutorials/all/) (hover over the image to view the pop-up) - so pointing the cursor to the filename would bring pop-up window with the jpg thumbnail.

Thanks and good luck to the project
Title: Re: Video Support in HFS using VLC ready
Post by: slasherx on November 11, 2009, 06:47:50 AM
Hello,
I recently found out about this great template and started experimenting with it.
But I found some glitches, and want to report them.
1. Because I want to share lots of .vob and .ts files, which are interlaced, I need to force client-side deinterlacing. I tried adding this:
      vlc_controls.options.set("video-filter", "deinterlace");
      vlc_controls.options.set("deinterlace-mode", "blend");
as well as
      vlc_controls.options.set("filter", "deinterlace");
      vlc_controls.options.set("deinterlace-mode", "blend");
With and without quotes on the text strings, but with no success. Any ideas?
2. I want the volume to be set at 50% instead of 100% (because of sound distortions). I added
      vlc_controls.options.set("volume", "256");
/it ranges 0-1024 so i figured 50% should be 256/ and still no luck.
3. I noticed that files containing apostrophe (') in the name or the URL can't be played, they don't start at all.
4. I'm not sure deblocking is working, some blocking issues are visible in low-bitrate xvid .avi's, witch are not present when I play the same file in regular vlc with PP @6. I also tried
      vlc_controls.options.set("postproc-q", 6);
but there's no change.
It seems none of these work at all, so probably I'm doing something totally wrong.
5. In Chrome I noticed white borders around the list of files witch are gone in IE and Firefox.

I also have an idea about thumbnails - it would be cool if they work like in the site Video Copilot (http://www.videocopilot.net/tutorials/all/) (hover over the image to view the pop-up) - so pointing the cursor to the filename would bring pop-up window with the jpg thumbnail.

Thanks and good luck to the project

you could try playing with those settings in the VLC .js files instead of adding them to the TPL file. Should Only load the file to vlc in TPL. Rest settings i belive would need to be changed in the .JS files
look in \irresistible\js\ folder.

i wish i had time to work on this but i have been very busy these past months i dont' even get on my pc any more lol.

Good luck and keep us posted
Title: Re: Video Support in HFS using VLC ready
Post by: Zerofool on January 19, 2010, 07:02:36 PM
Hello again. Thanks for the advise, I tested it but again it didn't work. I also tried this test page (http://www.revolunet.com/static/download/labo/VLCcontrols/advanced.html) with the deinterlacing options, enabling the debug window, and I saw this message:

VLC: main input : unsafe option "video-filter" has been ignored for security reasons
VLC: main input : unsafe option "deinterlace-mode" has been ignored for security reasons

After some searching I found out that all such options are disabled in vlc by default, and are enabled after lots of testing. Of course anybody that could write patch for the source of vlc can enable them, but unfortunately no one with such skills haven't done it yet (at least I couldn't find such patched builds).
I also am stuck with all the other things I reported, except the border problem in Chrome, I fixed that.

Anyway, in the mean time I played with the template and modified it a bit, to suit my needs. After I finish it I plan to upload it here, hopefully it will be of some use to other people as well :).
Some of the changes I made - optimized it for 1280x*** res, updated RAWR player to v 1.0.1, the ability to play .mkv files also with latest DivX Plus Web Player, changed some icons, minor objects positioning optimizations, added many file extensions to be played with vlc, updated the tutorial.html... And the only thing remaining to do is to re-add the sort by name/date/size options. I hope it will be ready after 2-3 weeks (I have some exams in the university right now :D).
Title: Re: Video Support in HFS using VLC ready
Post by: dietcoke2am on June 27, 2010, 07:01:08 AM

i think apache2 and lighty web server have module for h.264 streaming which will allow you to seek ahead in the video file. but i havn't looked into this.


I'm running an ubuntu server with Apache2; using the vlc control scripts i got from somewhere else on html pages (not using HFS).
the avi time issue is not related to vlc or the file codec it's rovulnets (javascript) fault not even the demo's on their page grab the correct avi time of video.
it could either be a mismatch of their scripts with our vlc version, since vlc came out with literally tons(just a guess).
the video scanning is much faster when i play videos off my apache server. I haven't tried loading HFS on ubuntu since im not using a GUI on the server.

Anyone ever tried running HFS on a linux server with no GUI? I've ran it under Wine with Ubuntu Desktop, that works fine but ..not very web server'ish. So, basically anyone tried running Wine + HFS on the terminal?
Title: Re: Video Support in HFS using VLC ready
Post by: nightwulfe on September 09, 2010, 01:53:22 AM
hi i have tryed this tpl and vlc wont work at all please help resolve this issue thanks in advance
Title: Re: Video Support in HFS using VLC ready
Post by: Zerofool on September 09, 2010, 11:58:56 PM
Hi, it doesn't work with latest VLC. But there are some updates on the scripts that are used, to make it work. Few weeks ago I played with it and finally made the template work with the latest VLC. These scripts were updated again few days ago, so I incorporated this update as well. I'm uploading my version, hopefully it will be of some use. It is work in progress (the directory structure is big mess, there are also some unused files), but it's been quite some time since I promised to share it, so here it is (finally).

1.4.1a Changelog:

(http://a.imageshack.us/img337/9953/141ashot.th.png) (http://img337.imageshack.us/i/141ashot.png/)

Fixes/new things:

 -optimized sizes of elements and spacings for screen resolution of 1280x*** and higher.
 -updated RAWR Player to v1.0.2
 -updated Revolunet VLCcontrols to latest version (from 01.09.10)
 -added rules for more file formats
 -sort by filename, size.. buttons are back (although ugly and with unoptimized positions, WIP)
 -finally fixed de-interlacing with VLC
 -playback of files with ' in the name is now fine, thanks to fix in HFS 2.3 build 263
 -changed some icons
 -slightly modified background image
 -the tutorial page is updated
 -fixed the Chrome white border problem I wrote about
 -some other cosmetic fixes I can't remember right now


Known issues:

 -fullscreen with VLC doesn't work for now (known VLC bug)
 -progress bar of VLC "window" is visible only in IE, I have no idea how to fix that for Firefox/Chrome/Opera (it's still clickable though ;))
 -probably some other bugs I've added with my changes :)


Some notes:

 -to play .mp4 files with DivX Web Player, you need v2.1 Beta (or later)
 -de-interlacing with VLC is disabled by default, to enable it, open the .tpl file then find and change player.options.set("deinterlace", 0) to player.options.set("deinterlace", 1). You can also change player.options.set("deinterlace-mode", "bob") to use other de-interlacer, like "yadif" or "yadif2x".


If I have progress on something I'll post it. Help from other users is always welcome. :)


VLC_Blue_1.4.1a_full.7z 1.03MB
@ MegaUpload (http://www.megaupload.com/?d=R88FJDP4) | @ MediaFire (http://www.mediafire.com/?dchz6j07n1dycys)
Title: Re: Video Support in HFS using VLC ready
Post by: GuruKrish on December 31, 2010, 12:51:00 PM
Hi,

I Am Guru. I am very intrested of customize this VLC template for my use. I wonder that why VLC not playing in user authenticated mode. It is not playing in just saying paused status. Any one fix for this. In unauthenticated mode it is working file.

Regards,
K.Guru.
Title: Re: Video Support in HFS using VLC ready
Post by: mysoogals on December 31, 2010, 07:58:39 PM
Hi,

I Am Guru. I am very intrested of customize this VLC template for my use. I wonder that why VLC not playing in user authenticated mode. It is not playing in just saying paused status. Any one fix for this. In unauthenticated mode it is working file.

Regards,
K.Guru.

it seems the videolans web plug-in module that deals with http and auth are probably not written to support protected file or directory, if you use the installed videolan.exe the application and try to play a protected file it will ask you to input your user-name and password, so my only guess somewhere in videolans web based plug-in http modules were not written the same as the application modules thus you get no auth ability , somebody needs to dig into videolans web plug-in module and add that feature

thats what i think
Title: Re: Video Support in HFS using VLC ready
Post by: GuruKrishnan on January 01, 2011, 07:16:35 AM
it seems the videolans web plug-in module that deals with http and auth are probably not written to support protected file or directory, if you use the installed videolan.exe the application and try to play a protected file it will ask you to input your user-name and password, so my only guess somewhere in videolans web based plug-in http modules were not written the same as the application modules thus you get no auth ability , somebody needs to dig into videolans web plug-in module and add that feature

thats what i think

That is fine and Wish you Havppy New Year 2011  Mr mysoogals

I tried to play web page of inbuild VLC plugin with HFS in free mode and some of my old systems are hangs while loading files. So that i decide to play it with external VLC and it is working fine. So my new idea is to add and play clicked items into vlc playlist. Do you have code to do that. For the time being i am using vlc_context_menu-0.7.2-fx.xpi for firefox. I want to play both IE and Firefox without plugin and i want to enable it in my webpage. Give me an Idea.

Regards,
Guru.