[gstreamer-bugs] [Bug 620322] lame mp3 encoder does not save lame tags

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Jul 30 03:44:55 PDT 2010


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

phil changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |phil at kantaka.co.uk

--- Comment #12 from phil at kantaka.co.uk 2010-07-30 10:44:49 UTC ---
Surely gapless encoding is something that would be an option to the encoder?
The lame binary doesn't do it by default, so neither should gstreamer. That
solves the AVI issue :)

>From rootling around in lame.h, it looks like you're supposed to call
lame_encode_flush_nogap() at the end of each track followed by
lame_init_bitstream() to get lame to write the header tags (assuming it can
seek() the output stream?)

When you start encoding a set of gapless tracks, call lame_set_nogap_total()
with the total number & then call lame_set_nogap_currentindex() for each track
along the way.

There are some more lametag specific functions, but it looks like those are
deprecated.

The probably would probably be that the above calls assume that liblame can
seek() around the output stream, which might not mesh very well with the way
gstreamer structures things. It also needs to not fire off a new instantiation
of liblame for each track, but do them all in a single pass.

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