zoneminder_1.23.3-2_i386.deb FFMPEG SUPPORT!! REALLY!!!

If you've made a patch to quick fix a bug or to add a new feature not yet in the main tree then post it here so others can try it out.
PeterHoward
Posts: 319
Joined: Thu Jul 20, 2006 1:07 am
Location: Australia

zoneminder_1.23.3-2_i386.deb FFMPEG SUPPORT!! REALLY!!!

Post by PeterHoward »

This time for sure!!!

I need some testers for this. I've got things working for me, including video export, but I've had things work for me and noone else before . . . so those of you who have been asking about it, please try it and let me know.

The package is Ubuntu gutsy/hardy - ftp://ftp.northern-ridge.com.au/zonemin ... 2_i386.deb - If there are any debian sid people out there who want to try it, let me know and I'll provide the equivalent debian package.

The one change I know you need to make after installing is on the "Images" tab of the options page. Change ZM_PATH_FFMPEG to /usr/bin/ffmpeg (rather than the /usr/local/bin/ffmpeg it starts as)

Once I know it's working for others, I'll release a -3 with some other bits fixed as the "real" release (which will go in the debian repo as well)

PJH
foreverg
Posts: 25
Joined: Fri Jul 04, 2008 4:16 pm

Post by foreverg »

great peter!

I'm testing it on x86 plattform.. Is a 64bit version scheduled? :)
User avatar
Lee Sharp
Posts: 1069
Joined: Sat Mar 31, 2007 9:18 pm
Location: Houston, TX

Post by Lee Sharp »

foreverg wrote:great peter!

I'm testing it on x86 plattform.. Is a 64bit version scheduled? :)
Me too. To both statements. :)
Ternitzer
Posts: 14
Joined: Sat Dec 02, 2006 10:20 pm

Post by Ternitzer »

Peter,

I just installed your deb file. So far it's working great. Here is my setup:

Ubuntu 8.04 Server
loaded LAMP and OpenSSH during installation

after installation ran

Code: Select all

sudo apt-get update
sudo apt-get upgrade
downloaded your debfile and ran

Code: Select all

sudo dpkg -i zoneminder_1.23.3-2_i386.deb
got dependency errors and ran

Code: Select all

sudo apt-get install -f
which resolved dependencies and finished the installation.
After that I ran

Code: Select all

sudo ln -s /etc/zm/apache.conf /etc/apache2/conf.d/zoneminder.conf
followed by

Code: Select all

sudo /etc/init.d/apache2 reload 
last i changed the option ZM_PATH_FFMPEG to /usr/bin/ffmpeg

Done and working

So far I enabled webcam support and linked to another Zoneminder. So far everything is working great. That was my fastest installation yet (less than 10 min).
Thanks!
User avatar
kingofkya
Posts: 1110
Joined: Mon Mar 26, 2007 6:07 am
Location: Las Vegas, Nevada

Post by kingofkya »

Many thanks Peter

Downloading now
User avatar
kingofkya
Posts: 1110
Joined: Mon Mar 26, 2007 6:07 am
Location: Las Vegas, Nevada

Post by kingofkya »

Two bugs found

if the mythbuntue version of ffmpeg is installed it fails

also if deep filesystem hierarchy is on live mpeg streams and video creation fail(may be zm bug)
PeterHoward
Posts: 319
Joined: Thu Jul 20, 2006 1:07 am
Location: Australia

Post by PeterHoward »

kingofkya wrote:Two bugs found

if the mythbuntue version of ffmpeg is installed it fails
Hmmmm. . . not sure what I can do about that one.
also if deep filesystem hierarchy is on live mpeg streams and video creation fail(may be zm bug)
Can you give me some more error information for that one?

Thanks for the feedback.

PJH
PeterHoward
Posts: 319
Joined: Thu Jul 20, 2006 1:07 am
Location: Australia

Post by PeterHoward »

Lee Sharp wrote:
foreverg wrote:great peter!

