rejetto forum

Video Support in HFS using VLC ready

mysoogal · 94 · 100354

0 Members and 1 Guest are viewing this topic.

Offline mysoogal

  • Tireless poster
  • ****
    • Posts: 127
    • View Profile
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


Offline slasherx

  • Occasional poster
  • *
    • Posts: 98
    • View Profile
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
« Last Edit: August 30, 2009, 10:22:09 PM by slasherx »


Offline Nighted

  • Occasional poster
  • *
    • Posts: 24
  • Meat Popsicle
    • View Profile
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.





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


Offline slasherx

  • Occasional poster
  • *
    • Posts: 98
    • View Profile

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.


Offline slasherx

  • Occasional poster
  • *
    • Posts: 98
    • View Profile
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
« Last Edit: August 30, 2009, 10:38:08 PM by slasherx »


Offline mysoogal

  • Tireless poster
  • ****
    • Posts: 127
    • View Profile
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 !


Emil

  • Guest
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


Emil

  • Guest
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 =]


Offline TSG

  • Operator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs
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.


Emil

  • Guest
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.


Zerofool

  • Guest
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 (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


Offline slasherx

  • Occasional poster
  • *
    • Posts: 98
    • View Profile
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 (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


Zerofool

  • Guest
Hello again. Thanks for the advise, I tested it but again it didn't work. I also tried this test page 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).


Offline dietcoke2am

  • Occasional poster
  • *
    • Posts: 7
  • I Wish For Peace on Earth
    • View Profile

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?
Someone teach me something about all this nonsense. My technical background does not cover html code or tpl's lol.


Offline nightwulfe

  • Occasional poster
  • *
    • Posts: 10
    • View Profile
hi i have tryed this tpl and vlc wont work at all please help resolve this issue thanks in advance