Page 1 of 1
ffmpeg configuration / integration
Posted: Tue Jan 04, 2005 8:50 pm
by sdel
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
Posted: Tue Jan 04, 2005 11:26 pm
by sdel
zmvideo.logCreating 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.
what permissions is it referring to?
________
LOVE LYRICS DICUSSION
Posted: Tue Jan 04, 2005 11:33 pm
by sdel
i ran this command as root and got this:
# 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
Posted: Wed Jan 05, 2005 12:35 am
by sdel
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
Posted: Thu Jan 06, 2005 10:38 pm
by Ruler
What do you mean that you downgraded? I haven't been able to use ffmpeg since installing it and would very much like to. I haven't had time to research the problems in detail yet though.
Posted: Thu Jan 06, 2005 11:09 pm
by sdel
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
Posted: Sat Jan 08, 2005 5:54 pm
by zoneminder
Streaming uses a totally different mechanism from the creation of video files, though both use ffmpeg. What browser and video format are you using for the streams?
Phil