Top | ![]() |
![]() |
![]() |
![]() |
GstAvWaitMode | mode | Read / Write |
guint64 | target-running-time | Read / Write |
GstVideoTimeCode * | target-timecode | Read / Write |
gchar * | target-timecode-string | Read / Write |
GstVideoTimeCode * | end-timecode | Read / Write |
This element will drop all buffers until a specific timecode or running time has been reached. It will then pass-through both audio and video, starting from that specific timecode or running time, making sure that audio starts as early as possible after the video (or at the same time as the video). In the "audio-after-video" mode, it only drops audio buffers until video has started.
1 |
gst-launch-1.0 filesrc location="my_file" ! decodebin name=d ! "audio/x-raw" ! avwait name=l target-timecode-str="00:00:04:00" ! autoaudiosink d. ! "video/x-raw" ! timecodestamper ! l. l. ! queue ! timeoverlay time-mode=time-code ! autovideosink |
plugin |
timecode |
author |
Vivia Nikolaidou <vivia@toolsonair.com> |
class |
Filter/Audio/Video |
“mode”
property“mode” GstAvWaitMode
Operation mode: What to wait for.
Owner: GstAvWait
Flags: Read / Write
Default value: time code (default)
“target-running-time”
property“target-running-time” guint64
Running time to wait for in running-time mode.
Owner: GstAvWait
Flags: Read / Write
Default value: 18446744073709551615
“target-timecode”
property“target-timecode” GstVideoTimeCode *
Timecode to wait for in timecode mode (object).
Owner: GstAvWait
Flags: Read / Write
“target-timecode-string”
property“target-timecode-string” gchar *
Timecode to wait for in timecode mode (string). Must take the form 00:00:00:00.
Owner: GstAvWait
Flags: Read / Write
Default value: "00:00:00:00"
“end-timecode”
property“end-timecode” GstVideoTimeCode *
Timecode to end at in timecode mode (object).
Owner: GstAvWait
Flags: Read / Write