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 764025 - mxfdemux: Two consecutive seek on a file leads to 'No valid frames decoded before end of stream'
mxfdemux: Two consecutive seek on a file leads to 'No valid frames decoded be...
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal blocker
: 1.12.2
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-03-22 12:44 UTC by Thibault Saunier
Modified: 2017-07-14 08:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Thibault Saunier 2016-03-22 12:44:36 UTC
The bug is visible here: https://ci.gstreamer.net/job/GStreamer-master-validate/lastCompletedBuild/testReport/validate.file.playback/scrub_forward_seeking/op2b_mpeg2_wave_hd_mxf/

To reproduce you can use:

  gst-validate-launcher -t validate.file.playback.scrub_forward_seeking.op2b-mpeg2-wave_hd_mxf 

Also I trimed down the scenario file to:

> description, seek=true, handles-states=true
> pause, playback-time=0.0
> seek, playback-time=0.0, start=3.3, flags=accurate+flush
> seek, playback-time=0.0, start=3.4, flags=accurate+flush

so you can just do:

  $ wget http://fpaste.org/343685/45864790/raw/ -O test.scenario && gst-validate-1.0  --set-scenario=./test.scenario playbin uri=file:///$HOME/gst-validate/gst-integration-testsuites/medias/defaults/mxf/op2b-mpeg2-wave_hd.mxf


Note that removing `seek, playback-time=0.0, start=3.3, flags=accurate+flush` makes the test passing, also specifying flags=video+deinterlace does too.

This started to fail with:

> commit 6d367d6b48d22c51af268fa0258a5bc111de9763
> Author: Sebastian Dröge <sebastian@centricular.com>
> Date:   Tue Dec 8 18:15:55 2015 +0200
>
>    mxfdemux: Fix handling of IndexTableSegments
>    
>    This was completely broken before and could only work on a very constrained
>    set of files. After these changes it should work except for situations where
>    PTS != DTS, which is not handled at all in mxfdemux currently.
>    
>    https://bugzilla.gnome.org/show_bug.cgi?id=759118
Comment 1 Sebastian Dröge (slomo) 2017-07-14 07:37:47 UTC
commit c8cd695bb9c87683a8b7c6833edf948fa8b92bc4 (HEAD -> master, origin/master, origin/HEAD)
Author: Sebastian Dröge <sebastian@centricular.com>
Date:   Fri Jul 14 10:36:49 2017 +0300

    validate: Un-blacklist scrub_forward_seeking.op2b-mpeg2-wave_hd_mxf
    
    It works now after various mxfdemux changes.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=764025