Page 1 of 1
1.19.5 bugs..
Posted: Sun Sep 26, 2004 8:13 pm
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.?
Posted: Sun Sep 26, 2004 8:45 pm
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,.
Posted: Sun Sep 26, 2004 9:57 pm
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,
Posted: Sun Sep 26, 2004 10:43 pm
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.
Posted: Sun Sep 26, 2004 11:08 pm
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,
Posted: Sun Sep 26, 2004 11:31 pm
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.