HI.. I want to capture AVI for 24 hours through JAVA , but each file
size should not be more than 2 MB . and there should be no loss of
frame ....
Jazz
yugant@gmail.com schrieb:
> HI.. I want to capture AVI for 24 hours through JAVA , but each file
> size should not be more than 2 MB . and there should be no loss of
> frame ....
>
> Jazz
Okay, you told us what you want but where is the problem? What have you
done so far, did you use Google to find an answer on your own?
Uwe
> HI.. I want to capture AVI for 24 hours through JAVA , but each file
> size should not be more than 2 MB .
That is not technologically achivable.
2 MB / seconds in day = 2 megabytes / 86 400 = 24.2725926 bytes / s
With 15 frames/second or 29.97 frames/second you get approximately one
byte per frame. One byte is not enough to capture a frame.
There are no feasible alternatives for constraints.
Cheers,
Opalinski
opalpa@gmail.com
http://www.geocities.com/opalpaweb/
Roedy Green - 18 Apr 2006 00:19 GMT
On 17 Apr 2006 15:21:48 -0700, "opalpa@gmail.com opalinski from
opalpaweb" <opalpa@gmail.com> wrote, quoted or indirectly quoted
someone who said :
>> HI.. I want to capture AVI for 24 hours through JAVA , but each file
>> size should not be more than 2 MB .
[quoted text clipped - 7 lines]
>
>There are no feasible alternatives for constraints.
So the best you can do is what security cameras do, capture frames
with seconds between or do motion detect and only record during
motions.

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
Monique Y. Mudama - 18 Apr 2006 00:24 GMT
>> HI.. I want to capture AVI for 24 hours through JAVA , but each file
>> size should not be more than 2 MB .
[quoted text clipped - 7 lines]
>
> There are no feasible alternatives for constraints.
Er, couldn't the OP mean that they want a bunch of 2MB files per day?

Signature
monique
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html
opalpa@gmail.com opalinski from opalpaweb - 18 Apr 2006 02:54 GMT
> Er, couldn't the OP mean that they want a bunch of 2MB files per day?
Possible. No reason for wanting footage chunked this way occurs to me
-- perhaps a failure of imagination on my part. Further I may be
biased by experience writing surveillance software where files did not
need be chunked.
Opalinski
opalpa@gmail.com
http://www.geocities.com/opalpaweb/
>HI.. I want to capture AVI for 24 hours through JAVA , but each file
>size should not be more than 2 MB . and there should be no loss of
>frame ....
Another way of interpreting your request is you are happy to have
gigabytes of stuff recorded each day so long as the chunks are no
bigger than 2 MB, and you get lossless flips between chunks.
Is that what you wanted?

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.