Errors in ffmpeg command line when creating videos
Posted: Thu May 18, 2006 4:11 am
Howdy,
Running zm 1.22.1 -- just built it tonight and for the most part, it seems to be working.
However, when trying to create a video from an event, the ffmpeg command line that is being used has an error and that results in the attempt failing.
In particular, the command line generated by zm is:
But the first "-r 0.00" is erroneous. If I remove that (and leave the later -r 30 that comes from my ffmpeg config options), I can run it manually fine. Any idea where the "-r 0.00" is coming from? When using the dialog, I pick a Frame rate of "Real" and a size of "Actual". In the Options->Images config, ZM_FFMPEG_INPUT_OPTIONS is blank and ZM_FFMPEG_OUTPUT_OPTIONS is "-r 30".
Any suggestion why zm is adding that leading -r 0.00 to the command line and/or how to stop it?
Also, is there a way to have zm automatically produce or update the mpeg file? I guess ideally after each frame capture, but periodically would be fine too.
Thanks!!
Gerry
Running zm 1.22.1 -- just built it tonight and for the most part, it seems to be working.
However, when trying to create a video from an event, the ffmpeg command line that is being used has an error and that results in the attempt failing.
In particular, the command line generated by zm is:
Code: Select all
/usr/local/bin/ffmpeg -y -r 0.00 -i %03d-capture.jpg -s 640x480 -r 30 'New_Event-r1-s1.mpg'
Any suggestion why zm is adding that leading -r 0.00 to the command line and/or how to stop it?
Also, is there a way to have zm automatically produce or update the mpeg file? I guess ideally after each frame capture, but periodically would be fine too.
Thanks!!
Gerry