Page 1 of 1
Video looks normal, but saved videos are stretced / wide
Posted: Thu Mar 01, 2018 11:02 pm
by joseph85750
I just installed 1.3.40 on Ubuntu server. Everything working great, but when I have an event and save it as a video, the resulting video looks stretched wide no matter which format I export to.
Setting somewhere I missed?
Re: Video looks normal, but saved videos are stretced / wide
Posted: Fri Mar 02, 2018 12:08 am
by bbunge
1.30.4
How do the JPG's look? Does the stream look strange if you play back an event?
Re: Video looks normal, but saved videos are stretced / wide
Posted: Fri Mar 02, 2018 1:02 am
by joseph85750
No, event playback looks normal; no stretching.
Re: Video looks normal, but saved videos are stretced / wide
Posted: Fri Mar 02, 2018 12:58 pm
by joseph85750
I dug into this a bit more and analyzed the images and video from the Zoneminder server itself. For a particular event, the following directory with the images and video was created:
Code: Select all
/var/cache/zoneminder/events/West/18/03/01/12/04/19
In there, I have 155 JPGs and 1 AVI:
Code: Select all
00001-capture.jpg
..
..
00114-capture.jpg
Also, a bunch of 'analyse' files:
Code: Select all
00026-analyse.jpg
..
..
00089-analyse.jpg
All the JPG files have the correct dimensions:
Code: Select all
$ file 00104-capture.jpg
00104-capture.jpg: JPEG image data, JFIF standard 1.01, aspect ratio, density 1x1, segment length 16, baseline, precision 8, 480x640, frames 3
$
Code: Select all
$ file 00082-analyse.jpg
00082-analyse.jpg: JPEG image data, JFIF standard 1.01, aspect ratio, density 1x1, segment length 16, baseline, precision 8, 480x640, frames 3
$
But the avi is flipped:
Code: Select all
$ file Event-52-r1-s1.avi
Event-52-r1-s1.avi: RIFF (little-endian) data, AVI, 640 x 480, 25.00 fps, video: FFMpeg MPEG-4
$
And I think I know why. For this camera, I have Zoneminder configured to rotate the camera 90 degrees, because of the view I need.
Perhaps the video creation process doesn't know how to deal with this?
Re: Video looks normal, but saved videos are stretced / wide
Posted: Tue Mar 06, 2018 9:58 pm
by joseph85750
How long before I could/should file a bug report?
Re: Video looks normal, but saved videos are stretced / wide
Posted: Wed Mar 07, 2018 1:44 am
by iconnor
Sounds to me like this is an actual bug. File away!