gstreamer/gst/audioparsers
Zebediah Figura 71bb53a648 mpegaudioparse: Use a constant bit rate to convert between time and bytes if possible.
This should result in no worse accuracy than the base parse element, and may
result in better accuracy. In particular, the number of bytes processed at any
given point, as accumulated by baseparse, can be only accurate to
(1 / # of frames) bytes per second, and if we try to seek immediately after
pausing the pipeline to a large offset, this small inaccuracy can propagate to
something noticeable.

The use case that prompted this patch is a 45-minute MPEG-1 layer 3 file, which
has a constant bit rate but no seek tables. Trying to seek the pipeline
immediately after pauisng it, without the ACCURATE flag, to a location 41
minutes in, yields a location that is, even with <https://gitlab.freedesktop.org/gstreamer/gstreamer/merge_requests/374>,
still audibly incorrect. This patch yields a much closer position, no longer
audibly incorrect, and likely within a frame of the most correct position.
2020-03-19 14:02:44 +00:00
..
gstaacparse.c aacparse: fix wrong offset of adts channel 2019-11-18 01:06:41 +00:00
gstaacparse.h aacparse: improve channel/rate handling 2016-09-06 15:09:21 +01:00
gstac3parse.c audioparsers: add back segment clipping to parsers that have lost it 2019-06-24 14:40:58 +03:00
gstac3parse.h ac3parse: Post AUDIO_CODEC tag 2013-12-16 10:03:05 +01:00
gstamrparse.c audioparsers: add back segment clipping to parsers that have lost it 2019-06-24 14:40:58 +03:00
gstamrparse.h docs: remove outdated doc strings 2015-07-07 17:12:02 +02:00
gstdcaparse.c audioparsers: add back segment clipping to parsers that have lost it 2019-06-24 14:40:58 +03:00
gstdcaparse.h dcaparse: Post AUDIO_CODEC tag 2013-12-16 10:03:05 +01:00
gstflacparse.c flacparse: fix broken reordering of flac metadata 2020-03-03 08:03:32 +00:00
gstflacparse.h Revert "flacparse: fix header rewriting being ignored" 2017-12-07 11:17:32 +00:00
gstmpegaudioparse.c mpegaudioparse: Use a constant bit rate to convert between time and bytes if possible. 2020-03-19 14:02:44 +00:00
gstmpegaudioparse.h mpegaudioparse: Use a constant bit rate to convert between time and bytes if possible. 2020-03-19 14:02:44 +00:00
gstsbcparse.c audioparsers: add back segment clipping to parsers that have lost it 2019-06-24 14:40:58 +03:00
gstsbcparse.h sbcparse: Fix up values for allocation enumeration. 2017-03-02 11:29:25 -05:00
gstwavpackparse.c audioparsers: add back segment clipping to parsers that have lost it 2019-06-24 14:40:58 +03:00
gstwavpackparse.h wavpackparse: Post AUDIO_CODEC tag 2013-12-16 10:03:06 +01:00
meson.build doc: Port documentation to hotdoc 2019-05-13 11:34:56 -04:00
plugin.c audioparsers: add SBC audio parser 2013-01-15 17:45:30 +00:00