Your Universal Remote Control Center
RemoteCentral.com
Philips Pronto Professional Forum - View Post
Previous section Next section Previous page Next page Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Page 2 of 8
Topic:
Denon DVD/Bluray Prontoscript Library (project abandoned)
This thread has 116 replies. Displaying posts 16 through 30.
OP | Post 16 made on Tuesday January 19, 2010 at 20:18
sWORDs
Long Time Member
Joined:
Posts:
November 2006
373
On January 19, 2010 at 16:53, lscolman2 said...
Hi,

I have a Denon 2809 receiver which is configured for RS232. You make reference to receiver in your original post. Is there any benefit in me using your module, even if I haven't got a Bluray or DVD player?

Sorry if I've got the wrong end of the stick...

Cheers, Lee

The standalone receiver module will be done later.
Post 17 made on Saturday January 23, 2010 at 05:26
HCFreak
Long Time Member
Joined:
Posts:
January 2010
16
This is a great module (currently ver. 1.31) that works great with my 2500BT and my AVC-A1 HD.

It is also very fast, only limited by the slow responses the 2500BT always has.

I am really looking forward to 1.39 and its new GUI.
OP | Post 18 made on Saturday January 23, 2010 at 09:16
sWORDs
Long Time Member
Joined:
Posts:
November 2006
373
Guys,

I got a few questions that might be interesting to others, so here is my reply:

I’ve heard two people that have to hold the button for halve a second, maybe it’s a BD thing, because on my DVD I don’t have this problem. The only thing I can do is remove the forced screen update that locks the remote for a few ms, however this will cause a small delay between the poll and displaying of the result so the time might be 1 second later on the display of the player then on the remote. Now it’s mostly at the same time, it’s only a second later when your polling the player on for example 01h30m03s900ms. When polling at 01h30m03s000ms -01h30m03s800ms the time is right.

The player is quite slow, I ment that using my module should be nearly just as fast as operating normally (IR). The actual code runs within 1ms. The rest of the delays are caused by waiting, TSU, RFX, RS232 and network delay.

It's roughly like this (My debug module logs the time in ms):

Building the command <1ms
Network delay <20ms
RS232 command send >40ms
Player starts executing command >20ms (the actual executing takes more time)
Player sends reply >40ms
RS232 reply send >40ms
Network delay <20ms
Parsing the reply <1ms
ScreenUpdate <4ms
Waiting to execute next command 250 – sum of above

All my actual code runs in less then 1ms. The rest is waiting, network delay and rs232 delay, and player delay. I can only improve the waiting. If I make the scheduling dynamic the commandrate per second will increase from 4 (250ms) to 5(200ms)-6(166ms). If I can manage to send a command while the player is giving an answer it could be increased to 10(100ms)-12(83ms). I'm just not sure if the player will accept commands while it's replying to the previous command, this is something I need to test when 1.39 is send out.
Please note that when using multiple remotes the commandrate will be even lower, 50% for two, 33% for three, etc.

The actual executing of the player after receiving a command is something I can't do anything about.

IP control will be an extra option, so it will not replace rs232.
IP control is very nice, the average response time is around 10ms when using only one remote, which is equal to my ping time from pc to remote. So it's roughly 18 times faster then using rs232. Also there is no need to poll every second, all changes will be send back. So that’s 1 more command per second free. However the actual executing part of the player is equal to rs232.
And when using multiple remotes the socket needs to be closed, reopened and a poll needs to be executed. Then it probably will only be 2 times faster then RS232 single remote, and 4 times faster then rs232 with two remotes.

The reason why a Denon Receiver and Player on the same rs232 extender won’t be supported is because an extender can do only one thing at a time. So let’s show what would happen:

Polling DVD status 166ms
Polling Receiver Volume 166ms
Polling Receiver Input 166ms
Polling Receiver Surround Mode 166ms
Polling Receiver Mute 166ms
Polling Receiver Power 166ms

Sum of above = 996ms. So the actual commandrate left for sending command would be 0.

Actually I’m thinking of dropping receiver rs232. There is almost no point in using it, you would need a dedicated extender and even then it will be slow as hell. Besides that I’m hoping that everyone that has the money for a TSU also has a AVR4306, AVR3808 or higher.

Last edited by sWORDs on January 23, 2010 09:34.
Post 19 made on Saturday January 23, 2010 at 10:57
lscolman2
Long Time Member
Joined:
Posts:
July 2003
216
Hi sWORDs,

I wonder if you would reconsider doing the RS232 for the receiver. I have a Denon 2809 (RS232 only), as I feel you really don't get that much extra for your money with the higher end Denon receivers.

