GNOME Bugzilla – Bug 796746
mxfdemux: Outputs unusable stream after a seek
Last modified: 2018-11-03 14:27:14 UTC
The validate test `validate.file.playback.scrub_forward_seeking.op2b-mpeg2-wave_hd_mxf` fails with ``` critical : We got an ERROR message on the bus Detected on <playbin0> Details : Got error: No valid frames decoded before end of stream -- Debug message: gstvideodecoder.c(1171): gst_video_decoder_sink_event_default (): /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/avdec_mpeg2video:avdec_mpeg2video0: no valid frames found ``` The simplest scenario to reproduce would be: ``` echo "seek,start=3.400000000,flags=accurate+flush" >/tmp/tmp.scenario && GST_DEBUG="gstvalidatescenario*:2" GST_VALIDATE_SCENARIO=/tmp/tmp.scenario gst-validate-1.0 playbin uri=file:///$HOME/gst-validate/gst-integration-testsuites/medias/defaults/mxf/op2b-mpeg2-wave_hd.mxf ``` Interestingly on normal playback and with gst-validate-media-check we see that the last avalaible keyframe in the stream is: <frame duration="40000000" id="96" is-keyframe="true" offset="23493821" offset-end="18446744073709551615" pts="3880000000" dts="3840000000" running-time="3880000000" checksum="9d8a13aea46f8dfe05dd603556504726"/> Which is after 3.40 where we are seeking in that last scenario.
Documented in gst-integration-testsuite: commit 1dcdf7d50132c7129e07ec43005a602f0e7ab0dd (HEAD -> master) Author: Thibault Saunier <tsaunier@igalia.com> Date: Tue Jul 3 16:04:19 2018 -0400 validate: Document known mxfdemux issue #796746
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/744.