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 "video-first" mode, it only drops audio buffers until video has started.
The "recording" property acts essentially like a valve connected before everything else. If recording is FALSE, all buffers are dropped regardless of settings. If recording is TRUE, the other settings (mode, target-timecode, target-running-time, etc) are taken into account. Audio will always start and end together with the video, as long as the stream itself doesn't start too late or end too early.
Example launch line 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
Hierarchy Factory details
Authors: â Vivia Nikolaidou
Classification: â Filter/Audio/Video
Rank â none
Plugin â timecode
Package â GStreamer Bad Plug-ins
Pad Templatesasink
audio/x-raw:
Presence â always
Direction â sink
Object type â GstPad
asrc
audio/x-raw:
Presence â always
Direction â src
Object type â GstPad
vsink
video/x-raw:
Presence â always
Direction â sink
Object type â GstPad
vsrc
video/x-raw:
Presence â always
Direction â src
Object type â GstPad
Properties end-running-timeâend-running-timeâ guint64
Running time to end at in running-time mode
Flags : Read / Write
Default value : 18446744073709551615
end-timecodeâend-timecodeâ GstVideoTimeCode *
Timecode to end at in timecode mode (object)
Flags : Read / Write
modeâmodeâ Av-wait-mode *
Operation mode: What to wait for
Flags : Read / Write
Default value : timecode (0)
recordingârecordingâ gboolean
Whether the element is stopped or recording. If set to FALSE, all buffers will be dropped regardless of settings.
Flags : Read / Write
Default value : true
target-running-timeâtarget-running-timeâ guint64
Running time to wait for in running-time mode
Flags : Read / Write
Default value : 18446744073709551615
target-timecodeâtarget-timecodeâ GstVideoTimeCode *
Timecode to wait for in timecode mode (object)
Flags : Read / Write
target-timecode-stringâtarget-timecode-stringâ gchararray
Timecode to wait for in timecode mode (string). Must take the form 00:00:00:00
Flags : Read / Write
Default value : 00:00:00:00
Named constants Av-wait-mode Memberstimecode
(0) â time code (default)
running-time
(1) â running time
video-first
(2) â video first
The results of the search are
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4