Jump to content

HTTP-Webserver


Recommended Posts

Guest Lars_MQ
the ASFStreaming.dll has been regsvr32'ered.

 

The netstreaming plugin is acitivated (running latest 3.5.0.1 dvbV) and configged correctly like this.

They are not related in any way. :radscorpion:

 

I am only accessing my server through remote desktop making overlay impossible.

The plugins are not located in the rendering graph of the DVBViewer. The chain is:

 

Device -> plugins

|-> DisplayGraph

 

Maybe you should try another videodecoder (the nvidia stuff is know to be quite problematic) in the asfplugin and first start with the lowest compressionrate (28 kbits) and then work your way up...

Link to comment
  • Replies 128
  • Created
  • Last Reply

Top Posters In This Topic

  • gibman

    26

  • Lars_MQ

    11

  • Benson

    7

  • prefrontallobotomy

    7

I did try all the different kinds of video audio encoding profiles.

Also tried to change the directshow filters.

 

The netstreaming plugin does indicate that the client is connected at a random port each time. The network utilization indication seems ok too.

 

I'm out of ideas.

 

/Gibman

Link to comment

As Lars already said, the netstream plugin is not related to the webserver streaming.

 

It could be useful to observe the cpu usage on your system. If you enable webserver streaming and the usage is near to 100%, then your system is probably to slow. You can also try to disable A/V on DVBViewer during streaming. On my system the streaming works more stable, when I disable a/v.

Link to comment
Guest Lars_MQ
The netstreaming plugin does indicate that the client is connected at a random port each time.

As I said, the netstreaming and the asfstreaming are in no way related and they work completely independend from each other.

Link to comment
The netstreaming plugin does indicate that the client is connected at a random port each time.

As I said, the netstreaming and the asfstreaming are in no way related and they work completely independend from each other.

 

Yeah, it's working now. I think I misunderstood it.

I disabled the netstr. plugin.

Then I came at a halt with the "buffering" message on the activeX mediaplayer.

 

Instead of nvidia I chose elecard or cyberlink as videodecoder - now it roxx.

 

Thanx.

 

/Gibman

Link to comment
Guest Lars_MQ

Try the Netstreaming plugin with vlc on the client and the webserver to control the viewer, this is waaaay cool! :radscorpion:

 

nice for sitting outside and getting high quality tv via wlan onto the laptop :(

 

BTW the clients don't influence each other anymore on streaming with the new netstreaming.

Link to comment
Try the Netstreaming plugin with vlc on the client and the webserver to control the viewer, this is waaaay cool! :radscorpion:

This is what I first did. Using vlcplayer to get the stream localhost on the server, then transcode it for my client on the internet or LAN.

 

It's more of a hassle to startup than using the web page.

When I change channel on the webpage remote control the VLCplayer on the server stops..I have to restart the vlc (just hitting the play button). And ofcourse the client vlc needs to reconnect also.

Another problem with VLC is that it eats up CPU even though no clients are connected.

I like the web plugin better. When there are no clients the CPU is freed up.

 

nice for sitting outside and getting high quality tv via wlan onto the laptop :(

 

BTW the clients don't influence each other anymore on streaming with the new netstreaming.

 

I stream over my 54mbit wlan with dvbserver, I dont need to lower the bitrate.

 

/Gibman

Link to comment
Guest Lars_MQ
I stream over my 54mbit wlan with dvbserver, I dont need to lower the bitrate.

OK that's the same engine as the netstreamplugin.

 

What I meant is probably something similar what you do with the dvbserver. :radscorpion:

Link to comment

What about being able to stream stuff like:

 

DVB Recordings.

Movies etc. (path specified in dvbV options - virtual paths)

 

So many options :)

 

/Gibman

Link to comment
Guest Lars_MQ

Yes, something like this is integrated into the asfsteaming plugin. but atm I'm taking the liberty to work on something I wanted to do since a long time :)

Link to comment
  • 3 weeks later...

I just tried the new vers. Webserver Control 1.0.

 

When my FF clients hist the streaming config tab the httpserver.exe just crashes silently.

The icon is gone from the systray area. No error messages of any kind.

 

gibman

Link to comment
FF Clients? You did reregister the Streaming plugin as advised in the readme?

 

FF for Firefox :bye:

 

nope I did not register the streaming plugin - this fixed it ;)

 

