[Bug 705026] New: asfdemux: add support dvr-ms files

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Jul 28 07:41:24 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=705026
  GStreamer | gst-plugins-ugly | git

           Summary: asfdemux: add support dvr-ms files
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: Normal
         Component: gst-plugins-ugly
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: matej.knopp at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


dvr-ms are asf files (with some extensions) that can contain mpeg-2 video and
mp2 or ac-3 audio.

In order to support dvr-ms few things need to be done:

1) Audio streams are declared in stream-specific data of streams with type guid
ASF_STREAM_EXT_EMBED_HEADER

2) payload timestamps are stored in replicated data extension
(ASF_PAYLOAD_EXTENSION_TIMING). These timestamps should replace original
payload timestamps.

3) Setting demux->first_ts must be delayed until there are payload in every
stream. This is because of 2). It is possible now that packet P2 from stream Y
is stored after packet P1 from stream X, but pts(P2) < pts(P1). This is
addressed this by calculating first_ts during activation.

4) Audio stream codecTag can not be used to determine caps. It is unreliable
and often set to wrong value. The only reliable way seems to be inspect payload
data. 

Apart from these some other minor things are addressed, such as ignoring
warnings for payload from streams that were declared (just not supported).

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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