AW: Joining video file

Thornton, Keith keith.thornton at zeiss.com
Wed Apr 16 23:11:02 PDT 2014


A bit more detail about the type of video files and which OS it is running on would be helpful (mpeg2-ps files can be concatenated using cat).

-----Ursprüngliche Nachricht-----
Von: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org] Im Auftrag von adrien_sch
Gesendet: Mittwoch, 16. April 2014 17:38
An: gstreamer-devel at lists.freedesktop.org
Betreff: Joining video file

Hello guys,

I'm trying to join multiple video file (without decoding), so to achieve my goal, a use the playbin element, and listen the callback "about-to-finish", on this callback, I'm updating the playbin's uri to the next video file, until a reach to last video file, and then I'm firing an EOS event.

My problem is that the result file "contains" the only two first files and it seems that the segment event receive in the video sink isn't right after the second file.

Example :

First Segment :
** Message: Segment : Base 0
** Message: Segment : Duration 11011017072
** Message: Segment : Offset 0
** Message: Segment : Position 0
** Message: Segment : Start 0
** Message: Segment : Stop 18446744073709551615
** Message: Segment : Time 0

Second segment :
** Message: Segment : Base 0
** Message: Segment : Duration 11011017072
** Message: Segment : Offset 0
** Message: Segment : Position 10969000000
** Message: Segment : Start 0
** Message: Segment : Stop 11010708398
** Message: Segment : Time 0
** Message: receive segment event
** Message: Segment : Base *11010708398*
** Message: Segment : Duration 10260708398
** Message: Segment : Offset 0
** Message: Segment : Position 0
** Message: Segment : Start 0
** Message: Segment : Stop 18446744073709551615
** Message: Segment : Time 0

Third segment :
** Message: Segment : Base 0
** Message: Segment : Duration 10260708398
** Message: Segment : Offset 0
** Message: Segment : Position 10219000000
** Message: Segment : Start 0
** Message: Segment : Stop 10260708398
** Message: Segment : Time 0
** Message: receive segment event
** Message: Segment : Base *11010708398*
** Message: Segment : Duration 7257708398
** Message: Segment : Offset 0
** Message: Segment : Position 0
** Message: Segment : Start 0
** Message: Segment : Stop 18446744073709551615
** Message: Segment : Time 0

For me, the third segment base must be the addition of first + second segment duration.

What should I do to get this working ?
Is the observed behavior "normal" ?







--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Joining-video-file-tp4666463.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

---------------
This message is intended for a particular addressee only and may contain business or company secrets.
If you have received this email in error, please contact the sender and delete the message immediately. Any use of this email, including saving, publishing, copying, replication or forwarding of the message or the contents is not permitted.


More information about the gstreamer-devel mailing list