1.19.5 bugs..

Support and queries relating to all previous versions of ZoneMinder
Locked
User avatar
fernando
Posts: 240
Joined: Thu Jul 10, 2003 6:00 pm

1.19.5 bugs..

Post by fernando »

i know is a beta.
in "play all" mode
1) cant deactivate the mode
2) when is set some $rate speed the

Code: Select all

<?= (((($frame_data[Duration]*1000)+1000)*($rate))/RATE_SCALE) ?>
is still the same so if you play at 4x "my faborite speed" the page will wait the same time has is normal speed.

i trie to solve this by using this

Code: Select all

<?= ((((($frame_data[Duration]*1000)+1000)*($rate))/RATE_SCALE)/(($rate)/100))) ?>
but dont work... iam a php noob i know.... but why this dont work.?
Fernando
User avatar
fernando
Posts: 240
Joined: Thu Jul 10, 2003 6:00 pm

Post by fernando »

well the code above works but the problem was this.
the faster you see the event the time you have to wait for the next time is multiply by the x rate "2x, 4x, etc.." .
so the abobe code keep the original time allways by dividing the xrate again..


i dont know is someone understand me.. my english is getting worse day by day,. :?
Fernando
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Hi Fernando,

I think I understand what you are saying. Basically the division was the wrong way round. I've fixed it and reuploaded it so it should be ok now.

I must stress though that the 'play all' feature is very much experimental and quite possible broken and unworkable in several ways. The timing of the replays is a bit hit and miss at best.

All in all I'm not sure that it's the best solution but I put it in at the last minute just as something for people to look at. Personally I prefer just hitting 'next' etc and I suspect a good solution won't arrive until the full Java event browser does.

Phil,
User avatar
fernando
Posts: 240
Joined: Thu Jul 10, 2003 6:00 pm

Post by fernando »

yes.. i think you will put the function directly to zmc . i know is dificult to solve.
the problem using this is the timing in html will be diferent if you use a slow conection where the frames goes slowly.
Fernando
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Putting streaming of several events into the streaming daemon is actually easier than how it is done now. However then there is no opportunity for deleting unwanted events or navigating between events at all. You'd just get a video stream of events one after the other with no opportunity to do anything in the meantime.

Phil,
User avatar
fernando
Posts: 240
Joined: Thu Jul 10, 2003 6:00 pm

Post by fernando »

know.. that will be the problem. but will be the step so you can use mpg stream..

then may be add a watermark with the event name. so you can identify it.
Fernando
Locked