gstreamer/ext/opus
Sebastian Dröge 4df2ffaad6 opusenc: Encode exactly the amount of samples we got as input and put correct timestamps on it
The first frame has lookahead less samples, the last frame might have some
padding or we might have to encode another frame of silence to get all our
input into the encoded data.

This is because of a) the lookahead at the beginning of the encoding, which
shifts all data by that amount of samples and b) the padding needed to fill
the very last frame completely.

Ideally we would use LPC to calculate something better than silence for the
padding to make the encoding as smooth as possible.

With this we get exactly the same amount of samples again in an
opusenc ! opusdec pipeline.

https://bugzilla.gnome.org/show_bug.cgi?id=757153
2015-11-03 20:35:41 +02:00
..
gstopus.c Fix FSF address 2012-11-04 00:09:59 +00:00
gstopuscommon.c opuscommon: Use GString instead of snprintf for concating 2015-07-27 15:24:19 +01:00
gstopuscommon.h Fix FSF address 2012-11-04 00:09:59 +00:00
gstopusdec.c opusdec: Assume 48kHz if no sample rate is given in the header 2015-11-02 09:36:46 +02:00
gstopusdec.h opusdec: Fix PLC frame size calculations 2015-07-20 13:25:43 -04:00
gstopusenc.c opusenc: Encode exactly the amount of samples we got as input and put correct timestamps on it 2015-11-03 20:35:41 +02:00
gstopusenc.h opusenc: Encode exactly the amount of samples we got as input and put correct timestamps on it 2015-11-03 20:35:41 +02:00
gstopusheader.c opusenc: Put lookahead/pre-skip into the OpusHead header 2015-11-03 20:35:41 +02:00
gstopusheader.h opusenc: Put lookahead/pre-skip into the OpusHead header 2015-11-03 20:35:41 +02:00
Makefile.am gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00