Cheers, Lee
OP | Post 20 made on Saturday January 23, 2010 at 13:33
sWORDs
Long Time Member
Joined:
Posts:
November 2006
373
Guys,

I've found a great trick, 1.39 now has a successfull commandrate of 100 commands per second (that's 25x 1.31). I'm not sure if everyones network is as fast as mine (330 MHz accespoint, 2200 MHz router, high end managed switches, cat6 ftp) so I'll lower it to 50 commands per seconds by default, but I'll make a parameter for it.

I couldn't stand being slower then ir with multiple commands so I took 4 extra hours, this probably means 1.39 isn't done sunday, but I'll try to make it.

Last edited by sWORDs on January 23, 2010 13:53.
OP | Post 21 made on Saturday January 23, 2010 at 13:45
sWORDs
Long Time Member
Joined:
Posts:
November 2006
373
On January 23, 2010 at 10:57, lscolman2 said...
Hi sWORDs,

I wonder if you would reconsider doing the RS232 for the receiver. I have a Denon 2809 (RS232 only), as I feel you really don't get that much extra for your money with the higher end Denon receivers.

Cheers, Lee

I'll have a look at rs232 with the receiver, but if it doesn't work well I'll drop it.

About the higher end receivers, they're well worth it. And if it's out of the budget just wait 6 months, my 4306 was €2000 at start, but I've seen it in shops later for €1130.
OP | Post 22 made on Sunday January 24, 2010 at 06:41
sWORDs
Long Time Member
Joined:
Posts:
November 2006
373
On January 23, 2010 at 13:33, sWORDs said...
Guys,

I've found a great trick, 1.39 now has a successfull commandrate of 100 commands per second (that's 25x 1.31). I'm not sure if everyones network is as fast as mine (330 MHz accespoint, 2200 MHz router, high end managed switches, cat6 ftp) so I'll lower it to 50 commands per seconds by default, but I'll make a parameter for it.

I couldn't stand being slower then ir with multiple commands so I took 4 extra hours, this probably means 1.39 isn't done sunday, but I'll try to make it.

There where three things that didn't work well with the high commandrate, so I added a delay behind those commands:
Poll and Skip up - 200ms
Skip down - 1000ms

Now when I'm on track one and press Skip up seven times it goes to track eight.
If I'm on track eight and press Skip down eight (one to go back to the beginning of track eight) times it goes to track one. This timing might be different on others players, but let's see how these settings work for everyone.
OP | Post 23 made on Sunday January 24, 2010 at 09:20
sWORDs
Long Time Member
Joined:
Posts:
November 2006
373
1.39 send out:
GUI update (as the pictures in the first post)
Few extra Receiver TCP/IP commands (direct select volumes, put input on DVD)
Added player Title/Track direct select (see keypad in the first post)
Fixed undefined for audio channel when disc loading
Fixed sending some commands (bug in Block Check)
Pre added extenders 0 to F as RFX9600
Complete redesigned sending command to get a higher commandrate
Added catching of network and settings errors.

There are three commands that are different then the rest:
Poll, Skip up and Skip down. I’ve set the correct delays for my player. If you need to change them try to find a setting that works for all disctypes. Also please mention your settings in the topic with your playertype and network delay (ping the ip of the remote).

If you didn't receive it, RC mail or email me.

Last edited by sWORDs on January 24, 2010 10:01.
Post 24 made on Monday January 25, 2010 at 16:04
Spaceman
Founding Member
Joined:
Posts:
October 2001
58
I have tested v1.39 now. Denon receiver volume works great.
Button response is much better now, but after several button presses the module is locked, or at least apears to be locked.
Going to the homepage and then back to the module it works again.

Also Audio+/- and Subtitlr+/- does not work on DVD2500(blueray).
The codes that work on this player is:
Audio + 02 49 2B 2B 00 00 00 03 41 32
Audio - 02 49 2D 2B 00 00 00 03 41 34
Subtitle + 02 4A 2B 31 00 00 00 03 41 39
Subtille - 02 4A 2D 31 00 00 00 03 41 42

Thanks for the good work!
Regards
Jesper
OP | Post 25 made on Monday January 25, 2010 at 17:23
sWORDs
Long Time Member
Joined:
Posts:
November 2006
373
On January 25, 2010 at 16:04, Spaceman said...
I have tested v1.39 now. Denon receiver volume works great.
Button response is much better now, but after several button presses the module is locked, or at least apears to be locked.
Going to the homepage and then back to the module it works again.

