Can we capture AUdio? and if so how? and if not then any ideas on how to change that?
Ken
Can We Capture Audio with the Video??? and if So How??
-
- Posts: 17
- Joined: Sat Mar 04, 2006 4:19 am
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
not at the moment. if you want to change it....how much c do you know?
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
Depending on how the audio is supplied - yes, but only outside of ZM.
You can capture mpeg4 streams (audio encapsulated) using wget or similar, I had a system working (before I found ZM and embraced that with gratitude) which would capture 1 hour mjpeg or mpeg4 streams directly from camera to disk and name them appropriately. Basic, crude stuff - but it worked. Review was a clumsy business of opening the streams in a media player and seeking forwards relying on the camera's onscreen time clock for positioning (mjpeg doesn't pace well)
I'm waffling - but it's possible if you think a bit sideways.
You can capture mpeg4 streams (audio encapsulated) using wget or similar, I had a system working (before I found ZM and embraced that with gratitude) which would capture 1 hour mjpeg or mpeg4 streams directly from camera to disk and name them appropriately. Basic, crude stuff - but it worked. Review was a clumsy business of opening the streams in a media player and seeking forwards relying on the camera's onscreen time clock for positioning (mjpeg doesn't pace well)
I'm waffling - but it's possible if you think a bit sideways.
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
I've got a rudimentary audio stream playback going for this Sony SNC-M3W. It plays on the server during monitoring. I'm trying to find the correct place in the monitor window code to setup streaming from the server in the Watch window...
So far, it's a total hack. But it's sort of working...
ZM's code is too well organized for this to be the proper way to incorporate it.
I'd be interested to know the correct area and method for implementing this in the existing code...it's been an instructive exercise as far as audio streams go - and I've barely scratched the surface.
So far, it's a total hack. But it's sort of working...
ZM's code is too well organized for this to be the proper way to incorporate it.
I'd be interested to know the correct area and method for implementing this in the existing code...it's been an instructive exercise as far as audio streams go - and I've barely scratched the surface.
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Ultimately audio will be incorporated as a new monitor type. So you can have local video, remote video (as now), local audio and remote audio or a combination. It sounds quite straightforward in practice but does require quite a few things to be moved up or down the class heirarchy which can get rather fiddly. It also requires a further specialisation of Events to handle being an audio event or video event (or maybe both).
Phil
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
phil, how you planning on streaming audio? as ill need to incorporate both streaming and playback into zm4ms
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
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Audio streaming will be done either inband with video via ffmpeg or via other ffmpeg codecs. Ultimately I want to stream it using Darwin or similar to give proper real-time sync. This is for live streams, captured audio will probably just be mp3 type files. It's a bit woolly at the moment I'm afraid, though capturing it is much simpler.
Phil
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
yeah im guessing the problem is going to be syncing the audio and the video. Plus i suppose zms will have to handle playback as simple image viewing wont be bale to do this?
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