|
Page 1 of 1
|
[ 12 posts ] |
|
Video Export Generation Failed! (v1.24.2)
| Author |
Message |
|
marcus2001
Joined: Sun Jul 26, 2009 1:11 pm Posts: 3
|
 Video Export Generation Failed! (v1.24.2)
Hi all,
As ZoneMinder seems to be a great piece of free and Open Source software, I'm very intersting for using it in order to survey my shop.
Here is my configuration:
- EEEbox + Xubuntu 9.04
- Two D-Link DCS 910 (they work with software named motion)
- ZoneMinder v1.23.3 installed thanks to Synaptic package manager
I've set up following settings in /etc/sysctl.conf file:
- kernel.shmall=134217728
- kernel.shmmax=134217728
(and reboot).
Here is the configuration of one of my webcams:
All other settings are set up to default values. Here an extract of the logs:
I see no error in the log but when I try to visualize camera video output I only see a black screen!! I've tried with IE, Firefox and Opera... same problem!
Any advise would be very appreciated. Thanks
Marcus.
EDIT: Could a moderator move this thread in the right forum please ?
Last edited by marcus2001 on Mon Jul 27, 2009 8:42 am, edited 2 times in total.
|
| Sun Jul 26, 2009 1:35 pm |
|
|
|
 |
|
marcus2001
Joined: Sun Jul 26, 2009 1:11 pm Posts: 3
|
Hi again,
I've decided to try ZoneMinder version 1.24.2 from sources. I've removed ZoneMinder package thanks to Synaptic and successfully installed ZoneMinder v1.24.2 from sources.
My webcams are well detected, as a prove here an extact of the TCP stream captured with Wireshark:
I've set up them in Modect mode. Events are well generated and I can extract them as jpeg but all video extract fail saying Video generation failed.How can I fiw this problem ? What should I check ? What am I doing wrong ? Thanks in avdance for you help. Marcus. Edit: Extract from ffmep log:  |  |  |  | Code: $ cat /var/www/zm/events/1/20/ffmpeg.log FFmpeg version 0.5-svn17737+3:0.svn20090303-1ubuntu6, Copyright (c) 2000-2009 Fabrice Bellard, et al. configuration: --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --extra-version=svn17737+3:0.svn20090303-1ubuntu6 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --disable-stripping --disable-vhook --enable-libdc1394 --disable-armv5te --disable-armv6 --disable-armv6t2 --disable-armvfp --disable-neon --disable-altivec --disable-vis --enable-shared --disable-static libavutil 49.15. 0 / 49.15. 0 libavcodec 52.20. 0 / 52.20. 0 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 Apr 10 2009 23:18:41, gcc: 4.3.3
Seems stream 0 codec frame rate differs from container frame rate: 4.23 (423/100) -> 16.92 (203/12) Input #0, image2, from '%03d-capture.jpg': Duration: 00:00:04.96, start: 0.000000, bitrate: N/A Stream #0.0: Video: mjpeg, yuvj420p, 640x480 [PAR 1:1 DAR 4:3], 16.92 tbr, 4.23 tbn, 4.23 tbc Output #0, avi, to 'Event-20-r1-s1.avi': Stream #0.0: Video: 0x0000, yuvj420p, 640x480 [PAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 90k tbn, 25 tbc Stream mapping: Stream #0.0 -> #0.0 Unsupported codec for output stream #0.0 |  |  |  |  |
|
| Sun Jul 26, 2009 4:29 pm |
|
 |
|
marcus2001
Joined: Sun Jul 26, 2009 1:11 pm Posts: 3
|
Hi one more time,
I've found why I could not see video camera output: that was a CGI directive missing in the virtualhost set up in Apache configuration. I discovered it by checking error.log file of Apache.
Here the configuration I use:
Now I can see my to webcam streams  Note that I use JPEG mode. For unknown reason (to me  ) MPEG mode doesn't work. Last problem: video export generation.--> Here error.log extract:  |  |  |  | Code: [Sun Jul 26 19:33:17 2009] [error] [client 127.0.1.1] Video Generation Failed, referer: http://cam-server/index.php?view=video&eid=35&generated=0 [Sun Jul 26 19:33:17 2009] [error] [client 127.0.1.1] array (\n 0 => \n array (\n 'file' => '/var/www/zm/ajax/event.php',\n 'line' => 35,\n 'function' => 'ajaxError',\n 'args' => \n array (\n 0 => 'Video Generation Failed',\n ),\n ),\n 1 => \n array (\n 'file' => '/var/www/zm/index.php',\n 'line' => 116,\n 'args' => \n array (\n 0 => '/var/www/zm/ajax/event.php',\n ),\n 'function' => 'require_once',\n ),\n), referer: http://cam-server/index.php?view=video&eid=35&generated=0
|  |  |  |  |
--> extract of zm-video.log: --> extract of /var/www/zm/events/3/35/ffmpeg.log  |  |  |  | Code: FFmpeg version 0.5-svn17737+3:0.svn20090303-1ubuntu6, Copyright (c) 2000-2009 Fabrice Bellard, et al. configuration: --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --extra-version=svn17737+3:0.svn20090303-1ubuntu6 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --disable-stripping --disable-vhook --enable-libdc1394 --disable-armv5te --disable-armv6 --disable-armv6t2 --disable-armvfp --disable-neon --disable-altivec --disable-vis --enable-shared --disable-static libavutil 49.15. 0 / 49.15. 0 libavcodec 52.20. 0 / 52.20. 0 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 Apr 10 2009 23:18:41, gcc: 4.3.3
Seems stream 0 codec frame rate differs from container frame rate: 3.07 (307/100) -> 58.33 (175/3) Input #0, image2, from '%03d-capture.jpg': Duration: 00:00:14.65, start: 0.000000, bitrate: N/A Stream #0.0: Video: mjpeg, yuvj420p, 640x480 [PAR 1:1 DAR 4:3], 58.33 tbr, 3.07 tbn, 3.07 tbc Output #0, avi, to 'Event-35-r1-s1.avi': Stream #0.0: Video: 0x0000, yuvj420p, 640x480 [PAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 90k tbn, 25 tbc Stream mapping: Stream #0.0 -> #0.0 Unsupported codec for output stream #0.0
|  |  |  |  |
Have you an idea how I could fix this problem ? Thanks !!
Marcus.
|
| Sun Jul 26, 2009 6:38 pm |
|
 |
