GNOME Bugzilla – Bug 794101
qtdemux: playback interrupt when reverse video
Last modified: 2018-11-03 15:27:01 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
-- 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.