[Bug 729751] Example tag-reader from documentation crashes on .opus files

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed May 7 15:53:30 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=729751
  GStreamer | don't know | 1.2.4

Tim-Philipp Müller <t.i.m> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEEDINFO
                 CC|                            |t.i.m at zen.co.uk

--- Comment #1 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2014-05-07 22:53:25 UTC ---
Seems to work fine for me with 1.2.4 (well, 1.2 branch tip):

tpm at xps:~/gst/1.2/code$ ./read_tags
file:///home/tpm/samples/misc/729751-04-Berceusepourlesméchantsenfants.opus
2>&1 
Got tags from element fakesink0:
        container-format : Ogg

Got tags from element fakesink0:
        application-name : opusenc from opus-tools 0.1.7-11-gae6e94b
                  artist : Shtrafilclux
                   album : Fly
                   title : Berceuse pour les m?chants enfants
                datetime : 2007-04-26
                 contact : http://www.jamendo.com/list/a5346
                 license : http://creativecommons.org/licenses/by-nc-sa/3.0/
                   image : tag of type 'GstSample'
            track-number : 4
                 encoder : libopus 1.1
             audio-codec : Opus

It's also not a "crash", but it errors out after receiving a GST_MESSAGE_ERROR
on the pipeline bus. It would be good to know what the error is. Either run the
code with GST_DEBUG=*:INFO or modify it like this:

  if (GST_MESSAGE_TYPE (msg) == GST_MESSAGE_ERROR) {
    GError *err = NULL;
    gchar *dbg = NULL;

    gst_message_parse_error (msg, &err, &dbg);
    g_printerr ("ERROR: %s\nDebug: %s\n", err->message, dbg);
    g_error_free (err);
    g_free (dbg);
    return 1;
  }

Maybe you just don't have some required plugin installed. Does  gst-inspect-1.0
opusdec  work (show stuff)?

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