I thought since I already had the DLL no re-register was needed.

This often works, unless binary comp. is broken on the new DLL, then a new GUID is generated and regsvr32 is needed.

 

/gibman

Link to comment
Guest Lars_MQ
I thought since I already had the DLL no re-register was needed.

Well I did write it in the readme. I do not write such stuff out of fun and joy ;)

 

Glad it works now :bye:

Link to comment

Hi,

 

I used the beta version of the web server and found it really useful for adding new timer recordings when I was away from home. I have now upgraded to the latest version of DVBViewer and HTTPServer and (gloom and despondency) I can no longer add or modify the timer recordings via the web interface.

 

The behaviour is the same whether I create a new 'timer' from an EPG entry or from scratch. When I click the save button the browser (IE) just sits there waiting for a response. Eventually a blank page is displayed and when I view the list of scheduled recordings no new entry has been made.

 

The behaviour is the same if the browser is on the HTTPServer machine, on another machine in my LAN or on a machine somewhere on the internet.

 

I can create new 'timer's in DVBViewer itself, and I use the MS Task Scheduler (and Scheduler.exe?) to start the recordings.

 

I see no sign of any error output/logging that might indicate what is wrong.

 

After the blank page the web server seems to carry on responding OK, eg. display EPG, Scheduled recordings, Configuration etc..

 

Any suggestions for getting it to work like it used to?

 

regards,

Chris (the forum wouldn't let me use my real name to login!!)

 

PS I haven't had chance to revert back to the old HTTPServer and new DVBViewer so can't be sure that it is an HTTPServer problem - but there is certainly an incompatibility between the two!!

Link to comment

@ InAws

Can you try to add timers via webinterface with another browser? In this topic somebody reported a similar bug. If another browser solves your problem, it could be an browser specific issue with the template code...

Link to comment
@ InAws

Can you try to add timers via webinterface with another browser?

 

Hi Benson,

 

I managed to try it with FireFox 1.5.0.4 (?) with more or less the same result. The only difference is that FF never seems to timeout. The new timer doesn't get added. I tried with both the horizontal and the vertical tab layout files.

 

I reverted back to the old beta HTTPServer exe file, using the templates from the latest version with IE and lo and behold I can add new timer entries. So I guess it's 'problem solved' and I'll carry on using the beta version for the time being!

 

regards,

Chris

(aka InAws!)

Link to comment
  • 1 month later...

great app

 

working here great for testing well done ;)

 

how can u set up guest accounts ?

 

ive tried it all ways but still wont creat any

 

the only account in the httpserver.ini is for admin

 

thanks in advanced

 

warlord

Link to comment

I finally managed to get ASF streaming working using IE as client. However I observed that DVB subtitles are not streamed. Is this a bug or a "feature"?

I also tried to connect to the stream using windows media player, but no matter what protocol I try, it fails.

Is this not possible? If yes - what do I need to specify in the URL window?

__________

Peter

Link to comment
  • 4 weeks later...

I really miss channel logos on the various web pages.

 

Just like they have it mediaportal :

http://www.mp-webinterface.com/mambo/index...m=/Screenshots/

 

Thats one nice GUI.

 

Anyways, if you would support a new tag like {channellogo} it would work.

<img src="{channellogo}">

 

Yeah, I looked at the new properties.html page, but this isnt exactly enough.

 

I know the HTTPserver.exe can only share files from within the "web" folder domain.

So the channel logoes would have to be copied from

 

C:\programmer\DVBViewer\Images\Logos

to

C:\programmer\DVBViewer\webserver\web\Logos

 

This thing can "easily" be solved clientside, but this is the wrong way to do this.

It is also a way slower to load a page like this.

 

Now...it really should be fixed on the server. Now if only it was perl or aspx.net or something serverside editable stuff :)

 

