[gst-devel] Start recording from a webcam already playing
lfarkas at lfarkas.org
Thu Feb 12 14:08:35 CET 2009
Stefan Kost wrote:
> Marc schrieb:
>> Thank you very much Arnout.
>> Using the method you described I am able to record from the webcam every
>> time the user presses a button. As you pointed, also, I am having
>> trouble with timestamps. In my case, since I just need to record one
>> file at time, I would be ok to reset the base time for the v4l2src
>> element. However ,when I try to set the base_time to 0 for this element
>> it stops streaming new images.
>> Since I'd like to stick to the "default" gstreamer packages, is there a
>> way to set the base_time for v4l2src without it being stopped ?
> Another (kind of hackish) approach is to have a buffer-probe handler on the
> sink-pad of the first element on the record pipeline. This could rewrite the
> timestamps of the incoming buffers.
what's the right solution? ie. none hackish? or there is currently no
solution? it seems to be a very basic thing to me.
Levente "Si vis pacem para bellum!"
More information about the gstreamer-devel