How to get fragment of mp4 file? How to properly concatenate mp4 files?

Nicolas Dufresne nicolas at ndufresne.ca
Thu Aug 24 01:45:48 UTC 2023


Hi,

Le mer. 23 août 2023, 08 h 30, Антон Шаров via gstreamer-devel <
gstreamer-devel at lists.freedesktop.org> a écrit :

> Thank you for reply.
>
> But is there any chances to accomplish this task with gstreamer? In my
> project I’m already stick to this lib + in this case it would be like dll
> calling (gstreamer) vs process calling (ffmpeg).
>

GStreamer Editing Services should let you sitch clips very easily.  You can
program it, or use ges-launch-1.0

https://gstreamer.freedesktop.org/documentation/gst-editing-services/?gi-language=c

https://gstreamer.freedesktop.org/documentation/tools/ges-launch.html?gi-language=c



>
> Среда, 23 августа 2023, 14:13 +03:00 от James <jam at tigger.ws>:
>
>
>
> > On 23 Aug 2023, at 5:57 pm, Антон Шаров via gstreamer-devel <
> gstreamer-devel at lists.freedesktop.org
> <http:///compose?To=gstreamer%2ddevel@lists.freedesktop.org>> wrote:
> >
> > Hi.
> >
> > • Given some mp4 file, I need to retrive fragment from it. Say I’m
> interested of a fragment on k second of a video file, I need to retrieve
> video fragment from k-2 second to k+2 second, namely few seconds before
> interested event, few second after interested event. What is the best
> approach (pipeline) to do that?
> > • What is the correct way to concatenate mp4 files, is it simple stream
> concatenation — append one file to another or there could be corner cases?
>
> ffmpeg is your friend.
> Stackoverflow has lots of examples. (google)
> James
>
>
>
> --
> С Уважением,
> Шаров Антон
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20230823/c0bc34c1/attachment.htm>


More information about the gstreamer-devel mailing list