It could be just me but I'm finding the current SVN version of Zoneminder and Ffmpeg unable to generate videos. I just get the failed to generate video display. I log is created for the event but I'm not sure what to make of it.
[mjpeg @ 0x9dfb070]marker=c4 avail_size_in_buf=16295
[mjpeg @ 0x9dfb070]class=1 index=1 nb_codes=251
[mjpeg @ 0x9dfb070]marker parser used 181 bytes (1448 bits)
[mjpeg @ 0x9dfb070]marker=da avail_size_in_buf=16112
[mjpeg @ 0x9dfb070]escaping removed 44 bytes
[mjpeg @ 0x9dfb070]component: 0
[mjpeg @ 0x9dfb070]component: 1
[mjpeg @ 0x9dfb070]component: 2
[mjpeg @ 0x9dfb070]marker parser used 16067 bytes (128536 bits)
[mjpeg @ 0x9dfb070]marker=d9 avail_size_in_buf=0
[mjpeg @ 0x9dfb070]mjpeg decode frame unused 0 bytes
Input #0, image2, from '%03d-capture.jpg':
Duration: 00:00:26.50, start: 0.000000, bitrate: N/A
Stream #0.0, 1/4: Video: mjpeg, yuvj420p, 320x240 [PAR 1:1 DAR 4:3], 1/4, 4 tbr, 4 tbn, 4 tbc
Output #0, mpeg, to 'Event-53-r1-s1.mpeg':
Stream #0.0, 1/90000: Video: mpeg1video, yuv420p, 320x240 [PAR 1:1 DAR 4:3], 1/25, q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
/usr/local/bin/ffmpeg: symbol lookup error: /usr/local/bin/ffmpeg: undefined symbol: avcodec_decode_video2
Generate video in SVN
-
- Posts: 381
- Joined: Sat Jan 17, 2009 7:49 pm
- Location: Germany
-
- Posts: 381
- Joined: Sat Jan 17, 2009 7:49 pm
- Location: Germany
Same thing
Well I'm running ZM on ubuntu 9.04 with the same issue, I'm wondering to know if anybody has the same problem and has it already resolved, or any idea about that. Anyways I wasn't looking has far has I can, so I'll keep it update if I found the solution.
-
- Posts: 9
- Joined: Mon Sep 21, 2009 7:53 pm
-
- Posts: 1
- Joined: Fri Nov 13, 2009 2:57 am
Upgrade to 9.10
I have upgrade to 9.10 and I can not get anything to work now. Did you upgrade and have you got it up and running alright?
Max Hammond
I have same problem on Ubuntu server 9.04 and 9.10. It realy works on 8.04?
FFmpeg version SVN-r20576, Copyright (c) 2000-2009 Fabrice Bellard, et al.
built on Nov 22 2009 15:18:43 with gcc 4.4.1
configuration: --enable-gpl --enable-shared --enable-nonfree --enable-pthreads
libavutil 50. 4. 0 / 50. 4. 0
libavcodec 52.41. 0 / 52.41. 0
libavformat 52.39. 2 / 52.39. 2
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0. 7. 1 / 0. 7. 1
[image2 @ 0x9406420]max_analyze_duration reached
Input #0, image2, from '%03d-capture.jpg':
Duration: 00:02:23.50, start: 0.000000, bitrate: N/A
Stream #0.0: Video: mjpeg, yuvj420p, 320x240 [PAR 1:1 DAR 4:3], 2 tbr, 2 tbn
Output #0, avi, to 'Event-1-r1-s1.avi':
Stream #0.0: Video: mpeg4, yuv420p, 320x240 [PAR 1:1 DAR 4:3], q=2-31, 200 k
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
Illegal instruction
FFmpeg version SVN-r20576, Copyright (c) 2000-2009 Fabrice Bellard, et al.
built on Nov 22 2009 15:18:43 with gcc 4.4.1
configuration: --enable-gpl --enable-shared --enable-nonfree --enable-pthreads
libavutil 50. 4. 0 / 50. 4. 0
libavcodec 52.41. 0 / 52.41. 0
libavformat 52.39. 2 / 52.39. 2
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0. 7. 1 / 0. 7. 1
[image2 @ 0x9406420]max_analyze_duration reached
Input #0, image2, from '%03d-capture.jpg':
Duration: 00:02:23.50, start: 0.000000, bitrate: N/A
Stream #0.0: Video: mjpeg, yuvj420p, 320x240 [PAR 1:1 DAR 4:3], 2 tbr, 2 tbn
Output #0, avi, to 'Event-1-r1-s1.avi':
Stream #0.0: Video: mpeg4, yuv420p, 320x240 [PAR 1:1 DAR 4:3], q=2-31, 200 k
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
Illegal instruction
I have configure ffmpeg like this
./configure --enable-gpl --enable-shared --enable-pthreads --enable-runtime-cpudetect
and now everysing ok
This error because I have use Pentium II
https://lists.ubuntu.com/archives/unive ... 00629.html
./configure --enable-gpl --enable-shared --enable-pthreads --enable-runtime-cpudetect
and now everysing ok
This error because I have use Pentium II
https://lists.ubuntu.com/archives/unive ... 00629.html
I'm having the same issue, and it appears the problem in my case is that there were multiple versions of libavcodec on the machine. I've yet to resolve it, due to running out of time, but that seems to be the core of the problem. Do a locate or find for libavcodec If you find it in a variety of locations (/usr/lib, /usr/local/lib, various others) it may well be your problem.
Eliminating the extras seems to be the solution, though depending on which packages installed the libraries in the first place, this is apparently a bit of a pain.
Eliminating the extras seems to be the solution, though depending on which packages installed the libraries in the first place, this is apparently a bit of a pain.
Been battling the "avcodec_decode_video2" error for a little while and the above seems to have addressed my problems.coke wrote:there were multiple versions of libavcodec on the machine.
apt-get remove libavcodec-dev - had a redundant install of the dev libraries
Karmic 9.10, 2.6.31-20-generic
make ffmpeg from src/svn: FFmpeg version SVN-r22274
make zm from src/svn: At revision 3033.
./configure --with-webuser=www-data --with-webgroup=www-data ZM_DB_NAME=zm ZM_DB
_USER=zmuser ZM_DB_PASS=XXX --with-webdir=/var/www/html/zm --with-cgidir=/
usr/lib/cgi-bin --with-libarch=lib64 --with-ffmpeg=/usr/local