Page 1 of 1

Default Playback Speed

Posted: Mon Dec 29, 2003 8:34 pm
by tony
Is it possible to change the default playback speed? It would make checking a lot of clips easier if I could see them quickly and play any suspicious ones back at the correct speed.

If there is not a default can anyone identify the code that I need to change to speed up the playback that is used when the video window is viewed?

I am using ZM v 9.16

Thanks

Tony

Re: Default Playback Speed

Posted: Wed Dec 31, 2003 2:16 pm
by zoneminder
Hi Tony,

Do you mean playback via streams or via generated MPEG?

If it's the former you can edit zm_html_view_event.php and go to about line 30 where you will see the following code

if ( !isset( $rate ) )
$rate = 1;
if ( !isset( $scale ) )
$scale = 1;

If you change $rate = 1 to $rate = 2 or another value it will replay at that rate. Changing it to $rate = 0 will replay as fast as possible. However bear in mind that this is still limited by bandwidth so on a fast connection it will fly by but over a dial-up it may be slower than realtime. Reducing the size by half by changing $scale = 1 to $scale = -2 will also help speed things up.

Cheers,

Phil,