Support for camera side Ogg Theora compression - elphel 313

Anything you want added or changed in future versions of ZoneMinder? Post here and there's a chance it will get in! Search to make sure it hasn't already been requested.
Post Reply
kop
Posts: 5
Joined: Wed Aug 10, 2005 5:54 pm

Support for camera side Ogg Theora compression - elphel 313

Post by kop »

Any possiblity of supporting Ogg Theora and camera side video compression? Seems to me that'd be a great way to get more cameras and more video with a much smaller central system. Specifically, I'm looking at the Elphel Model 313. Its code is all GPLed. There are a couple of interesting articles.

Seems to me that even if you didn't decode the video stream, maybe you could use an occasional jpg or something to:
  • check for events
  • timestamp the video stream, maybe by just saving an occasional jpg frame with timestamps overlayed
  • save only the "interesting" parts of the video stream
.

The Elphel also seems a little less expensive in total dollars than other camers, although I might have that wong. Certainly it's less expensive per bit captured.
SyRenity
Posts: 301
Joined: Mon Jan 24, 2005 2:43 pm

Post by SyRenity »

Hi.

Can be a good idea - as it's an open source, we can quite naturally to interface ZM and these cameras.

They also have a 333 camera, which supports a Theora Ogg streaming, which should have quite an excellent quality.
kop
Posts: 5
Joined: Wed Aug 10, 2005 5:54 pm

Don't all recent Elphels stream Theora?

Post by kop »

I thought it was a matter of frame rate, that all the models past a certain point stream video but some have a higher frame rate and resolution than others.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Interesting, I've never heard of Theora before. I'll try and find out a bit more.

Phil
kop
Posts: 5
Joined: Wed Aug 10, 2005 5:54 pm

Theora, FPGA

Post by kop »

AFIK, which isn't much, ogg is a "container" format for streaming media. Ogg Vorbis is for audio and Ogg Theora is for video.

It occurs to me that since the camera is zoup-ed up with a FPGA to do the video compression, and runs Linux anyway, it'd be clever to run zoneminder (or the portion thereof that decides when something interesting has happened) on the camera itself. That would significantly cut down on the data transmitted over the nework and allow the camera hardware to do the work it was built to do.
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

phil this ogg would it solve your streaming audio issue for an upcoming version??
And on topic this camera how would you plug keybaord etc into it or can you just telnet everyting. I have heard about media players that run lunix (ppc) modified to do more but zm needs a bit of power
kop
Posts: 5
Joined: Wed Aug 10, 2005 5:54 pm

Running zm on camera

Post by kop »

And on topic this camera how would you plug keybaord etc into it or can you just telnet everyting. I have heard about media players that run lunix (ppc) modified to do more but zm needs a bit of power
You would connect to the camera over the network. If you had to there's an add-in RS-232 serial port, but the network's the way to go.

The camera hardware and software is completely open, IIRC with the exception of the FPGA compiler which is free-as-in-beer, so you're able to do whatever's necessary. If you need a little extra oomph you program the FPGA to do it for you. As Theora's all about video compression, which is all about detecting and encoding differences between successive video frames, there's a natural overlap in the existing FPGA programming and what zoneminder does to look for changes in a scene -- maybe. Maybe you could use some of the existing FPGA to do the change detection, or maybe there's a little extra unused circuitry available for programming the necessary routines. If you put just a little bit of software into the hardware you get a serious speedup. Now that I've made it sound easy you should know that I don't know what I'm talking about -- I only know enough theory to be dangerous. The proof is in the code and I've looked at none of it.
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

lol i donr even know enough to be dngerous good comment though. Well baest of luck
kop
Posts: 5
Joined: Wed Aug 10, 2005 5:54 pm

FPGA programming

Post by kop »

FYI, the other people who I know that are doing FPGA programming are the folks doing software radio, GNU/Radio.
Post Reply