summaryrefslogtreecommitdiff
path: root/doc/filters.texi
diff options
context:
space:
mode:
authorMuhammad Faiz <mfcc64@gmail.com>2016-02-17 23:20:08 +0700
committerMichael Niedermayer <michael@niedermayer.cc>2016-05-25 17:19:41 +0200
commitdefab0825f416c665b0ba55cdcb9f39bc14a1dfa (patch)
treea10b79e274e439f9b2eef9050999f608eb9174b1 /doc/filters.texi
parentd14deeb6bcf4ab0d83f57e20c1c35bb4f4f91d8e (diff)
avfilter/src_movie: add various commands
add seek command add get_duration command Update to codecpar by commiter Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'doc/filters.texi')
-rw-r--r--doc/filters.texi24
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index b35c65135c..aa208f1989 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -16976,4 +16976,28 @@ movie=dvd.vob:s=v:0+#0x81 [video] [audio]
@end example
@end itemize
+@subsection Commands
+
+Both movie and amovie support the following commands:
+@table @option
+@item seek
+Perform seek using "av_seek_frame".
+The syntax is: seek @var{stream_index}|@var{timestamp}|@var{flags}
+@itemize
+@item
+@var{stream_index}: If stream_index is -1, a default
+stream is selected, and @var{timestamp} is automatically converted
+from AV_TIME_BASE units to the stream specific time_base.
+@item
+@var{timestamp}: Timestamp in AVStream.time_base units
+or, if no stream is specified, in AV_TIME_BASE units.
+@item
+@var{flags}: Flags which select direction and seeking mode.
+@end itemize
+
+@item get_duration
+Get movie duration in AV_TIME_BASE units.
+
+@end table
+
@c man end MULTIMEDIA SOURCES