rejetto forum

Software => HTML & templates => HFS ~ HTTP File Server => RAWR-Designs => Topic started by: chthonic on November 16, 2007, 07:04:04 PM

Title: DivX preview not working
Post by: chthonic on November 16, 2007, 07:04:04 PM
I keep getting a "download error" when I try to preview divx/avi video files.. is there somethign else I need to do to make this work? the new template doesnt allow viewing of wmv files.. so I had to convert.

this feature works on the test page.. is there limit to the file size that can be played?
Title: Re: DivX preview not working
Post by: Giant Eagle on November 16, 2007, 08:06:46 PM
Could you try it in a different browser? See if the problem still exists then.
Title: Re: DivX preview not working
Post by: chthonic on November 16, 2007, 08:18:21 PM
it works under firefox.. but not with any browser using the IE engine
Title: Re: DivX preview not working
Post by: Giant Eagle on November 16, 2007, 09:44:47 PM
Someone mentioned that the DivX player does not function correctly under ie if the filename contains spaces.. Can you confirm that?
Title: Re: DivX preview not working
Post by: chthonic on November 16, 2007, 09:54:59 PM
there are no spaces with these files..they are all one word titles
Title: Re: DivX preview not working
Post by: chthonic on November 16, 2007, 10:01:23 PM
ok... the problem isnt just witheh file name.. the entire server path has to be devoid of spaces.. its playing now.. but I am not sure if it was because I removed the spaces or because I changed the file size..

I am going to add one space back in to find out.
Title: Re: DivX preview not working
Post by: chthonic on November 16, 2007, 10:09:46 PM
ok.. the problem is somewhat compound... the path of the file isnt an issue... the file name cant have more than one space and the resolution size is also a factor .. I played it at 480x200 and it played fine.. but I have to increase the width to fix the appearence of hte video... looks like there is a max resolution range as well.
Title: Re: DivX preview not working
Post by: ELEVENNNN on November 16, 2007, 10:10:53 PM
The size of the file in IE has not given me any problems, but in IE6 (havent confirmed for IE7) any spaces had the same symptoms as yours.  TSG told me that he doesnt plan on doing anything with this and that IE6 can basically go burn in a fire.

@Richard - your a dick and you know what i mean..

The resolution issue goes beyond that of Tog/Terayon as it applies to stage6 videos as well.
Did you have any trouble making it full screen? I'm pretty sure no one is going to want to watch it in the popup box.
Title: Re: DivX preview not working
Post by: chthonic on November 16, 2007, 10:50:43 PM
full screen has no issues.. and it looks fine in the window and in fullmode.. thats just a simple matter of HxW <shrug>
Title: Re: DivX preview not working
Post by: ELEVENNNN on November 16, 2007, 11:04:36 PM
Then what did you mean by this:

Quote
I played it at 480x200 and it played fine.. but I have to increase the width to fix the appearence of hte video

with:

Quote
and it looks fine in the window and in fullmode

Can you explain a little better please.
Title: Re: DivX preview not working
Post by: chthonic on November 16, 2007, 11:30:56 PM
it wasnt "wide" enough in the window.. it looked like it was all squeezed in the middle
Title: Re: DivX preview not working
Post by: ELEVENNNN on November 16, 2007, 11:52:24 PM
I (at least) need clear answers.

When you say it, do you mean the picture?  If so, is it sort of like when you first watch a movie within Windows media player and you have to right click and chose a picture size of 200% instead of 100%.  I.e, there is black around the borders and it looks like a square more than a widescreen rectangle? 

