i configured and installed ffmpeg. i un-tarred the file inside the tar file are at /usr/local/ffmpeg
the binary installed at: /usr/local/bin/ffmpeg
now, i'm confused on how to integrate ffmpeg with zm. i have run the configuration the following ways:
--with-ffmpeg=/usr/local
and
--with-ffmpeg=/usr/local/ffmpeg
i've also messed with the settings in the control panel under 'tools' and set it to /usr/local/ffmpeg and /usr/local/bin/ffmpeg
so my questions are:
1. which configuration method should i be using?
2. what path in the control panel under 'tools' should i be pointing to?
thanks in advance.
Mike
________
Colorado Medical Marijuana
ffmpeg configuration / integration
ffmpeg configuration / integration
Last edited by sdel on Sun Feb 13, 2011 11:56 pm, edited 1 time in total.
zmvideo.log
________
LOVE LYRICS DICUSSION
what permissions is it referring to?Creating video file Event-18.mpg for event 18
/usr/local/bin/ffmpeg -y -hq -intra -r 3.77 -s 320x240 -i %03d-capture.jpg Event-18.mpg > mpeg.log
sh: line 1: mpeg.log: Permission denied
Error: 1 at /usr/local/bin/zmvideo.pl line 259.
________
LOVE LYRICS DICUSSION
Last edited by sdel on Sun Feb 13, 2011 11:56 pm, edited 1 time in total.
i ran this command as root and got this:
Yamaha Psr-500M Specifications
________# ffmpeg -y -hq -intra -r 3.77 -s 320x240 -i %03d-capture.jpg Event-18.mpg > mpeg.log
[mjpeg @ 0x82e33d0]get_buffer() failed
Input #0, image, from '%03d-capture.jpg':
Duration: 00:00:22.2, bitrate: N/A
Stream #0.0: Video: rawvideo, yuvj420p, 320x240, 3.77 fps
Output #0, mpeg, to 'Event-18.mpg':
Stream #0.0: Video: mpeg1video (hq), 320x240, 5.00 fps, q=2-31, 200 kb/s
Stream mapping:
Stream #0.0 -> #0.0
[mpeg1video @ 0x82e33d0]MPEG1/2 doesnt support 5/1 fps
Error while opening codec for stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height
Yamaha Psr-500M Specifications
Last edited by sdel on Sun Feb 13, 2011 11:56 pm, edited 1 time in total.
ok, so after a little searching i decided to downgrade. this definately helped, but not totally.
i can now open an event and create a video from it without generating errors.
now i just want to be able to monitor the mpeg realtime. i'll post my results when i figure this one out.
________
Mercedes-Benz C208 Specifications
i can now open an event and create a video from it without generating errors.
now i just want to be able to monitor the mpeg realtime. i'll post my results when i figure this one out.
________
Mercedes-Benz C208 Specifications
Last edited by sdel on Sun Feb 13, 2011 11:56 pm, edited 1 time in total.
i went to the website and downloaded the earlier version: 0.4.8
http://sourceforge.net/project/showfile ... p_id=16082
then just configure, make, make install
the commands work from a command line now, but i'm still unable to stream video in mpeg.
________
Yamaha xv1700a
http://sourceforge.net/project/showfile ... p_id=16082
then just configure, make, make install
the commands work from a command line now, but i'm still unable to stream video in mpeg.
________
Yamaha xv1700a
Last edited by sdel on Sun Feb 13, 2011 11:57 pm, edited 1 time in total.
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact: