Video looks normal, but saved videos are stretced / wide

Forum for questions and support relating to the 1.30.x releases only.
Locked
User avatar
joseph85750
Posts: 38
Joined: Mon Aug 05, 2013 3:32 pm

Video looks normal, but saved videos are stretced / wide

Post 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?
bbunge
Posts: 2934
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Video looks normal, but saved videos are stretced / wide

Post by bbunge »

1.30.4

How do the JPG's look? Does the stream look strange if you play back an event?
User avatar
joseph85750
Posts: 38
Joined: Mon Aug 05, 2013 3:32 pm

Re: Video looks normal, but saved videos are stretced / wide

Post by joseph85750 »

No, event playback looks normal; no stretching.
User avatar
joseph85750
Posts: 38
Joined: Mon Aug 05, 2013 3:32 pm

Re: Video looks normal, but saved videos are stretced / wide

Post 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?
User avatar
joseph85750
Posts: 38
Joined: Mon Aug 05, 2013 3:32 pm

Re: Video looks normal, but saved videos are stretced / wide

Post by joseph85750 »

How long before I could/should file a bug report?
User avatar
iconnor
Posts: 2903
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Video looks normal, but saved videos are stretced / wide

Post by iconnor »

Sounds to me like this is an actual bug. File away!
Locked