[Bug 793959] New: qtmux: round to nearest when computing mehd.fragment_duration

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Mar 1 16:59:38 UTC 2018


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

            Bug ID: 793959
           Summary: qtmux: round to nearest when computing
                    mehd.fragment_duration
    Classification: Platform
           Product: GStreamer
           Version: unspecified
                OS: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: aboya at igalia.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

In some cases mehd.fragment_duration is one unit less than the actual duration
of the fragmented movie.

$ gst-launch-1.0 -v videotestsrc num-buffers=3 \
  ! video/x-raw, framerate="(fraction)3/1" \
  ! x264enc \
  ! identity silent=false \
  ! mp4mux movie-timescale=30 trak-timescale=30 fragment-duration=5000 \
  ! filesink location=bad-duration.mp4 2>&1

$ mp4dump bad-duration.mp4 |grep duration -B6

Expected:
[mehd] size=12+8, version=1
  duration = 30

Actual:
[mehd] size=12+8, version=1
  duration = 29

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