Also Audio+/- and Subtitlr+/- does not work on DVD2500(blueray).
The codes that work on this player is:
Audio + 02 49 2B 2B 00 00 00 03 41 32
Audio - 02 49 2D 2B 00 00 00 03 41 34
Subtitle + 02 4A 2B 31 00 00 00 03 41 39
Subtille - 02 4A 2D 31 00 00 00 03 41 42

Thanks for the good work!
Regards
Jesper

I already use that:
BD Audio+ \x49\x2b\x2b\x00\x00\x00
BD Audio- \x49\x2d\x2b\x00\x00\x00
BD Sub+ \x4A\x2b\x31\x00\x00\x00
BD Sub- \x4A\x2d\x31\x00\x00\x00

I'll make a debug version for it this weekend. I need to push 1.40 back anyway, still no BD player to test with, let alone a IP BD player. Might be a uppercase/lowercase hex problem. However I see that I've used lower and higher for DVD aswell and those work. I'll send you a version with only uppercase (\x2b->\x2B).

As for the module stopping, set the general delay from 20 to 200 and check again. It might be because of timing issues or a broken command on bluray, as I don't own one I can't test it. As you can see in the youtube movie from the startpost it runs great on a DVD3910.

Last edited by sWORDs on January 25, 2010 18:17.
Post 26 made on Monday January 25, 2010 at 23:13
cweb
Long Time Member
Joined:
Posts:
October 2004
33
Looks nice on my TSU9400, however I get a "object not loaded" message. Is there anything special one has to do to add the library?
OP | Post 27 made on Tuesday January 26, 2010 at 06:12
sWORDs
Long Time Member
Joined:
Posts:
November 2006
373
On January 25, 2010 at 23:13, cweb said...
Looks nice on my TSU9400, however I get a "object not loaded" message. Is there anything special one has to do to add the library?

Object not loaded.

Possible causes:

1) Unknown serialnumber

2) Library not added

If you can't find the error mail

the author [my email]



I guess that's the message. Did you try the original module or did you integrate it in your own project?
If it's the original then probably your serial isn't correct, make a picture of your Settings->Info screen on your remote and mail it to me.
If it's not the original check if you added the Prontoscript Library from Building Blocks->ProntoScript Libraries->DenonPlayer (v1.39) to the Activity Properties->PS Libraries and if it's checked.

Also some people have had strange problems when using older firmware. Please check that your have ProntoEdit Professional 2.4.18, TSU and RFX 7.2.22 (16 dec 2009).

Best way to integrate is dragging the DenonPlayer Activity from the sample module to Building Blocks->ProntoScript Modules then open your project and drag it to Project Overview and change what ever you want.

Last edited by sWORDs on January 26, 2010 07:00.
Post 28 made on Tuesday January 26, 2010 at 07:11
HCFreak
Long Time Member
Joined:
Posts:
January 2010
16
I also have the locking problem. I'll test with increased delay.

Besides that it's a great module!
OP | Post 29 made on Tuesday January 26, 2010 at 09:25
sWORDs
Long Time Member
Joined:
Posts:
November 2006
373
If it still locks up with increased delay, try to see if it locks up when only using play, stop and pause. If it doesn't anymore try to find the command that locks it up.

If it doesn't lockup with a general delay of 200, try 100, then try 50, then try 40. And please ping the ip of your TSU and post the ping time, playertype, tsu type and working delay.

If everything works fine I'd like to know from the BD player users which skip up and skip down delays work for skip up and skip down for all disctypes (CD,DVD and BD).  You need to do more then six steps to check it, so go from track 1 to 9 with 8x up and from 9 to 2 with 8x down. If the delay is to low you'll see the player only doing 3 or less, if it's to high it will go only one or two tracks back. I'm hoping to find delays that work for all players and all disctypes.

Actually they aren't delays, it just the time until the next command is executed, so raising the delays won't delay the controlpanel, all it does is lower the number of commands send to the player every second.

If everyone with BD keeps having lockups, I'll go back to the previous method where every command's reply was checked.

I really need a BD player to test with.

Last edited by sWORDs on January 26, 2010 09:43.
Post 30 made on Tuesday January 26, 2010 at 10:09
HCFreak
Long Time Member
Joined:
Posts:
January 2010
16
It still locks up with 200 general delay, also when only using play, stop and pause.
Find in this thread:
Page 2 of 8


Jump to


Protected Feature Before you can reply to a message...
You must first register for a Remote Central user account - it's fast and free! Or, if you already have an account, please login now.

Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our Marketplace. For information on how to advertise your service or product click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.

Hosting Services by ipHouse