Yeah why not make an opensourced aspx dotnet c# project, hehe.

 

/Gibman

Link to comment
Yeah why not make an opensourced aspx dotnet c# project, hehe.

You are welcome to do such thing. :) I don't care for a language needing a 25 MB download just to work. I don't care for components (as asp) tearing wholes into the security bigger than the arc de triumph... :bye:

 

The webserver control is only a byproduct given by me to the public. but it is not a part of the DVBViewer product packages per se (like the GE is not a part of the DVBViewer but a project of griga).

 

I'm open for suggestions but I do neither compete with nor care about other projects made by people who only have to care about this one project and nothing more...

 

Oh and I don't really miss the channellogos. But I do miss a display of the current channel, the current EPG, maybe timeshift state or if a recording is ongoing, you see the real important stuff. :bye:

Link to comment

Nothing wrong with the dotnet framework.

Yeah its a big lump, no doubt. But stuff is going in that direction in genereal. I mean its all getting bigger aswell as the requirements.

Take a look at Vista. 2 gigs of mem recommended. It comes on a DVD etc.

Yeah we all miss the good old days.

 

..and without security holes MS would be out of work. Wouldnt want that to happen :)

 

httpserver.exe is easier to install by the end user than setting up a virtual directory on local IIS + all the other stuff required by an aspx setup.

 

I was just saying people like me etc. are kind of limited in regards to what we can contribute with.

I can only help out with javascript clientside stuff, and not serverside code (httpserver.exe).

If serverside code was perl or something else, I could contribute here as well.

 

Also, I wasnt taking a swing at your webserver. I love it just as much as the next guy.

I see no problem in comparing it with the mediaportal. Nothing wrong with a little inspiration.

 

I promise I wont mention the logo stuff no more :)

Think I know what to do.

<img src="{progname}.GIF">

Now I just need a logo file matching channel name 100% with the GIF extension.

It should be possible.

 

<edit>

I have altered some of the files in the web archive.

Logos are now supported both on FF and IE.

Also the streaming page now has aspect ratio and zoom control. Currently only working in IE.

 

To make the logos work, just copy copy the logos as mentioned above.

from

\DVBViewer\Images\Logos

to

\DVBViewer\webserver\web\Logos

 

The webcode expects GIF images. If this is not ok with your setup, feel free to edit the IMG tags accordingly.

The gif filename has to match the channel name 100%.

It is not as forgiving as the logo filename match in DVBViewer.exe itself.

Ex. RTL.gif

If you have broken web images, then double check image filename.

Also becareful about channel names with characters like single quotes ex .. "Rock 'n roll".

</edit>

 

/Gibman

Edited by gibman
Link to comment

Hmm, I think it's time for a change. We do it the other way round.

 

Design the webinterface the way you think it should be done, but keep in mind it should be useable not only for your preferences, but from everyone everywhere the DVBViewer is used and and don't forget performance (no reload of the whole epg each odd second :) ).

 

It doesn't has to be fully fitted with graphics, but give me enough to understand what you want and need from the webserver. And don't cling to the pages the way they are or the kind of pages, but keep in mind, it has to be build on the fly from templates.

 

I will change or extend the server as much as possible to fit the needs.

 

/lars

 

 

 

Oh one thing: Don't get too much inspiration from other projects... :)

Link to comment

Ok, well here we go.

 

If you look on "prog_summary.html" in the "<!-- START BLOCK : dayloop -->" loop.

 

It would be handy to be able use a servertag like this.

<img src="Logos/{logoname}">

 

It would then translate to something like this;

 

<img src="Logos/RTL.png">

 

So the {logoname} tag, should only return the filename + extension of the logo, and not the full path.

 

A requirement is still to have the logo image files in the web folder. like this:

copy all from

\DVBViewer\Images\Logos

to

\DVBViewer\webserver\web\Logos

 

Since your httpserver.exe's virtual root DIR is the web folder, rite ?

 

The following pages would need this tag {logoname}:

timer_list.html

prog_summary.html

epg_Details.html

epg_daylist.html

timer_new.html

epg_list.html

 

