[gst-devel] Odd replay issue...

Stefan Kost ensonic at hora-obscura.de
Thu Aug 12 23:08:25 CEST 2010


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.

Stefan

> 
> it displays it as starting from 00:00:00,400 instead? The time/stream or
> whatever couldn't possibly be embedded in the file otherwise shouldn't
> it also give that odd time?  The viewer in source is setup nearly
> identical to that same gst-launch command so that is what has got me
> fairly confused...





More information about the gstreamer-devel mailing list