[MPlayer-dev-eng] tv input problems and partial solutions
alex at naxine.org
Sun Jun 23 18:44:13 CEST 2002
> is the tv audio really working with your patch?
> > This patch adresses the problem of "doublespeed" encoding and max 12fps
> > framerate... If the tv-audio is mono then there is no interleaved data and
> > there is only len/2 samples in buffer. This solution is not clear, but I do
> > not know how to encode mono audio stream with liblame. It gives an AVI with
> > two channel audio regardless of (mux_a->wf->nChannels == 1) and mode=3 --
> > any ideas???
> try to use lame_encode_buffer(), look at lame/lame.h
ok, i did it.
it seems that lame supports only encoding from 2 channels (l & r)
try to memcpy the mono data, and pass it to lame_encode_buffer()
or duplicate it and interleave and so pass to lame_encoder_buffer_interleave()
More information about the MPlayer-dev-eng