We have a few special cases on :

timer_new.html

 

On this page the user can select another channel to record from than the current default one.

This would require a logo on the webpage.

 

Solutions ?

As it it now the onchange event on that dropdown does not issue a serverside roundtrip.

Only clientside.

Reload the page (roundtrip), so have I a new {logoname}.

Or do it in javascript.

 

If u look at the rendered HTML, we have this:

...

<select name="channel" id="channel" size="1" onchange="onChannelChange(this)">

<option value="0" >DR1</option>

<option value="1" >DR2</option>

...

 

U could make sure to create some javascript code dynamically from your httpserver.exe code.

 

Like this;

 

<script>

var channelLogosArray = new Array ("dr1.gif", "dr2.png");

</script>

 

Now when the onchange event fires on the dropdown, I then know that index 1 (Dr2) has been selected.

I would then query the array that u created for the logo name.

 

var logoFilename = channelLogosArray[index], where index could be 1 for Dr2.

 

 

There is also missing some kind of EPG search/filter options in the web pages I think.

The following pages would benefit greatly from such a feature:

prog_summary.html

epg_daylist.html

epg_list.html

 

The GUI could consist of the following controls.

datetime start (textbox)

datetime stop (textbox)

description (textbox)

search (button)

 

Also, it should be no problem to make the EPG search GUI block toggleable in regards to make it disappear and reappear by clicking on it.

Like the way the remote behaves.

I could do this easily.

 

I have made a static example on the prog_summary.html, epg_daylist.html and epg_list.html pages.

Have a look at them, to see the EPG search in a prototype way.

 

The EPG search GUI toggle feature could be implemented more softly than it is now. Like the remote page, as I said. Consider that.

 

/Gibman

web_gibman.rar

Link to comment

Well except for the channellogos it sounds good.

 

I have a simple problem with the logos: It can take some time the first time you open a page, cause of the amount of channels. For each channel the logofile has to be calculated (I'm going to use the same mechanism as the DVBViewer) at least once and since in most cases the channels are needed at all at once, well you can do the math :)

 

Another thing I want: Switch between full channellist and favorites only. Since this would in most cases require a complete reload of the page anyway, the best place would be in the options page, what do you think?

Link to comment

OK after looking through your pages, I have several question/problems understand the benifit.

 

I think there are only two pages needing the EPG search:

 

A new Search epg page with the possibility to search in all channels or only in favorites. Search in title, Subtitle, or fulltext. Category is not used by most channels and should be ommited.

 

prgOverview with the possibility to search a specific channel. Searching criteria the same as search epg.

Results would be displayed in the same manned as the complete list.

 

I have several reasons:

 

- The whats now page would be unreadable with search results and I don't have a clue how to arrange the results.

 

- Like a lot of users I have more than 2000 channels in my list, this list would have to be transmitted also and would things slow down.

 

- Cause of the amount of channels I have in the what's now page hundreds of entries, it's even now not very usefull means you don't really get a overview.

 

- My what's today list has about 150 kb+ of size, I don't want to put on any additional load by putting a complete channellist into it. it takes now (locally!!) about 15-20 sec to display because of the webbrowser not the webserver mind you.

Link to comment
Well except for the channellogos it sounds good.

 

I have a simple problem with the logos: It can take some time the first time you open a page, cause of the amount of channels. For each channel the logofile has to be calculated (I'm going to use the same mechanism as the DVBViewer) at least once and since in most cases the channels are needed at all at once, well you can do the math :)

 

Would it somehow be possible to cache this internally on the server (httpserver.exe) in some kind of data structure?

 

Another thing I want: Switch between full channellist and favorites only. Since this would in most cases require a complete reload of the page anyway, the best place would be in the options page, what do you think?

 

Well, you could set it up in the options page while still being able to override this option on each of the pages that uses this.

So that the dropdown on the options page( dropdown: "caption : Use channellist " items: "favourites/all") tells the wenserver what is currenlty default. Then on ex. the epg_daylist.html, the list is rendered the first time with the settings taken from the options page. This can also be overriden by inserting a dropdown as on the options page on the epg page. An onchange event should then fire a roundtrip as u mention.

 

gibman

Link to comment

Addendum:

 

What about this idea?

We kick the what's now page completely.

 

We rename the "what's today" into "What's running..." and have some kind of selection on the page "running now" or "running today" and a selection "favorites only" or "all channels" (maybe radiobuttons) we can make the selection persistent (the webserver will remember the current selection) or we could make them a preselection in the options page.

 

Would it somehow be possible to cache this internally on the server (httpserver.exe) in some kind of data structure?

Of course they are cached :) I was talking about the first time load until they where all cached.

Link to comment

OK, I wanted to put today an update online anyway, so you have your channellogos. :)

