Fedora 17 and ffmpeg libraries problem

Forum for questions and support relating to the 1.25.x releases only.
Locked
eeyore
Posts: 4
Joined: Wed Aug 22, 2012 12:33 pm

Fedora 17 and ffmpeg libraries problem

Post by eeyore »

Hi,

I installed Zoneminder 1.25 to Fedora 17 and there has been several problems. Many of those I solved but this is making me crazy. I am trying to get connected to Vivotek network cam but there is no picture. ZM system log says "You must have ffmpeg libraries installed to use remote camera protocol 'rtsp' for monitor 1".

Code: Select all

ffmpeg version 0.10.4
  libavutil      51. 35.100 / 51. 35.100
  libavcodec     53. 61.100 / 53. 61.100
  libavformat    53. 32.100 / 53. 32.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 61.100 /  2. 61.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  6.100 /  0.  6.100
  libpostproc    52.  0.100 / 52.  0.100
Any ideas what is wrong with this?
Carrier82
Posts: 96
Joined: Sat Jul 28, 2012 8:30 pm

Re: Fedora 17 and ffmpeg libraries problem

Post by Carrier82 »

This might be a stupid basic question, but do you have OPT_FFMPEG enabled in options / image tab?
eeyore
Posts: 4
Joined: Wed Aug 22, 2012 12:33 pm

Re: Fedora 17 and ffmpeg libraries problem

Post by eeyore »

It is enabled and path is /usr/bin/ffmpeg
eeyore
Posts: 4
Joined: Wed Aug 22, 2012 12:33 pm

Re: Fedora 17 and ffmpeg libraries problem

Post by eeyore »

Btw, I installed ffmpeg after ZM installation. Does it matter?
User avatar
knight-of-ni
Posts: 2406
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Fedora 17 and ffmpeg libraries problem

Post by knight-of-ni »

Yes. It matters.
Did you compile zoneminder from source?
Zoneminder's .configure detects the presence of ffmpeg. If it does not find it, then zoneminder will not compile with ffmpeg support.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
eeyore
Posts: 4
Joined: Wed Aug 22, 2012 12:33 pm

Re: Fedora 17 and ffmpeg libraries problem

Post by eeyore »

No I did not, I followed the instructions from here http://www.zoneminder.com/wiki/index.php/Fedora

I would be grateful to get information how to complain it from source.
User avatar
knight-of-ni
Posts: 2406
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Fedora 17 and ffmpeg libraries problem

Post by knight-of-ni »

There are two bits of information that lead to me believe that the Fedora Zoneminder rpm package developer did not include ffmpeg support:

- Executing "yum install zoneminder" should have automatically installed ffmpeg as a dependency for you.

- Looking at the rpm spec file used to build the package, there is mention of a "zoneminder-1.25.0-noffmpeg.patch". There is a comment associated with this patch at the end of the spec file:
* Sat Apr 11 2009 Martin Ebourne <martin@zepler.org> - 1.24.1-2
- Added noffmpeg patch to make building outside mock easier
You could try to contact Martin for clarification.
You could try to compile zoneminder yourself from source.
Lastly, you could try to rebuild the rpm source file I've got here, but it was created for CentOS:
http://www.zoneminder.com/forums/viewto ... =9&t=19119

If you are lucky, the following command will create an rpm that will work on your system and off you go:

Code: Select all

rpmbuild --rebuild zoneminder-1.25.0svn3639-1.el6.src.rpm
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
Locked