GNOME Bugzilla – Bug 614991
baseparse: Don't emit bitrate tags too early
Last modified: 2010-04-09 08:36:53 UTC
Attaching a patch to suppress bitrate tags till we've collected a few frames. Otherwise, the bitrates posted from the first few frames tend to be wildly inaccurate.
Created attachment 158066 [details] [review] baseparse: Don't emit bitrate tags too early We wait to parse a minimum number of frames (10, arbitrarily) before emiting bitrate tags so that our early estimates are not wildly inaccurate for streams that start with a silence. If the stream ends before that, we just emit the tags anyway. While it _would_ be nicer to be specify the threshold to start pushing the tags in terms of duration, this would introduce more complexity than this merits.
commit 90753ceb5ee1133bac2b780610f2beda7566895e Author: Arun Raghavan <arun.raghavan@collabora.co.uk> Date: Fri Mar 26 18:56:49 2010 +0000 baseparse: Don't emit bitrate tags too early We wait to parse a minimum number of frames (10, arbitrarily) before emiting bitrate tags so that our early estimates are not wildly inaccurate for streams that start with a silence. If the stream ends before that, we just emit the tags anyway. While it _would_ be nicer to be specify the threshold to start pushing the tags in terms of duration, this would introduce more complexity than this merits. https://bugzilla.gnome.org/show_bug.cgi?id=614991
Would it make sense to look at the deltas and start posting when the delata is "small enough"?