I followed your suggestion, so you have to take care of the logos path in the image tag. You can also create a "no_logo[.gif,.jpg.png]" file (maybe "no picture" or a 1 pix transparent gif) in the logo path to avoid the image not found symbol...

 

The favourite stuff is not complete, the options page and some pages have to be changed and I wanted to wait and see what else there is to do... :)

 

/lars

Link to comment

Sorry, Ive been having some trouble using the forum. Had a lot of server too busy errors.

So I waited....

 

 

I think there are only two pages needing the EPG search:

A new Search epg page with the possibility to search in all channels or only in favorites. Search in title, Subtitle, or fulltext. Category is not used by most channels and should be ommited.

 

prgOverview with the possibility to search a specific channel. Searching criteria the same as search epg.

Results would be displayed in the same manned as the complete list.

 

Yeah, this is also a way to do it. mediaportal (MP) is also using a specific page for EPG search.

 

 

- The whats now page would be unreadable with search results and I don't have a clue how to arrange the results.

I dont understand why would it be unreadable ? The results should just be arranged as the list is now ??

 

- Like a lot of users I have more than 2000 channels in my list, this list would have to be transmitted also and would things slow down.

Yeah I can see the problem. A normal way to approach this problem is by implementing some kind og page navigation feature.

 

- Cause of the amount of channels I have in the what's now page hundreds of entries, it's even now not very usefull means you don't really get a overview.

Yeah u r rite..although the logos will fix this.. LOL :)

 

/Gibman

Link to comment
Addendum:

 

What about this idea?

We kick the what's now page completely.

 

We rename the "what's today" into "What's running..." and have some kind of selection on the page "running now" or "running today" and a selection "favorites only" or "all channels" (maybe radiobuttons) we can make the selection persistent (the webserver will remember the current selection) or we could make them a preselection in the options page.

 

Yep, nice idea also. I really do miss a page where I can see what is about to run, filtering stuff away that is currently running. Maybe introduce a time textbox where the user can specify at time where programs start from.

About persisting the various choices done by the user on the GUI, u could use clientside cookies.

It would be nice to have dropdown list appear as u left it the last time u visited a page.

 

What more can I think of.

We need to have some more CSS stuff, buttons are in general quite dull to look at.

 

Also, we could use a more neat date/date time picker.

Take a load at these links:

 

http://www.mattkruse.com/javascript/calendarpopup/

http://www.javascriptkit.com/script/script...gcalendar.shtml

 

Try and google for more, they are out there.

Some are free, some are not.

 

I will post some more 2morrow from work.

 

Gibman

Link to comment
The results should just be arranged as the list is now ??

Well imagine a search with several results for one channel and this multiplied cause you searched for a common word over a bigger timescale (a week) and all channels. This a.) break the scheme the user is used (one box one channel and b.) IMHO you don't really get a overview, this kind of data should be displayed grouped (as it is done in the what's today page).

 

Oh and no paging scheme. If I see 1 of 20 pages I loose every interest of clicking me through this :) Scrolling with the mouse wheele is soo much better :)

Link to comment
Well imagine a search with several results for one channel and this multiplied cause you searched for a common word over a bigger timescale (a week) and all channels. This a.) break the scheme the user is used (one box one channel and b.) IMHO you don't really get a overview, this kind of data should be displayed grouped (as it is done in the what's today page).

Yeah I guess so :)

