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 796746 - mxfdemux: Outputs unusable stream after a seek
mxfdemux: Outputs unusable stream after a seek
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-07-03 20:00 UTC by Thibault Saunier
Modified: 2018-11-03 14:27 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Thibault Saunier 2018-07-03 20:00:20 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.
Comment 1 Thibault Saunier 2018-07-03 20:05:45 UTC
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
Comment 2 GStreamer system administrator 2018-11-03 14:27:14 UTC
-- 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.