Page 1 of 1

ffmpeg (0.4.9-pre1) and CVS issues

Posted: Wed Sep 29, 2004 1:12 am
by curtishall
Hello,

I'm using zoneminder currently with a USB attached webcam, capturing at 352x288. I've been fooling around with producing video from events. I've been getting Video Generation Failed! errors, so I looked at zmvideo.log:

Error: 1 at /usr/local/bin/zmvideo.pl line 259.
Creating video file Linda.mpg for event 281
/usr/bin/ffmpeg -y -hq -intra -r 8.85 -s 352x288 -i %03d-capture.jpg Linda.mpg > mpeg.log
[mjpeg @ 0x4027a010]get_buffer() failed
Input #0, image, from '%03d-capture.jpg':
Duration: 00:00:12.9, bitrate: N/A
Stream #0.0: Video: rawvideo, yuvj420p, 352x288, 8.85 fps
Output #0, mpeg, to 'Linda.mpg':
Stream #0.0: Video: mpeg1video (hq), 352x288, 10.00 fps, q=2-31, 200 kb/s
Stream mapping:
Stream #0.0 -> #0.0
[mpeg1video @ 0x4027a010]MPEG1/2 doesnt support 10/1 fps
Error while opening codec for stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height


Obviously this is not a zoneminder issues, and is a ffmpeg problem. What file formats are users using to encode video? I know I can use pretty much anything but mpeg (avi/xvid/divx5).

My main question is, I'd like to eventually have mpeg captures movies, so that I can convert them to a vcd is mkvcdfs or something similiar for playback on a DVD (for law enforcement stuff...if needed)...what's an easy way to do this?

thanks