Re: How to skip until first key frame without decoding

geysee via gstreamer-devel <[email protected]>
Newsgroups gmane.comp.video.gstreamer.devel
Message-ID <OF6F0301F3.FECAB354-ON49258A22.0026FA65-49258A22.002B4495@toa.co.jp>
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" <[email protected]> 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, [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”
> [添付ファイル "C.htm" は 神谷 茂治/TOA が削除しました]
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.