Page 1 of 1

How can I record a video?

Posted: Sun Mar 27, 2011 1:00 am
by tony2012
I don't get it?! This program seems good, but how do I record video? All it does it creates 10 jpg files but no video.

Is there a way to set motion detector to record to video whenever there is movement?

Thank you.

Posted: Sun Mar 27, 2011 1:18 am
by z3r0c00l12
Short answer, No.

Long answer, There is a workaround where you can set the motion detection to save say 3000 pictures with an interval of 100ms, which will be in fact saving 10 pictures per second, for 300 seconds (5 mins) you can then use Yawcam to convert these to video, using the images to video function, or you can also use the mencoder script found in this forum somewhere which will allow you more options for video encoding.

Posted: Sun Mar 27, 2011 1:45 am
by tony2012
z3r0c00l12 wrote:Short answer, No.

Long answer, There is a workaround where you can set the motion detection to save say 3000 pictures with an interval of 100ms, which will be in fact saving 10 pictures per second, for 300 seconds (5 mins) you can then use Yawcam to convert these to video, using the images to video function, or you can also use the mencoder script found in this forum somewhere which will allow you more options for video encoding.
I never understand people who give "solutions" but never explain how to apply that solution, sigh

So here goes..... how do I apply this "workaround"?

And I noticed you didn't give a link to this "mencoder script", but said "somewhere on this forum it exists".

Posted: Sun Mar 27, 2011 2:01 am
by z3r0c00l12
Sorry, I was assuming you knew there was a search function on the forum.

For the workaround, use the information provided with the combined help guide here: Link
You will have to use the image array feature.

Here is the link to thread on mencoder.

Posted: Sun Mar 27, 2011 2:03 am
by tony2012
z3r0c00l12 wrote:Sorry, I was assuming you knew there was a search function on the forum.

For the workaround, use the information provided with the combined help guide here: Link
You will have to use the image array feature.

Here is the link to thread on mencoder.
Never assume, because it makes an ass out of U and me :-)

I am lucky to find the start button in windows javascript:emoticon(':lol:')

Here is my goal.. to use Yawcam as a motion detector security webcam, where it begins to record as soon as movement is detected and records the video to hard drive or ftp server. Is that possible?

Posted: Sun Mar 27, 2011 2:09 am
by z3r0c00l12
Yes, here is what you need to know: Motion Detection Help

Posted: Sun Mar 27, 2011 2:13 am
by tony2012
z3r0c00l12 wrote:Yes, here is what you need to know: Motion Detection Help
Thank you sir.

And why did you choose .mov format for video?

Posted: Sun Mar 27, 2011 11:34 pm
by malun
tony2012 wrote:And why did you choose .mov format for video?
The reason is that the .mov format can be encoded from within java without the knowledge of what other codecs are installed on the computer running Yawcam. Other formats must have encoders installed on the computer and I don't know what encoders a user have or prefer.

This is something I will have to look into for future versions...

/malun