EXPORT FAILED during export

Support and queries relating to all previous versions of ZoneMinder
Locked
User avatar
captain_morgan
Posts: 72
Joined: Tue Jul 25, 2006 6:40 am
Location: Lafayette, La. USA

EXPORT FAILED during export

Post by captain_morgan »

Whevever I try to export to any file type, I simply get EXPOIRT FAILED at the bottom. If I check off any of the other buttons, such as event details, I get Can't open event detail export file 'zmEventDetail.html'


The video is there, but it just won't export. Where should I start to look to resolve this problem.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

The logs would be a good place to start.
japerlman
Posts: 14
Joined: Wed Mar 21, 2007 8:06 pm

Post by japerlman »

I'm also getting this error, but only when I have the 'export video' checkbox on.

Below is my /var/log/messages I'm guessing it has something to do with the 'Error while writing video frame'

Code: Select all

Mar 23 12:13:28 gentoo-dvr zmdc[14016]: INF ['zma -m 2' starting at 07/03/23 12:13:28, pid = 22972]
Mar 23 12:13:28 gentoo-dvr zmdc[22972]: INF ['zma -m 2' started at 07/03/23 12:13:28]
Mar 23 12:13:28 gentoo-dvr zma_m2[22972]: INF [Debug Level = 0, Debug Log = <none>]
Mar 23 12:13:28 gentoo-dvr zmdc[14016]: INF ['zma -m 2' exited normally]
Mar 23 12:14:02 gentoo-dvr zms[23047]: FAT [Error while writing video frame]
Mar 23 12:14:02 gentoo-dvr zms[23047]: ERR [Got signal (Aborted), crashing]
Mar 23 12:14:02 gentoo-dvr zms[23047]: ERR [Signal address is (nil), from 0xb7f16410 ]
Mar 23 12:14:02 gentoo-dvr zms[23047]: ERR [Backtrace: [0xb7f16410]]
Mar 23 12:14:02 gentoo-dvr zms[23047]: ERR [Backtrace: [0xb7f16410]]
Mar 23 12:14:02 gentoo-dvr zms[23047]: ERR [Backtrace: /lib/libc.so.6(abort+0x109) [0xb7674c69]]
Mar 23 12:14:02 gentoo-dvr zms[23047]: ERR [Backtrace: /usr/share/webapps/zoneminder/1.22.3/hostroot/cgi-bin/nph-zms [0x806f0c7]]
Mar 23 12:14:02 gentoo-dvr zms[23049]: FAT [Error while writing video frame]
Mar 23 12:14:02 gentoo-dvr zms[23049]: ERR [Got signal (Aborted), crashing]
Mar 23 12:14:02 gentoo-dvr zms[23049]: ERR [Signal address is (nil), from 0xb7f09410 ]
Mar 23 12:14:02 gentoo-dvr zms[23049]: ERR [Backtrace: [0xb7f09410]]
Mar 23 12:14:02 gentoo-dvr zms[23049]: ERR [Backtrace: [0xb7f09410]]
Mar 23 12:14:02 gentoo-dvr zms[23049]: ERR [Backtrace: /lib/libc.so.6(abort+0x109) [0xb7667c69]]
Mar 23 12:14:02 gentoo-dvr zms[23049]: ERR [Backtrace: /usr/share/webapps/zoneminder/1.22.3/hostroot/cgi-bin/nph-zms [0x806f0c7]]
Mar 23 12:14:23 gentoo-dvr zmc_m3[20030]: INF [New: 9000 - Capturing at 3.36 fps]
Mar 23 12:14:49 gentoo-dvr zmc_m1[16919]: INF [New: 17000 - Capturing at 3.34 fps]
Any help would be greatly appreciated.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Wrong log, zms has nothing to do exporting so thats something else.
Check your apache error log.
japerlman
Posts: 14
Joined: Wed Mar 21, 2007 8:06 pm

Post by japerlman »

It seems if I choose tar as my export type it works, but I just get an empty archive.

I'm wondering if the problem is there is no video files to export. All i see are jpeg but i was my impression that it just joined the jpegs into a mpeg then exported that mpeg.

Is that the correct behavior or do I have to take a few steps back and get video files being saved first?

Code: Select all

zip error: Nothing to do! (temp/zmExport.zip)
[Fri Mar 23 13:59:30 2007] [error] [client 10.9.1.196] Command 'cat temp/zmFileList.txt | zip -q temp/zmExport.zip -@' returned with status 12, referer: http://10.9.1.90/index.php?view=export&eid=204
User avatar
robi
Posts: 477
Joined: Sat Mar 17, 2007 10:48 am

Post by robi »

You need to create the video first. If there's no video file, naturally it will not be included in the archive. Tick all the options and see what you get.
japerlman
Posts: 14
Joined: Wed Mar 21, 2007 8:06 pm

Post by japerlman »

How do I get it to record a video file then as it is not apparant to me...

I went under options -> images and switched it from jpeg to mpeg and when I monitor the camera it is clearly using mpeg with compression as opposed to mjpeg...

What other settings do I have to modify to record video?

Much thanks,

Jason.
User avatar
robi
Posts: 477
Joined: Sat Mar 17, 2007 10:48 am

Post by robi »

In the event window, click on video first, to generate an mpeg.
japerlman
Posts: 14
Joined: Wed Mar 21, 2007 8:06 pm

Post by japerlman »

Thanks...

I'm an artard.

I was assuming it would generate that video file on demand when you try to export 'video'.
Locked