Ubuntu 14.04.3 can't export video

Forum for questions and support relating to the 1.28.x releases only.
Locked
Mad Professor
Posts: 106
Joined: Wed Dec 15, 2010 11:20 am
Location: Isle Of Wight, UK

Ubuntu 14.04.3 can't export video

Post by Mad Professor »

Hi All.

I have been trying to export some event videos from my Ubuntu 14.04.3 server, I get the following message "Video Generation Failed!".

Looking at the ZoneMinder log it says "Unable to generate video, check /usr/share/zoneminder/events/1/15/09/30/17/50/00/ffmpeg.log for details" this file does not exist.

After doing some research it seems that that Ubuntu 14.04 no longer has ffmpeg.

I tried to manually install ffmpeg via apt-get, and I get the following:

apt-get install ffmpeg
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package ffmpeg is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Can you please advice me how to go about installing ffmpeg so that I can export the event videos.

Thanks for your time.

Best Regards.
User avatar
knight-of-ni
Posts: 2404
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Ubuntu 14.04.3 can't export video

Post by knight-of-ni »

Ubuntu ships with libav, rather than ffmpeg because that is what Debian based distros decided to do.

The good news is that I hear rumors they have come back to their senses. I'd expect libav to be replaced by ffmpeg again in the future. I don't know how long this will take though.

In the meantime, the simplest solution is to just change PATH_FFMPEG under options to point to the avconv binary, rather than ffmpeg.
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