AW: Joining video file

adrien_sch adrien.schwartzentruber at
Sun Apr 20 02:21:36 PDT 2014

Hello Sebastian,

I tried to concatenate multiple video file into one without decoding the
video stream using the playbin element and the signal "about-to-finish". My
observation is that the second segment sent after the first "switch" (file1
-> file2) is correct, but all the next (file2 -> file3 or file3 -> file4)
are wrong (the base attribute of the segment is lost <-> = 0).

To resolve the issue, I simply catch the segment event, an updated with the
correct value (base always calculated with the previous base and stop), and
it worked as expected. I may think that this is a bug because, the first
the switch is right but not the others, and the playbin element may have
all the information needed to do the job.

But maybe this expected behavior is against some others behavior that the
playbin may support.

On Sat, Apr 19, 2014 at 7:11 PM, Sebastian Dröge-3 [via GStreamer-devel] <
ml-node+s966125n4666492h15 at> wrote:

> On Do, 2014-04-17 at 04:12 -0700, adrien_sch wrote:
> > I solved the problem by updating correctly the segment event.
> >
> > For me, this operation can be done by the playbin master element, so
> should
> > I create a bug entry for this ? (at least, it's done correctly for the
> first
> > switch)
> What's the bug you think could be there? What exactly are you doing and
> how did you solve the problem you noticed previously? There might be a
> bug around that but without further information that's hard to tell.
> --
> Sebastian Dröge, Centricular Ltd -
> Expertise, Straight from the Source
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email] <http://user/SendEmail.jtp?type=node&node=4666492&i=0>
> *signature.asc* (968 bytes) Download Attachment<>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>  To unsubscribe from Joining video file, click here<>
> .
> NAML<>

View this message in context:
Sent from the GStreamer-devel mailing list archive at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gstreamer-devel mailing list