I'm testing it on x86 plattform.. Is a 64bit version scheduled? :)
Me too. To both statements. :)
I have a major deadline at work for Sep 12. I won't be thinking about that much else between now and then. After that . . . I think I'll take you up (Lee) on your offer of some space on a 64-bit install. . .I had been hoping to do a reinstall of my server and take it from 32 to 64 bit in the second half of Sep but I'm not sure I'll have the time now.

PJH
User avatar
kingofkya
Posts: 1110
Joined: Mon Mar 26, 2007 6:07 am
Location: Las Vegas, Nevada

Post by kingofkya »

Yeah te first one is my mistake the mythbuntue ffmpeg just needed to be reinstalled same as normal ffmpeg just has extra codecs that are perhaps not so legal or flaky at that

the other one not a problem for me just an fyi
nachbar
Posts: 5
Joined: Tue May 15, 2007 4:03 am

Unable to create mpeg videos from event images

Post by nachbar »

I installed the .deb on Ubuntu 8.04 server with no problems.

I am having the problem documented in this thread:
http://www.zoneminder.com/forums/viewtopic.php?t=11036
in that I cannot stream if ZM_AUTH_RELAY is set to hashed.

It does work if ZM_AUTH_RELAY is set to plain or none.

A more important issue may be that I do not get the "Video" link in the Event view window, and so I do not have any way to create an mpeg from the images in the event.

Other than that, everything seems to be working great.

Thanks for putting together this .deb!!
User avatar
Lee Sharp
Posts: 1069
Joined: Sat Mar 31, 2007 9:18 pm
Location: Houston, TX

Post by Lee Sharp »

PeterHoward wrote:I have a major deadline at work for Sep 12. I won't be thinking about that much else between now and then. After that . . . I think I'll take you up (Lee) on your offer of some space on a 64-bit install. . .I had been hoping to do a reinstall of my server and take it from 32 to 64 bit in the second half of Sep but I'm not sure I'll have the time now.
You would say that now that my 64 bit server has been "realigned..." :) If you need it, I will see if I can find one.

As an aside, I have been running the new version on 3 systems with no problems. Nice job!
foreverg
Posts: 25
Joined: Fri Jul 04, 2008 4:16 pm

Post by foreverg »

any news about the 64bit debs? ;)
recidivo
Posts: 14
Joined: Sat Sep 25, 2004 7:42 pm

Post by recidivo »

I tried your deb, It' s working well

http://www.zoneminder.com/forums/viewtopic.php?t=12261


without changing ffmpeg path...
User avatar
Lee Sharp
Posts: 1069
Joined: Sat Mar 31, 2007 9:18 pm
Location: Houston, TX

Post by Lee Sharp »

foreverg wrote:any news about the 64bit debs? ;)
I will be a while before I have a build environment that I can loan you. (Or anything for that matter) No power to my office, or 61% of the city.
PeterHoward
Posts: 319
Joined: Thu Jul 20, 2006 1:07 am
Location: Australia

Re: Unable to create mpeg videos from event images

Post by PeterHoward »

nachbar wrote:I installed the .deb on Ubuntu 8.04 server with no problems.

I am having the problem documented in this thread:
http://www.zoneminder.com/forums/viewtopic.php?t=11036
in that I cannot stream if ZM_AUTH_RELAY is set to hashed.

It does work if ZM_AUTH_RELAY is set to plain or none.
Sadly, that's life using gnutls at the moment (I'm not saying it's a problem with gnutls; but using it with zoneminder has issues which I haven't gotten around to looking at :-( ).

A more important issue may be that I do not get the "Video" link in the Event view window, and so I do not have any way to create an mpeg from the images in the event.
Hmmmm. In the "Images" tab on the "options" window have you changed ZM_OPT_MPEG from "none" to "ffmpeg"? Assuming you changed ZM_PATH_FFMPEG as described above, I can't think of anything else.

PJH
Post Reply