store audio/video into circular buffer

Damiano Pinarello damiano.pinarello at bticino.it
Fri Nov 9 03:39:51 PST 2012


Hi,

I read in a forum that queue can work with live-sources, while queue2 can't (right now).
But I consider this information old, beacuse the message is dated to 09/2010.
Do you have some newest information about it?

To better explain my need, I'm working on a IP camera base on dm365 that used
gstreamer. The pourpose is this: when an interrupt arrives (for example due to
motion detection) I must have a 30 seconds video before it to undestand what
have generated the interrupt.

I think to do this with a sort of circular buffer before sink element.
This new element will continue to store data, and when an interrupt arrives
it must reorder the buffer and put the content into a file.
After that start to normally send video to sink element.

Thanks,
Damiano

On 15:44 Thu 08 Nov     , Krzysztof Konopko wrote:
> Hi Damiano,
> 
> Have you looked at queue2 element? It supports circular buffering in the
> file.
> 
> Kris
> 
> On 08/11/12 14:26, Damiano Pinarello wrote:
> > Hi,
> >
> > I need a element that store audio/video into circular buffer, and put
> > it in a file
> > when a interrupt arrive (maybe from gstreamer bus).
> > This element could be seen as a sort of filesink modified, for example
> > called "cicbsink".
> >
> > Which is the right way to problems? Someone have already tryed to
> > solve the same need?
> > The right way could be to create a new plugin? Or add this new element
> > to gstreamer core?
> >
> > Thanks,
> > Damiano
> >
> 
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-- 

***** Email confidentiality notice *****
This message and attachment are confidential and they also are legally privileged in accordance with the NDA.
If you have received this message in error, please notify us and remove it from your system.

--

Damiano PINARELLO
Embedded Software Developer
Office Phone: +(39) 031 653679 Ext. 4679
FAX phone: +(39) 031 653283
Street address: Via L. Manara 4, 22036 Erba (CO), Italy
Email: damiano.pinarello at bticino.it
WebSite: www.bticino.it

------------------------------------------------------------------------------
 Please consider your environmental responsibility before printing this Email
------------------------------------------------------------------------------
This message is confidential. It may also be privileged or otherwise protected
by law or legal rules. Should you have received this email by mistake please 
let us know by reply and then delete it from your system; you should not copy
it or disclose its contents to anyone.
All messages sent to and from [Enea] may be monitored to ensure compliance
with internal policies and to protect our business. Emails are not secure
and cannot be guaranteed to be error free as they can be intercepted, amended,
lost or destroyed, or contain viruses. Anyone who communicates with us by email
is taken to accept these risks.
------------------------------------------------------------------------------


Ce message, ainsi que tous les fichiers joints à ce message,
peuvent contenir des informations sensibles et/ ou confidentielles
ne devant pas être divulguées. Si vous n'êtes pas le destinataire
de ce message (ou que vous recevez ce message par erreur), nous
vous remercions de le notifier immédiatement à son expéditeur, et
de détruire ce message. Toute copie, divulgation, modification,
utilisation ou diffusion, non autorisée, directe ou indirecte, de
tout ou partie de ce message, est strictement interdite.

This e-mail, and any document attached hereby, may contain
confidential and/or privileged information. If you are not the
intended recipient (or have received this e-mail in error) please
notify the sender immediately and destroy this e-mail. Any
unauthorized, direct or indirect, copying, disclosure, distribution
or other use of the material or parts thereof is strictly
forbidden.


More information about the gstreamer-devel mailing list