Pipeline component for seeking?
Nicolas Dufresne
nicolas at ndufresne.ca
Wed Apr 26 22:47:10 UTC 2023
Hi,
Le mer. 26 avr. 2023, 07 h 30, Will McElderry via gstreamer-devel <
gstreamer-devel at lists.freedesktop.org> a écrit :
> 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)
>
I'd use GStreamer Editing Services library, and you can test in command
line with ges-launch-1.0
> 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.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20230426/2327d93c/attachment.htm>
More information about the gstreamer-devel
mailing list