[Bug 794101] New: qtdemux: media interrupt when reverse video

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Mar 6 03:26:30 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=794101

            Bug ID: 794101
           Summary: qtdemux: media interrupt when reverse video
    Classification: Platform
           Product: GStreamer
           Version: 1.12.x
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: yechnlin at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 369369
  --> https://bugzilla.gnome.org/attachment.cgi?id=369369&action=edit
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

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list