[vlc-devel] Re: CVS Commit (zorglub)

Sigmund Augdal sigmunau at stud.ntnu.no
Wed Sep 10 01:38:43 CEST 2003


I just think the problem is that the filter doesn't get enough time to do
it's work. If there is a sleep in the aout core before running user modules
it should perhaps be shortened, but this is only a partial solution. I think
that for visualization to work properly they need to be in a separate
thread. Then the DoWork fuction only needs to do a memcpy of the buffer.

Sigmund
On Wed, Sep 10, 2003 at 01:23:58AM +0200, Derk-Jan Hartman wrote:
> My problems with your module seem somewhat related to the power the 
> running machine has.
> On OSX (my low low-end machine) it locks up everything completely and 
> generates loads of PTS out of range, dropping buffer warnings.
> It does 4 sec lock up, 1 sec a/v burst, 4 sec lock up, 1 sec burst etc. 
> etc.
> 
> On my linux machine which is just a tad faster, i get further. I see 
> the effect, and i get no lock ups, yet still the a/v is in bursts.
> 
> i get loads of pts is out of range dropping buffer errors
> beyond that i get:
> late picture skipped (caused by lock up moments i think)
> ouput PTS is out of range, clearing out
> input PTS is out of range, trashing
> computed PTS is out of range, clearing out
> audio output is too slow, trashing (not as often as the ones above)
> audio output is starving, playing silence (same story)
> 
> Besides that alsa module reports:
> recovered from buffer underrun (also not that often)
> 
> However, after a minute or so (maybe even less, it recovers correctly, 
> and everything seems to works as it ought to.
> 
> So i think this is a buffer problem somewhere, or an incorrect 
> initialization. I'm not sure. Something is definitely still wrong.
> 
> DJ
> 
> 
> On dinsdag, sep 9, 2003, at 00:00 Europe/Amsterdam, cvs at videolan.org 
> wrote:
> >Update of /var/cvs/videolan/vlc/modules/visualization/visual
> >Modified Files:
> >	effects.c visual.h
> >
> >Log Message:
> >* modules/visualisation/visual/effects.c
> >  modules/visualisation/visual/visual.h:
> >	- Change default effect-height
> >	- Less scaling in spectrum analyser
> 
> 
> ---
> Videolan - VLC media player
> Derk-Jan Hartman (thedj at users.sourceforge.net)
> Co-Developer of the MacOS X port of vlc
> http://www.videolan.org/vlc
> 
> -- 
> This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
> To unsubscribe, please read http://developers.videolan.org/lists.html
> If you are in trouble, please contact <postmaster at videolan.org>

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list