Strange playbin2 gapless playback for a sequence mkv files with contiguous timestamps

Paddy pat.blanchon at gmail.com
Wed May 8 12:04:34 PDT 2013


Hi.

I've a directory full of matroska files (containing just h264 video atm)
that I've recorded by changing the mux/filesink tail of the pipeline on the
fly (each is sent an EOS event on closing). Their timestamps are contiguous.

When I try & play these back using playbin2, the first file plays normally.
The about-to-finish handler triggers & the next file is cued up - however
when the next file plays only the last GOV is displayed & the
about-to-finish handler triggers again, & again, & again .... 
So only the last ~1.5sec of each subsequent video file is seen. 

The exception to this is the last file which appears to play as expected but
the logs show about half a dozen 
matroska-demux.c:5332:gst_matroska_demux_parse_contents_seekentry:<matroskademux7>
Too large SeekPosition 18446744073709551615 
&
matroskademux
matroska-demux.c:5352:gst_matroska_demux_parse_contents_seekentry:<matroskademux7>
Incomplete seekhead entry (0x1549a966/18446744073709551615)

which I think is due to the file not being closed properly.

I suspect that the timestamps in the matroska files are messing up playbin2. 

Does anyone know how I can achieve gapless playback of these files using
playbin2 ??

Cheers,

Paddy




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Strange-playbin2-gapless-playback-for-a-sequence-mkv-files-with-contiguous-timestamps-tp4659844.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list