Re: How to skip until first key frame without decoding

Marianna Smidth Buschle via gstreamer-devel <[email protected]>
Newsgroups gmane.comp.video.gstreamer.devel
Organization Qtechnology
Message-ID <[email protected]>
I believe you should try using some of the seeking flags like: 
GST_SEEK_FLAG_KEY_UNIT or GST_SEEK_FLAG_TRICKMODE_KEY_UNITS 
<https://gstreamer.freedesktop.org/documentation/gstreamer/gstsegment.html#GST_SEEK_FLAG_TRICKMODE_KEY_UNITS>

https://gstreamer.freedesktop.org/documentation/additional/design/seeking.html?gi-language=c

On 05/09/2023 14.00, [email protected] wrote:
> Message: 3
> Date: Tue, 5 Sep 2023 17:33:59 +0900
> From:[email protected]
> To: "Discussion of the development of and with GStreamer"
> 	<[email protected]>
> Subject: How to skip until first key frame without decoding
> Message-ID:
> 	<OFCB9D62C2.18EF548B-ON49258A21.002E1340-49258A21.002F0E98@toa.co.jp>
> Content-Type: text/plain; charset="us-ascii"
>
> Hello,
>
> I tried the following pipeline with C++ coding (Properties are omitted).
>
>       pipeline1 : splitmuxsrc ! h264parse ! queue ! qtmux ! filesink
>
> When I seek range "start", I would like to skip frame until first key
> frame without decoding.
>
> Would you give me how to do it anyone?
>
> Best regards,
> Kamiya

-- 
Best regards / Med venlig hilsen
“Marianna Smidth Buschle”
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.