[Bug 729317] ges-launch: error when transcoding ogg vorbis to matroska flac audio

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Jun 11 08:23:18 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=729317
  GStreamer | gst-editing-services | 1.2.0

--- Comment #9 from Vincent Penquerc'h <vincent.penquerch at collabora.co.uk> 2014-06-11 15:23:15 UTC ---
Created an attachment (id=278277)
 View: https://bugzilla.gnome.org/attachment.cgi?id=278277
 Review: https://bugzilla.gnome.org/review?bug=729317&attachment=278277

do not reset encoder on continuous segment change

I have no idea what I'm doing here, but this seems to fix the issue, at the
cost of seeming iffy.

Not resetting the adapter will let the base class keep memory of those samples
it pushed earlier, and thus not balk when the derived class calls _finish_frame
later with an encoded frame containing samples from both before and after the
new segment.

Since there is a reset already done on flush-stop, this should only be changed
in continuous changes, so hopefully not break anything, but I don't know enough
to be certain of that.

The resulting file is 25 seconds though, rather than the 13 seconds I'd be
expecting, if my understanding of what the command line is meant to do is
correct. Same when using wav as output, so not a flac issue anyway.

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