![]() |
|
|||
|
Re: motion detection from mpeg4 stream
On Mar 8, 2:48 pm, Jan Panteltje <pNaonStpealm...@yahoo.com> wrote:
> On a sunny day (7 Mar 2007 22:30:27 -0800) it happened Telsmon.me...@gmail.com > wrote in <1173335427.052035.124...@8g2000cwh.googlegroups.c om>: > > >Hi > > >Can any one tell me whether it is possible to do motion detection from > >a stream of mpeg4 video. > >My intention is to check motion detection from an IP camera which > >stream video in mpeg4 format. > > >Hope you will help me with good input. > > >Thnx & Regards > >Telsmon Augustine. > > You could grab the motion vectors from the mpeg4 encoder. > If it is open source of course. > > Come to think of it, if the mepg4 encoding is done in hardware you have no access to, > there are 2 ways you can go: > 1) decode to YUV and compare a frame to the previous one, this is what I do here: > http://panteltje.com/panteltje/mcamip/ > 2) decode to YUV, create motion vectors again, and use thse > 3) other methods exists, but this should help you on the way. > 4) If you have no clue about writing software then you are at the mercy of > the market. > 5) the sun shines, changes in light level may in simple compare systems cause false > trigger... > > 6) I dunno what you know and do not know so I am out of here. > 7) bye > > 8) <space for flames> > > Duck > ' > 9) \~~~~~~~~~~~~'O~/ > \ water / > \___________/ > > 10) Type your reply here [ ] Hi Thnx for your reply So you are saying it is possible to do mnotion detection from mpeg4 streams. So what kind of encoder you prefer, bcoz we haven't zeroed in on any en-conder or decoder for mpeg4, and we are not going to write our own encoders. Thnx in advance Regards Telsmon |
|
|||
|
Re: motion detection from mpeg4 stream
On a sunny day (15 Mar 2007 22:14:11 -0700) it happened
Telsmon.media@gmail.com wrote in <1174022051.291073.219770@e1g2000hsg.googlegroups. com>: >> You could grab the motion vectors from the mpeg4 encoder. >> If it is open source of course. >> >> Come to think of it, if the mepg4 encoding is done in hardware you have no access to, >> there are 2 ways you can go: >> 1) decode to YUV and compare a frame to the previous one, this is what I do here: >> http://panteltje.com/panteltje/mcamip/ >> 2) decode to YUV, create motion vectors again, and use thse >> 3) other methods exists, but this should help you on the way. >> 4) If you have no clue about writing software then you are at the mercy of >> the market. >> 5) the sun shines, changes in light level may in simple compare systems cause false >> trigger... >> >> 6) I dunno what you know and do not know so I am out of here. >> 7) bye >> >> 8) <space for flames> >> >> Duck >> ' >> 9) \~~~~~~~~~~~~'O~/ >> \ water / >> \___________/ >> >> 10) Type your reply here [ ] > > >Hi >Thnx for your reply > >So you are saying it is possible to do mnotion detection from mpeg4 >streams. >So what kind of encoder you prefer, bcoz we haven't zeroed in on any >en-conder or decoder for mpeg4, and we are not going to write our own >encoders. I encode to mpeg4 / H264 with ffmpeg. As it is open source, you can modify it, as you will have to, if you want to use the motion vectors. And it is software (not embeded in hardware). So you will have to write something, or have it done. ffmpeg is released under the GPL license, so it could just be if you make a commercial product, that you have to release your code under GPL too, if you are based on it. For me to be able to give a specific answer to this, you need to come up whith a whole lot more detail. |