Trimming mp4 video
Nicolas Dufresne
nicolas at ndufresne.ca
Wed Feb 19 00:48:24 UTC 2020
Le mar. 18 févr. 2020 19 h 15, Pascal Jacquemart <pascal at fluffyspider.com>
a écrit :
>
> Hi Vinod,
>
> Thanks but I already read this page twice before posting ;-)
>
> As far as I understand the SEEK call is working fine.
> FLUSH is causing the corrupt mp4 file.
> gst-discover says "This file contains no playable streams".
>
> I think I need to start the pipeline with fakesink.
> And plug the muxer once the seek is done.
> But I am looking for guidance before going into something too
> complicated.
>
This method is pretty complicated, it's implemented in NLE elements which
are part of gst-editing-services library.
If you are looking for something simpler, use two pipeline, one for the
seeking, ending with appsink, and one for muxing, starting with appsrc. You
can then operate the initial seek, without disturbing the muxing pipeline.
Don't forget to push Eos on the muxing pipeline.
> Thanks, Pascal
>
>
> On Mon, 17 Feb 2020 22:20:30 -0600 (CST)
> Vinod Kesti <vinodkesti at yahoo.com> wrote:
>
> > This has details of seek API.
> >
> >
> https://gstreamer.freedesktop.org/documentation/additional/design/seeking.html
> >
> >
> >
> > --
> > Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20200218/b3ecd9ce/attachment.htm>
More information about the gstreamer-devel
mailing list