Motion project
Motion project
Hi.
Has anyone ever tried this project? http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
They have several nice patches supplied, for example: http://www.lavrsen.dk/twiki/bin/view/Motion/XvidCodec - which saves the video in Xvid, rather then in MPEG, or this one: http://www.lavrsen.dk/twiki/bin/view/Mo ... nvertTo3gp, which converts the video to 3GP format, to stream it to the mobile phones.
Perhaps we can borrow some ideas from them?
Has anyone ever tried this project? http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
They have several nice patches supplied, for example: http://www.lavrsen.dk/twiki/bin/view/Motion/XvidCodec - which saves the video in Xvid, rather then in MPEG, or this one: http://www.lavrsen.dk/twiki/bin/view/Mo ... nvertTo3gp, which converts the video to 3GP format, to stream it to the mobile phones.
Perhaps we can borrow some ideas from them?
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
I've heard of Motion but not used it or looked at the code. Mostly because I want to make sure that ZM is as clean as possible, but partly because I like writing stuff from scratch!
Do you know if ffmpeg supports xVid? If so then it should be a relatively simple matter of getting output in that format. I do have a version of ZM with 3gp support already but it works via the ffmpeg command line and I've not managed to get streaming directly to 3gp format working quite yet. I'm sure it's something trivial and when I have time to spend on it I'll try and crack that nut so I can release it.
Phil
Do you know if ffmpeg supports xVid? If so then it should be a relatively simple matter of getting output in that format. I do have a version of ZM with 3gp support already but it works via the ffmpeg command line and I've not managed to get streaming directly to 3gp format working quite yet. I'm sure it's something trivial and when I have time to spend on it I'll try and crack that nut so I can release it.
Phil
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
i have mentioned this before but cant find where i mentioned it but this project have found a way to use ffmpeg to deinterlace the combing effect so it can be captured at full res.
http://www.lavrsen.dk/twiki/bin/view/Mo ... einterlace
seems its turned in on the config file.
SO can we add this to zm i presume the capture is taken from ffmpeg or could we use motion on the same machine and purly use it to get de interlace 720x576 grabs for feeding into zm?
http://www.lavrsen.dk/twiki/bin/view/Mo ... einterlace
seems its turned in on the config file.
SO can we add this to zm i presume the capture is taken from ffmpeg or could we use motion on the same machine and purly use it to get de interlace 720x576 grabs for feeding into zm?
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
I tried motion and use it more or less on my desktop pc to play around. it's great and just what you need to play around with your webcam. I didn't know that there's an xvid-patch out there which is quite cool. What sucks on motion is the convertion to videos actually don't work very well. Either the pictures are too slow or too fast and ffmpeg doesn't seem to be able to handle cpu frequency right. But despite that, it's a nice tool.
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
oh right... lol
so this will allow us to capture at 640*480 without combing
i though t it was input options when creating mpeg movies of an event
so this will allow us to capture at 640*480 without combing
i though t it was input options when creating mpeg movies of an event
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
no i have tested and doesnt make any diffenence to the jpeg grabs.
this is a better description
http://www.lavrsen.dk/twiki/bin/view/Mo ... einterlace
this is a better description
http://www.lavrsen.dk/twiki/bin/view/Mo ... einterlace
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
500000 cm/hour / 3600sec / 60 = 2.3148 cm (Your eyes will be longer for NTSC)jameswilson wrote:oh right... lol
so this will allow us to capture at 640*480 without combing
i though t it was input options when creating mpeg movies of an event
OR
500000 cm/hour / 3600sec / 50 = 2.7777 cm (Your eyes will be longer for PAL)
Regards
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
im sorry i havnt a clue what that means
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
Oh i see, thankyou a technical answer to the problem. Are you sayiing then there is nothing that can be done?
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
i do agree but the majority of cctv cameras especailly the older stuff is all intelaced. I have never tried a progressive scan camera does this not occur then?
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
I have never tried a progressive scan camera too. But with progressive scan 1frame=1field with full resolution.jameswilson wrote:I have never tried a progressive scan camera does this not occur then?
So there are no places where combing can occur.
( Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.)
Regards.
Andrew