How to skip until first key frame without decoding

Marianna Smidth Buschle msb at qtec.com
Wed Sep 6 06:36:44 UTC 2023


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, gstreamer-devel-request at lists.freedesktop.org wrote:
> Message: 3
> Date: Tue, 5 Sep 2023 17:33:59 +0900
> From:s_kamiya at toa.co.jp
> To: "Discussion of the development of and with GStreamer"
> 	<gstreamer-devel at lists.freedesktop.org>
> Subject: How to skip until first key frame without decoding
> Message-ID:
> 	<OFCB9D62C2.18EF548B-ON49258A21.002E1340-49258A21.002F0E98 at 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”
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20230906/240eb9b5/attachment-0001.htm>


More information about the gstreamer-devel mailing list