[Bug 765072] New: splitmuxsink: Sometimes creates a small one-frame file after EOS

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Apr 14 20:32:55 UTC 2016


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

            Bug ID: 765072
           Summary: splitmuxsink: Sometimes creates a small one-frame file
                    after EOS
    Classification: Platform
           Product: GStreamer
           Version: unspecified
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: xclaesse at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

My application records an RTSP stream into splited mkv files, using
splitmuxsink. The video is mjpeg 8fps (every frame is a keyframe). When I want
to stop recording, I send EOS on the splitmuxsink element, then change its
state to NULL. Sometimes (rarely) this produces a small 2nd file, with a single
frame in it.

The problem seems to be that when it receives EOS, it close the current file,
then if state didn't change yet (it's a race) it can have time to start the
next file.

I'm not fully understanding what's goint on yet, but I guess it could be
related with this commit: 8248eecff05b9a54e2aecf559d306090679e8bee.

-- 
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