|
kingofkya
Joined: Mon Mar 26, 2007 7:07 am Posts: 1101 Location: Las Vegas, Nevada
|
is ffmpeg compiled by you or is it a distro package
_________________GOOGLE TUTORIALProfessional ZM install Give PM or email. E-lance Profile LinkExperiment/Blog
|
| Sun Aug 02, 2009 8:00 am |
|
 |
|
btrotter
Joined: Tue Jan 15, 2008 4:31 pm Posts: 56
|
Was this ever fixed? I am having the same problem and was hoping you discovered the problem.
|
| Sat Aug 08, 2009 10:13 pm |
|
 |
|
obagi
Joined: Sat Aug 22, 2009 6:55 am Posts: 15
|
You can use mjpeg with remote host path /MJPEG.CGI, if you uncheck ZM_NETCAM_REGEXPS under Options/Network
|
| Sat Aug 22, 2009 7:38 am |
|
 |
|
cordel
Joined: Fri Mar 05, 2004 5:47 pm Posts: 5218 Location: /USA/Washington/Seattle
|
 |  |  |  | Quote: Seems stream 0 codec frame rate differs from container frame rate: 3.07 (307/100) -> 58.33 (175/3) Input #0, image2, from '%03d-capture.jpg': Duration: 00:00:14.65, start: 0.000000, bitrate: N/A Stream #0.0: Video: mjpeg, yuvj420p, 640x480 [PAR 1:1 DAR 4:3], 58.33 tbr, 3.07 tbn, 3.07 tbc Output #0, avi, to 'Event-35-r1-s1.avi': Stream #0.0: Video: 0x0000, yuvj420p, 640x480 [PAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 90k tbn, 25 tbc Stream mapping: Stream #0.0 -> #0.0 Unsupported codec for output stream #0.0 |  |  |  |  |
Some where it seems that your defined output container is not properly defined. check and make sure your options in ZoneMinder are set correctly in FFMPEG_FORMATS and that you are selecting a format. Otherwise you will need to trace down why it's putting in 0x0000.
|
| Mon Aug 24, 2009 9:40 pm |
|
 |
|
promethiusan
Joined: Mon Sep 21, 2009 8:53 pm Posts: 9
|
I get this same error no matter what output format I select for video generation. I am running 1.24.2 and FFMPEG_FORMATS is set to the installation default: mpg mpeg wmv asf avi* mov swf 3gp**
I have tried ffmpeg SVN-r19480 and r20006. Am I missing something?
I posted my full ffmpeg.log file in this thread:
http://www.zoneminder.com/forums/viewtopic.php?t=14525
|
| Thu Sep 24, 2009 6:47 am |
|
 |
|
insippo
Joined: Mon Dec 27, 2010 12:45 pm Posts: 38 Location: estonia
|
anybody fix this problem ?
|
| Tue Feb 01, 2011 11:18 pm |
|
 |
|
mastertheknife
Joined: Wed Dec 16, 2009 5:32 pm Posts: 553 Location: Israel
|
Hi,
All those suffering from ffmpeg failing to generate a video, please try ffmpeg 0.6 or newer, although this might be break compatibility with old versions of ZM. If that happens, use ZM from SVN.
mastertheknife.
|
| Sat Feb 05, 2011 9:09 am |
|
 |
|
insippo
Joined: Mon Dec 27, 2010 12:45 pm Posts: 38 Location: estonia
|
i have FFmpeg version r11872+debian_0.svn20080206-18+lenny1, Copyright (c) 2000-2008 Fabrice Bellard, et al.
_________________ My mother tongue is not english.Sorry if I do not speak correctly.
|
| Sat Feb 05, 2011 11:15 am |
|
 |
|
skyline1241
Joined: Wed Mar 09, 2011 3:28 am Posts: 1
|
Such a very amazing link!
|
| Wed Mar 09, 2011 3:46 am |
|
|
|
Page 1 of 1
|
[ 12 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 0 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|