diff options
author | Vladimir Pantelic <vladoman@gmail.com> | 2013-01-23 13:54:08 +0100 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2013-01-25 10:50:09 +0100 |
commit | 0b55b16abc15c3fad0ae8b7cedc8f63f1162e89c (patch) | |
tree | c976bd2893e03f2e7476e47c562105f198436f88 /doc | |
parent | b85a5e87af4254b80913fe33591d96361f30832b (diff) | |
download | ffmpeg-0b55b16abc15c3fad0ae8b7cedc8f63f1162e89c.tar.gz |
avfilter: allow setpts filter to use wallclock time for calculations
Signed-off-by: Vladimir Pantelic <vladoman@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/filters.texi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi index 34db2f4630..2bd013de6f 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -1864,6 +1864,12 @@ previous input PTS @item PREV_OUTPTS previous output PTS +@item RTCTIME +wallclock (RTC) time in microseconds + +@item RTCSTART +wallclock (RTC) time at the start of the movie in microseconds + @end table Some examples follow: @@ -1883,6 +1889,9 @@ setpts=N/(25*TB) # fixed rate 25 fps with some jitter setpts='1/(25*TB) * (N + 0.05 * sin(N*2*PI/25))' + +# generate timestamps from a "live source" and rebase onto the current timebase +setpts='(RTCTIME - RTCSTART) / (TB * 1000000)" @end example @anchor{setsar} |