Image Freeze

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Image Freeze

Thierry Panthier
Hi,

I'm developing an application that uses GStreamer to play video streams using RTSP.

The RTSP server is an off-the-shelf board that streams MJPEG video from analogue cameras.

If a camera is unplugged this board streams a still blue image. And I need to be able to detect it.

I found out a plugin called imagefreeze that creates a stream from an image file. But what I want is a plugin that detects a frozen video stream.

Would anyone know a plugin with similar functionality? Is anyone developing something similar?


Thanks in advance,

Thierry

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Image Freeze

Michael Joachimiak
I think what you describe is not a frozen image but a way to inform the receiver that smth is wrong with the input.
The image is streamed so the data comes in all the time. The only way is to detect a blue screen by analysis of the image ( histogram maybe)
If you expect a ready plugin for detection a blue image I doubt there is smth like that.
Maybe frei0r-filter-g (-r,-b) would help. But I don't have any experience with that.
BR
2010/10/13 Thierry Panthier <[hidden email]>
Hi,

I'm developing an application that uses GStreamer to play video streams using RTSP.

The RTSP server is an off-the-shelf board that streams MJPEG video from analogue cameras.

If a camera is unplugged this board streams a still blue image. And I need to be able to detect it.

I found out a plugin called imagefreeze that creates a stream from an image file. But what I want is a plugin that detects a frozen video stream.

Would anyone know a plugin with similar functionality? Is anyone developing something similar?


Thanks in advance,

Thierry

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel




--
Your Sincerely
Michael Joachimiak

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Image Freeze

Robert Swain-2
On 13 October 2010 09:25, Michael Joachimiak <[hidden email]> wrote:
> I think what you describe is not a frozen image but a way to inform the
> receiver that smth is wrong with the input.
> The image is streamed so the data comes in all the time. The only way is to
> detect a blue screen by analysis of the image ( histogram maybe)
> If you expect a ready plugin for detection a blue image I doubt there is
> smth like that.
> Maybe frei0r-filter-g (-r,-b) would help. But I don't have any experience
> with that.

It should be quite simple to write an element that diffs (using some
metric) one frame against a past frame and emit an event if that is
the case. I don't know of such an element personally, but my
familiarity with the available elements isn't so good.

Regards,
Rob

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Image Freeze

Thierry Panthier
Yep... that's probably what we're going to do. We need an alarm to let the application know there's something wrong with the video stream. Simple as that, but apparently not available.

Thanks for your help!

And when (and if) this plugin is ready, I'll publish it :)

Regards,

- Thierry


On Wed, Oct 13, 2010 at 6:41 PM, Rob <[hidden email]> wrote:
On 13 October 2010 09:25, Michael Joachimiak <[hidden email]> wrote:
> I think what you describe is not a frozen image but a way to inform the
> receiver that smth is wrong with the input.
> The image is streamed so the data comes in all the time. The only way is to
> detect a blue screen by analysis of the image ( histogram maybe)
> If you expect a ready plugin for detection a blue image I doubt there is
> smth like that.
> Maybe frei0r-filter-g (-r,-b) would help. But I don't have any experience
> with that.

It should be quite simple to write an element that diffs (using some
metric) one frame against a past frame and emit an event if that is
the case. I don't know of such an element personally, but my
familiarity with the available elements isn't so good.

Regards,
Rob

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel