Pipeline component for seeking?
Will McElderry
wm-gstreamer at mcelderry.com
Wed Apr 26 10:14:12 UTC 2023
Hi All,
I'd like to know if there is a pipeline component that can be used to
skip/trim/discard from the beginning of a media stream, (either a period
of time or number of buffers)? (something like 'tail' command with -n +NUM)
It's just for a quick test: no need for efficiency.
I tried:
gst-launch-1.0 \
filesrc location="${file}" ! \
qtdemux ! \
avdec_h264 ! \
progressreport update-freq=1 ! \
output-selector name=o ! \
fakesink num-buffers="${buffers}" \
osel. ! playsink
hoping that the output-selector would select output zero (fakesink)
until it goes eos then send to output 1, but no joy. (It's the first
time I've played with output-selector, so may be a way to get it to
fallback?)
I found a fallbacksrc, but I want a fallback sink I think for this approach!
Any ideas appreciated!
Thanks,
Will.
More information about the gstreamer-devel
mailing list