Trouble in understanding base-time

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

Trouble in understanding base-time

Baby Octopus
Hi,

I have some trouble in understanding base-time. As per the documentation, base-time gets set only when pipeline goes to playing state.
1. So what base-time can can an element(non sink) use till the pipeline goes to playing state?
2. For example, this pipeline will take 30 seconds before going to playing state
    gst-launch-1.0 videotestsrc is-live=1 ! x264enc ! mpegtsmux ! queue min-threshold-time=30000000000 ! fakesink sync=1
    How can mpegtsmux calculate base-time and running time in first 30seconds?

Thanks in advance

~BO
Reply | Threaded
Open this post in threaded view
|

Re: Trouble in understanding base-time

Tim Müller
On Wed, 2016-04-06 at 09:16 -0700, Baby Octopus wrote:

> 2. For example, this pipeline will take 30 seconds before going to
> playing
> state
>     gst-launch-1.0 videotestsrc is-live=1 ! x264enc ! mpegtsmux !
> queue
> min-threshold-time=30000000000 ! fakesink sync=1

This pipeline contains a live source, so it should go to playing state
straight away.

 Cheers
  -Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel