[MPlayer-dev-eng] Re: tv input problems and partial solutions

Paul Ortyl ortylp at 3miasto.net
Sun Jun 23 18:49:04 CEST 2002


> Hi, is the tv audio really working with your patch?

Yes, it is, but the A-V sync is broken...  Maybe with a better TV card, where
video frames are not dropped it would be OK.  (Anyway tv-audio has to be
reenabled in tvi_v4l.c)

>> 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

This is exactly what I have done...  Look at the included patch!!!

	Paul

-- 
Paul Ortyl <mailto:ortylp at 3miasto.net>
  Technical University of Gdansk, Telecommunications Faculty
--



More information about the MPlayer-dev-eng mailing list