After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 728729 - Playbin : wrong GstSegment after switching source with about-to-finish signal
Playbin : wrong GstSegment after switching source with about-to-finish signal
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
1.2.4
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-04-22 13:57 UTC by Adrien SCH.
Modified: 2015-04-30 20:38 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Adrien SCH. 2014-04-22 13:57:26 UTC
Environment : GST 1.2.4

Use case : 
Concatene video files with the playbin element.

Scenario : 
Load a playbin element with a video file and link the video-sink to a ( mux ! filesink). Use the about-to-finish signal to switch the source location and switch at least 2 times.

Observation : 
The first segment (generate by the playbin change state) is correct, the seconds (file1 -> file2) is also correct (base value of the segment is correctly calculated), but after two switch (file2 -> file3) the segment event didn't contain a correct base value (set to 0). 

Test case : 
Will do asap.

Mailing discussion : 
http://gstreamer-devel.966125.n4.nabble.com/Joining-video-file-td4666463.html#a4666528
Comment 1 Thiago Sousa Santos 2014-05-14 21:18:37 UTC
Ping?
Comment 2 Adrien SCH. 2014-05-14 21:24:28 UTC
I completly forgot to make a test case for this issue, and im still very busy..

I fixed this on my side but its probably cause by the stream sync inside the playbin that miss calculate the segment base.
Comment 3 Thiago Sousa Santos 2014-05-14 22:33:49 UTC
Do you use a file with both video and audio and or only video?
Does it happen with every file?
Comment 4 Adrien SCH. 2014-05-15 08:15:26 UTC
only video.

It happens (for me) with the matroska demux. On this case, I appended multiple video files without decoding the stream. I think that this is working when the playbin decode the stream, but I'm not quite sure about this.
Comment 5 Sebastian Dröge (slomo) 2014-05-19 09:07:33 UTC
Can you provide a testcase for this?
Comment 6 Tim-Philipp Müller 2015-04-30 20:38:44 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug report if you can provide the information that was asked for in a previous comment.
Thanks!