[gst-devel] Odd replay issue...

Nathanael D. Noblet nathanael at gnat.ca
Fri Aug 13 17:15:27 CEST 2010


On 08/12/2010 03:08 PM, Stefan Kost wrote:
> Am 12.08.2010 06:30, schrieb Nathanael D. Noblet:
>> On 08/11/2010 03:15 PM, Stefan Kost wrote:
>>
>>> It is a nasty problem. The stream time of the pipeline is 00:05:00
>>> when you
>>> start recording and in some file-formats (e.g. iso mp4) that is
>>> preserved.
>>>
>>> camerabin 'solves' that problem by tracking the non-recording phases
>>> in the
>>> piepline and rewriting the timestamps on buffers then go to the recording
>>> branch. People have been sugesting to use the a newsegment event
>>> instead, but I
>>> haven't verified the idea.
>>
>>
>> So the question is, how come if I run
>>
>> 'gst-launch filesrc location="file.mpg" ! timeoverlay ! xvimagesink'
>
> well timeoverlay has nothing to do with the recorded video. It is just starting
> with the video. In the recodring case you have overlayed the time while
> recordgin and then the timeoverlay gfx are part of the frames. So it shows which
> segment you have recorded.

Not quite, the timeoverlay item is in the viewing branch of the 
pipeline, not prior to the tee, so wouldn't have been recorded.

pipeline:
			queue->filesink
		       /
filesrc (mpeg) -> tee -
		       \
			queue->decode->timeoverlay->xvimagesink


there are more pieces than that, but that's the gist of it.




More information about the gstreamer-devel mailing list