maybe we should look at how MP does it and other things, not copy it - only to get inspiration :)

 

Oh and no paging scheme. If I see 1 of 20 pages I loose every interest of clicking me through this B) Scrolling with the mouse wheele is soo much better ;)

Yeah paging doesnt make it easier, but it fixed the load on the server as well as the trafic problem to the client.

Another approach would be to show only the first 100 hits of a page that has generated more than 100 hits.

Ex. when a user searched with stoopid keywords like "tv".

Also notifying the user to try and redefine his or hers keywords.

 

/gibman

Link to comment

It would also be a good idea, as u said, to render a "blank.gif" from the webserver when no image was found.

 

Any comments on the date/time pickers ?

 

Gibman

Edited by gibman
Link to comment

Hello!

 

I've few ideas to reconfigure the webinterface, so here they are:

 

We rename the "what's today" into "What's running..." and have some kind of selection on the page "running now" or "running today" and a selection "favorites only" or "all channels" (maybe radiobuttons) we can make the selection persistent (the webserver will remember the current selection) or we could make them a preselection in the options page.

1. What's about renaming "what's today" or other into "start", where you can see, what's now running, the next recording, etc?

2. What's about implementing a skin-dropdownlist in the config menu, so you can change directly the skin in the webinterface? I've testet myself, but it hasn't working well as I wanted.

3. There is a point in the DVBViewer options, where you can select extended exit menu or not, but in the webinterface there is no popup or something like that where i can choose!

 

That are only few ideas of mine. It would be fine if you have a look to this.

 

Filico

 

Edit: I have also described the skin implement in this thread: http://www.DVBViewer.com/forum/index.php?a...=9&t=14467#

Edited by Filico
Link to comment

I tried the new binary, and logos work on most pages exept for "timer_new.html" and "timer_list.html" and "epg_list.html" and "epg_details.html"

 

<img src="Logos/{channellogo}" id="imgLogo">

 

It gives med an empty string in return :)

 

"epg_list.html", epg_details.html and "timer_list.html" all just need to support the {channellogo} prop.

 

Regarding "timer_new.html" and ... is a bit special...

 

Remember, as I said earlier on, that on this page the user can select another channel to record from than the current default one. The channel dropdown list, rite ?

When I change the value in the dropdown a server roundtrip is not happening.

So I can only use the {channellogo} property at initial loading.

When the dropdown has been changed, I have a clientside onchange event.

 

But I need some help from the server.

 

If u look at the rendered HTML, we have this:

...

<select name="channel" id="channel" size="1" onchange="onChannelChange(this)">

<option value="0" >DR1</option>

<option value="1" >DR2</option>

...

 

U could make sure to create some javascript code dynamically from your httpserver.exe code.

 

Like this;

 

<script>

var channelLogosArray = new Array ("dr1.gif", "dr2.png");

</script>

 

Now my onchange event handler on the clientside can use this "channelLogosArray" created dynamically by you.

 

function onChannelChange (oDropdown)

{

var oImgLogo = document.all("imgLogo")

oImgLogo.src = "Logos/" + channelLogosArray [oDropdown.selectedIndex];

}

 

do u know what I mean ?

Edited by gibman
Link to comment

The epg-list does have the channellogo assignment in the wrong place, sorry. The EPG Detail I forgot and sorry the timers add/new/edit window don't get a logo, way too much hassle for such a little effect :)

 

As for the calendarstuff: As long as this stuff really works (not like the edit stuff in this forum, which can't be used by me cause the security settings don't allow it), it's ok with me. Of course it has to be free and useable by it's license.

Link to comment
  • 1 year later...

Hi to all and sorry for my not perfect english!!

 

I've a little question... i need to stream a channel on a my web page so some user opening this page can see the channel... i've configured correctly web server and if i open the webserver page called "streaming" i can see the channel... the problem is how can i insert on my web page??

i've inserted media player active x on my page, but i don't know the correct link for the streaming!! I've try http://192.168.1.2:3335 and mms://192.168.1.2:3335 but nothing..... can someone help me????

 

 

thx a lot

orlroc

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...