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 794101 - qtdemux: playback interrupt when reverse video
qtdemux: playback interrupt when reverse video
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
1.12.x
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-03-06 03:26 UTC by Chenglin Ye
Modified: 2018-11-03 15:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix media interruption issue when reverse video (958 bytes, patch)
2018-03-06 03:26 UTC, Chenglin Ye
none Details | Review

Description Chenglin Ye 2018-03-06 03:26:30 UTC
Created attachment 369369 [details] [review]
Fix media interruption issue when reverse video

I tried to reverse MJPEG format video, but it got media interruption error, and log shown that "This file is invalid and cannot be played.", I found the position of the log, as follow:

source code(qtdemux.c):
------------------------------------------------------------------------------
746  if (G_UNLIKELY (size > QTDEMUX_MAX_ATOM_SIZE)) {
747    if (qtdemux->state != QTDEMUX_STATE_MOVIE && qtdemux->got_moov) {
748      /* we're pulling header but already got most interesting bits,
749       * so never mind the rest (e.g. tags) (that much) */
750      GST_WARNING_OBJECT (qtdemux, "atom has bogus size %" G_GUINT64_FORMAT,
751          size);
752      return GST_FLOW_EOS;
753    } else {
754      GST_ELEMENT_ERROR (qtdemux, STREAM, DEMUX,
755          (_("This file is invalid and cannot be played.")),
756          ("atom has bogus size %" G_GUINT64_FORMAT, size));
757      return GST_FLOW_ERROR;
758    }
759  }
------------------------------------------------------------------------------

  However, if (qtdemux->state == QTDEMUX_STATE_MOVIE && qtdemux->got_moov) is TRUE, could we consider that the file is invalid?

  test video URL:https://cinelerra-cv.org/footage/grill-mjpeg.mov
Comment 1 GStreamer system administrator 2018-11-03 15:27:01 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-good/issues/448.