[Bug 764769] New: matroskamux: make timecodescale configurable
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Apr 8 09:45:11 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=764769
Bug ID: 764769
Summary: matroskamux: make timecodescale configurable
Classification: Platform
Product: GStreamer
Version: git master
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-good
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: lists at svrinformatica.it
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created attachment 325576
--> https://bugzilla.gnome.org/attachment.cgi?id=325576&action=edit
make timecodescale configurable
In a very specialized app I produce buffers with timestamp equal to millisecond
and different for microsecond/nanosecond, the default timecode scale used in
matroskamux will produce blocks with the same timestamp in this case since it
use millisecond precision
Tha attached patch make timecodescale configurable using a property.
You can test with this pipeline:
videotestsrc ! jpegenc ! matroskamux ! filesink ...
mkvinfo shows 1000000 as timecodescale
if you now use this pipeline:
filesrc ! matroskademux ! fakesink
you'll see buffers with millisecond precision
setting timecodescale on the muxer you can change the precision and mkvinfo
will show the value you set.
See also this for a more general use case
https://matroska.org/technical/specs/notes.html#TimecodeScale
--
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