[Bug 702545] New: Adding tags is very slow

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Jun 18 04:34:32 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=702545
  GStreamer | gst-plugins-base | 0.10.35

           Summary: Adding tags is very slow
    Classification: Platform
           Product: GStreamer
           Version: 0.10.35
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: tvrtko.ursulin at onelan.co.uk
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


We have came across MP4 files exported from Adobe authoring tools which contain
a lot of XMP tags (~50k to be more precise). Tested version of GStreamer was
very slow to process them taking minutes on a modern i5 CPU.

It looks time is spent in the loop calling read_one_tag from
gst_tag_list_from_xmp_buffer (gstxmptags.c). That in turn calls
gst_tag_list_add where and below I think the time is being spent. Might be
gst_value_list_merge from core in fact but it is just a guess.

I think this will be testable with the test_xmp_parsing unit test
(tests/check/libs/tag.c) by pasting the attached example XML in there. (But I
have not tried whether it reproduces.)

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