diff --git a/scripts/ZoneMinder/lib/ZoneMinder/Event.pm b/scripts/ZoneMinder/lib/ZoneMinder/Event.pm index d616d893f..80f2859af 100644 --- a/scripts/ZoneMinder/lib/ZoneMinder/Event.pm +++ b/scripts/ZoneMinder/lib/ZoneMinder/Event.pm @@ -195,8 +195,8 @@ sub GenerateVideo { $frame_rate = $fps; } - my $width = $self->{MonitorWidth}; - my $height = $self->{MonitorHeight}; + my $width = $self->{Width}; + my $height = $self->{Height}; my $video_size = " ${width}x${height}"; if ( $scale ) { diff --git a/scripts/zmvideo.pl.in b/scripts/zmvideo.pl.in index 788ecde87..1f1b33acc 100644 --- a/scripts/zmvideo.pl.in +++ b/scripts/zmvideo.pl.in @@ -197,8 +197,6 @@ my $sql = " SELECT (SELECT max(Delta) FROM Frames WHERE EventId=Events.Id)-(SELE Events.*, unix_timestamp(Events.StartTime) as Time, M.Name as MonitorName, - M.Width as MonitorWidth, - M.Height as MonitorHeight, M.Palette FROM Events INNER JOIN Monitors as M on Events.MonitorId = M.Id