How to skip until first key frame without decoding

s_kamiya at toa.co.jp s_kamiya at toa.co.jp
Wed Sep 6 07:52:36 UTC 2023


Hi, Ms.Marianna

Thank you for your reply.

I tried GST_SEEK_FLAG_KEY_UNIT and it worked successfully!

Thank you very much!
Kamiya


"Marianna Smidth Buschle" <msb at qtec.com> wrote on 2023/09/06 15:36:44:
> 
> 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”
> [添付ファイル "C.htm" は 神谷 茂治/TOA が削除しました] 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20230906/f5d3bfd2/attachment.htm>


More information about the gstreamer-devel mailing list