No video mpeg file output

Support and queries relating to all previous versions of ZoneMinder
Locked
bkortleven
Posts: 15
Joined: Sun May 14, 2006 10:33 pm

No video mpeg file output

Post by bkortleven »

I've recently installed a fresh FC4 and installed the ffmpeg libs and utils from rpmfind.net from the sourceforge rpm's.
When I try to export using ffmpeg, I get:

Input #0, image, from '%03d-capture.jpg':
Duration: 00:00:21.3, bitrate: N/A
Stream #0.0: Video: rawvideo, yuvj420p, 320x240, 22.40 fps
/usr/local/bin/ffmpeg: symbol lookup error: /usr/local/bin/ffmpeg: undefined symbol: av_alloc_format_context


in my /var/www/html/events/.../ffmpeg.log logfile.
When I set config to mpeg_encode (which was installed in the same way, through rpms from rpmfind.net), this special logfile is empty, and my /var/log/messages says:

May 15 00:27:56 zoneminder zma_m1[3192]: INF [Door: 25000 - Processing at 22.73 fps]
May 15 00:28:08 zoneminder zmvideo[4205]: INF [Creating video file Event-104-r1-s1.mpg for event 104]
May 15 00:28:08 zoneminder zmvideo[4205]: INF [/usr/local/bin/mpeg_encode Event-104.mpe >mpeg_encode.log]
May 15 00:28:08 zoneminder zmvideo[4205]: FAT [Error: 127]


but the mpeg_encode.log stays empty


Anyone ever experienced this, and knows where to look?

Thanks!
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

it looks like your using mpeg_encode not ffmpeg what are your options set to?
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
mg
Posts: 6
Joined: Wed May 10, 2006 2:19 pm

Post by mg »

Are the path (check images tab) to ffmpeg correct. (On my FC5 it is located in: /usr/bin/ffmpeg - so I had to change it).

Have you installed ffmpeg and ffmpeg-devel before running ./configure?
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

May 15 00:28:08 zoneminder zmvideo[4205]: INF [/usr/local/bin/mpeg_encode Event-104.mpe >mpeg_encode.log]
its just that this line from his post doesnt look like an ffmpeg command to me?
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
bkortleven
Posts: 15
Joined: Sun May 14, 2006 10:33 pm

Post by bkortleven »

thanks guys
Indeed the path was set wrongly
I corrected, and everything works like a charm

Great stuff, this soft!!!
I will be going from 1 cam to 3 or 4 reaaaally soon :d:d

Thanks again!
henrik1409
Posts: 1
Joined: Wed Jun 25, 2008 7:01 pm

Same error using FFMPEG on SUSE Enterprise 10.X

Post by henrik1409 »

Spend a couple of hours figuring this one out and since the solution wasn't online (and this thread came the closest) i'll just post it here...

I installed the following sourceforge packages (in this order!):
1. libffmpeg0.4.8 0.4.8-1mdk
2. libffmpeg0 0.4.9-0.pre1.6mdk
3. ffmpeg 0.4.9-0.pre1.6mdk

but was getting the error because the second libffmpeg package didnt repoint symbolic links in the /usr/lib/ folder as follows:
/usr/lib/libavcodec.so -> libavcodec.so.0.0
/usr/lib/libavformat.so -> libavformat.so.0.0

Anyways - this did it in my specific case.
Locked