Event playback too fast

Forum for questions and support relating to the 1.28.x releases only.
Locked
river100
Posts: 145
Joined: Sun Oct 07, 2007 5:52 pm
Location: Louisiana

Event playback too fast

Post by river100 »

I've tried ubuntu, server and desktop, using ZM from the repos and iconner ppa.

everything works great and I do love the changes from all the hard work but the one
show stopper is when using mpeg streaming with event playback. It runs about 10 Xs too
fast.
I set it for asf since I have never gotten swf to work well and asf will jump to full screen.
I've searched and found 2 references to the same problem. one posted today on github.
the topic was :
____________________________________________________
MPEG stream running too fast #676

When streaming a recorded event (using type=mpeg), the stream goes too fast, regardless the video encoding used (asf, avi, etc.).

Line 1457 of zm_event.cpp must be changed from:
if ( send_frame && type != STREAM_MPEG )
to
if ( send_frame)
I did it, and the stream now runs as expected.
_________________________________________________________________

I can't do much with it since I can't find zm_event.cpp

The vers are
ubuntu 14.04.1 LTS desktop / iconner PPA vers 1.28.0
ubuntu 14.04.1 LTS server / iconner PPA vers 1.28.0
ubuntu 14.04.1 LTS server / repo vers 1.26.4

I'm using an H264 streaming Dahua of which I have over 30 of them
on ubuntu 11.10 with 1.25.0 on various servers doing fine with event playback.

Does anyone have to FIX for this ??
Thanks
river100
Posts: 145
Joined: Sun Oct 07, 2007 5:52 pm
Location: Louisiana

Re: Event playback too fast

Post by river100 »

Not sure why there are not any posts about this problem.
With the large file size of todays IP cams it doesn't make
sense to stream jpeg files when you can set the stream
rate when using asf / mpeg. Installing with the ppa from github
always gave me the approx' 10Xs play back on events.

After digging into the option page I still couldn't get the
events to playback stream to play in real time when using
asf / mpeg.

I decided to build the package from source so that I could
make the changes to zm_event.cpp mentioned by a person
on github.

Tried it both ways, one with no changes, and then with the
change to the zm_event.cpp file.

After the change the events play back in real time.

Used Ubuntu 12.04 LTS 64bit Desktop
Locked