Error creating video - [SOLVED]

Forum for questions and support relating to the 1.24.x releases only.
Locked
HomeServer
Posts: 7
Joined: Tue Jun 29, 2010 8:38 am

Error creating video - [SOLVED]

Post by HomeServer »

ZM 1.24.2 on Ubuntu 10.04

zmfilter[2409]: ERR [Video generation '/usr/local/bin/zmvideo.pl -e 3618 -r 1 -s 1 -f avi' failed with status: 255]

zmvideo[2883]: ERR [Unable to generate video, check /var/www/zm/events/1/3618/ffmpeg.log for details]


Log details as follows;

FFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --extra-version=4:0.5.1-1ubuntu1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau
--enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis
--enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-swscale
--enable-x11grab --enable-libdc1394 --enable-shared --disable-static
libavutil 49.15. 0 / 49.15. 0
libavcodec 52.20. 1 / 52.20. 1
libavformat 52.31. 0 / 52.31. 0
libavdevice 52. 1. 0 / 52. 1. 0
libavfilter 0. 4. 0 / 0. 4. 0
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0
built on Mar 4 2010 12:35:30, gcc: 4.4.3
[image2 @ 0x9f242c0]Could not find codec parameters (Video: mjpeg)
%03d-capture.jpg: could not find codec parameters

Even if I change to mpeg video generation, it still fails.

What's really odd is that it has been working fine for over 2 weeks.

Any ideas people?


ANSWER: The event jpegs were corrupted.
insippo
Posts: 39
Joined: Mon Dec 27, 2010 11:45 am
Location: estonia

Post by insippo »

FFmpeg version r11872+debian_0.svn20080206-18+lenny1, Copyright (c) 2000-2008 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-libfaad --enable-pp --enable-swscaler --enable-x11grab --prefix=/usr --enable-libgsm --enable-libtheora --enable-libvorbis --enable-pthreads --disable-strip --enable-libdc1394 --disable-armv5te --disable-armv6 --disable-altivec --disable-vis --enable-shared --disable-static
libavutil version: 49.6.0
libavcodec version: 51.50.0
libavformat version: 52.7.0
libavdevice version: 52.0.0
built on Jan 28 2010 20:57:25, gcc: 4.3.2

Seems stream 0 codec frame rate differs from container frame rate: 2.49 (249/100) -> 42.33 (127/3)
Input #0, image2, from '%03d-capture.jpg':
Duration: 00:00:34.1, start: 0.000000, bitrate: N/A
Stream #0.0: Video: mjpeg, yuvj420p, 640x480 [PAR 1:1 DAR 4:3], 42.33 tb(r)
Output #0, avi, to 'Event-1253-r1-s1.avi':
Stream #0.0: Video: 0x0000, yuvj420p, 640x480 [PAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 25.00 tb(c)
Stream mapping:
Stream #0.0 -> #0.0
Unsupported codec for output stream #0.0

How to fix this problem ?

Thanks
Locked