GStreamer multimedia framework
Find a file
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
ext/opus 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
tests/check/elements check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:04:40 +02:00