AW: Joining video file
adrien.schwartzentruber at gmail.com
Sun Apr 20 02:21:36 PDT 2014
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 n4.nabble.com> 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
> > I create a bug entry for this ? (at least, it's done correctly for the
> > 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 - http://www.centricular.com
> 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<http://gstreamer-devel.966125.n4.nabble.com/attachment/4666492/0/signature.asc>
> If you reply to this email, your message will be added to the discussion
> To unsubscribe from Joining video file, click here<http://gstreamer-devel.966125.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4666463&code=YWRyaWVuLnNjaHdhcnR6ZW50cnViZXJAZ21haWwuY29tfDQ2NjY0NjN8LTEzMzg3MjA4Nw==>
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Joining-video-file-tp4666463p4666503.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gstreamer-devel