Page 1 of 1

No video mpeg file output

Posted: Sun May 14, 2006 10:41 pm
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!

Posted: Mon May 15, 2006 9:10 am
by jameswilson
it looks like your using mpeg_encode not ffmpeg what are your options set to?

Posted: Mon May 15, 2006 3:46 pm
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?

Posted: Mon May 15, 2006 3:49 pm
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?

Posted: Mon May 15, 2006 4:19 pm
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!

Same error using FFMPEG on SUSE Enterprise 10.X

Posted: Wed Jun 25, 2008 7:10 pm
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.