If you bring it into windows media player, and right click and chose the 200% (mentioned above), is there still some black around the edges, or does it cover the entire viewable area. (don't make it full screen).

Unless you clarify a bit, right now this sounds more like the dimensions and such the movie was encoded in, and not a coding error, screenshots are always helpful.
Title: Re: DivX preview not working
Post by: chthonic on November 17, 2007, 12:01:04 AM
it just looked wrong in embedded mode.. it looks  normal in windowed mode.. I just think that the embedded window should be resizable... less confusing than the extra window
Title: Re: DivX preview not working
Post by: TSG on November 17, 2007, 03:45:19 AM
The player is set at widescreen (16:9), we cannot change this, its the most common resolution for this filetype. It cannot be dynamic in size with hfs, not without some way of the file giving the player its aspect, but even on stage6 this doesn't occur, i have studied their code and it seems they have some server side information on the videos which automatically resizes the player. The only way to fix this, is for you to use the same method that can be achieved to fix it for a folder of 4:3 videos, you'll have to figure out the mathematical height or width you need. The aspect is 2.35:1.

It seems you are trying to view an anamorphic cinematic aspect video in the widescreen player, On Disc this is usually fixed by the video having black lines embedded into the frames. But many avi compression programs (autoGK/vdm) etc, will crop out this black area to achieve the smallest video frame possible. Because computer players have the ability to mimick this (i think vlc even has the ability to manually set this aspect)

Now, as for IE not working, i find testing locally IE will not work with it. It will show errors about not being able to connect and stuff. But externally it might work, i dunno i try my best to accompany Internet Explorer by i don't care about it.

An embedded window cannot be resizable, it is only meant as a preview, not as a permanent viewing solution. Just click the file and get the windowed version? its all good there. This is the best solution we have come up with for avi/divx files.

GE and ELEVENNNN the spaces bug isn't the problem here.
Title: Re: DivX preview not working
Post by: chthonic on November 17, 2007, 05:50:36 AM
on "some" machines having more than two spaces in the video file name IS an issue... it all depends on the browser... but.. the size of the file was also a factor.... I tested this myself... even at the smaller size.. the moment I added two spaces to the file name.. I couldnt play it... so I know that is a factor.... I removed the spaces and the file played...

I used the A2 video convertor option in jet audio... that helped a great deal... reduced the size of the file I was testing by 2/3 and they play smoothly...
*************
now.. as for the spaces... I did some more experimenting... the browser isnt the issue... I removed the spaces in the file names under HFS and they played.. but the files on the HD never changed... so the issue has somethign to do with how HFS handles spaces in file names..

I dont think the player knows how to interpret %20 in the file names.. that represents the spaces...is there a way to compensate for that in the template code?

i.e.: convert the %20 to _ as it reads the name? ..this would all be scripted.. and wouldnt change the actual file.. only how the player reads the file names..
Title: Re: DivX preview not working
Post by: TSG on November 17, 2007, 08:05:26 AM
Ok for the idea, maybe we can replace all %20 with _  ;) will see what we can do for the next build.


EDIT: I doubt this will work. After some thought.
Title: Re: DivX preview not working
Post by: chthonic on November 17, 2007, 03:15:27 PM
it only needs to do that for files with spaces .. "conditional" that way it doesnt use up resources.


btw..I like the teryon template.. but I would like it more if it had a login screen option like ToG <grin>
Title: Re: DivX preview not working
Post by: mr-tickle on November 18, 2007, 12:12:18 PM
I seem to have similar problems. the preview starts and about 145k of data is transferred (presumably the last part of the divx file) then the divx player on the receiving computer returns the error "The video cannot be reached(401 error) it appears the server is denying access to the file". Strangely though the stream works flawlessly on http://localhost.
here is the HFS log of the event from a computer on the LAN:-
18/11/2007 11:58:02 steve@86.137.80.75:65334 Requested GET /My files/DivX Movies/divx-175-vo-llnwd-net_.divx
18/11/2007 11:58:15 86.137.80.75:65425 Requested GET /My files/DivX Movies/divx-175-vo-llnwd-net_.divx
18/11/2007 11:58:15 86.137.80.75:65425 Not served: 401 - Unauthorized
here is the log when streaming from localhost
18/11/2007 12:08:02 steve@86.137.80.75:65490 Requested GET /My files/DivX Movies/divx-175-vo-llnwd-net_.divx
18/11/2007 12:08:02 steve@86.137.80.75:65492 Requested GET /My files/DivX Movies/divx-175-vo-llnwd-net_.divx
18/11/2007 12:08:19 steve@86.137.80.75:65492 Fully downloaded - 26.40 MB @ 1622 KB/s - /My files/DivX Movies/divx-175-vo-llnwd-net_.divx
do you have any idea what I'm doing wrong here ?
Title: Re: DivX preview not working
Post by: TSG on November 18, 2007, 01:15:03 PM
No. We have done everything the homepage says to properly embed the web player, The problems most are experiencing is but with the player itself. I think it is because the player was designed for a specific use and we are trying to use it for something else. If it works, ;D, if it doesn't... ignore it and move on. There is nothing we can do.

Oh and its not a port problem. To answer your question on the router board, i removed the post.
Title: Re: DivX preview not working
Post by: mr-tickle on November 18, 2007, 01:43:33 PM
OK thanks for the quick reply. It does seem strange that the log shows the username during the file request from localhost ... but no username from the computer on the LAN. the same username and password is in use on both computers. I will play with it some more and if I come across a solution I will let you know.
Title: Re: DivX preview not working
Post by: mr-tickle on November 18, 2007, 02:34:02 PM
OK fixed the problem ... you were right the player was the problem ... the cut down webplayer dosn't work ... but the full player  DivXInstaller.exe works just fine :-). thanks for your help with the problem.