removing internal tremor (was: Re: [MPlayer-dev-eng] non-free and undistributable files in tremor/)

Rich Felker dalias at aerifal.cx
Sat Aug 5 02:02:30 CEST 2006


On Fri, Aug 04, 2006 at 10:59:19PM +0200, Balatoni Denes wrote:
> Hi!
> 
> I support the removal of tremor (of course) but there could be one regression. 
> There is a hack in the ogg demuxer that asks tremor for the decoded size of 
> each frame. This is needed because in ogg not every audio packet has it's own 
> timestamp, but mplayer likes to always have the exact timestamp - so the 
> demuxer calculates the time delta from the decoded packet length. This is 
> missing from ffvorbis+ogg demuxer. The problem is, the decoded frame size is 
> only known to the decoder. What could be done, as I see it is:

Ask Oded to give you a vorbis header parser. IIRC he already wrote one
for nutmerge that will tell you, given an ogg packet, what its
duration is.

Rich




More information about the MPlayer-dev-eng mailing list