[MPlayer-cvslog] r22237 - trunk/libmpcodecs/vf_scale.c

Michael Niedermayer michaelni at gmx.at
Sat Feb 17 13:35:15 CET 2007


Hi

On Sat, Feb 17, 2007 at 01:20:31PM +0100, Michael Niedermayer wrote:
> Hi
> 
> On Sat, Feb 17, 2007 at 12:48:24PM +0100, Diego Biurrun wrote:
> > On Sat, Feb 17, 2007 at 12:17:25PM +0100, Michael Niedermayer wrote:
> > > 
> > > On Sat, Feb 17, 2007 at 04:04:44AM +0100, Michael Niedermayer wrote:
> > > > On Sat, Feb 17, 2007 at 03:30:15AM +0100, Michael Niedermayer wrote:
> > > > > 
> > > > > On Sat, Feb 17, 2007 at 03:05:30AM +0100, Michael Niedermayer wrote:
> > > > > > 
> > > > > > On Sat, Feb 17, 2007 at 01:31:32AM +0100, Diego Biurrun wrote:
> > > > > > > On Fri, Feb 16, 2007 at 10:17:41PM +0100, michael wrote:
> > > > > > > > 
> > > > > > > > Log:
> > > > > > > > PAL8 ...
> > > > > > > 
> > > > > > > I'm getting crashes left and right with game format samples.  Here's a
> > > > > > > selection:
> > > > > > > 
> > > > > > > http://samples.mplayerhq.hu/game-formats/interplay-mve/baldursgate-camp.mve
> > > > > > 
> > > > > > also crashes with -vo null which doesnt use the scaler
> > > > > 
> > > > > btw, valgrind output would be welcome ...
> > > > > and ffmpeg without the swscaler crashes too ...
> > > > 
> > > > ok, ive fixed 3 bugs (2 in the demuxer one in vd_ffmpeg.c) ill leave the
> > > > rest to some other volunteer, both the old (-vf palette,scale) and new code 
> > > > produce a black picture with mplayer, ffplay works
> > > 
> > > you can test palette support with
> > > -vf scale,format=bgr8,scale
> > > 
> > > rgb8 doesnt work as the init code is missing (bug in vf_scale.c not in the 
> > > swscaler!), -vf palette is affected as well
> > > you can also test it with videos like 8bpp.avi (i think that was from mphq?)
> > > 
> > > if something doesnt work then please first test that -vf palette,scale works
> > > also try valgrind to ensure that there are no bugs in the demuxer or decoder
> > > (especially important for the game formats)
> > 
> > It works for you?  
> 
> of course it does ...
> 
> 
> > With -vf scale,format=bgr8,scale I get psychedelic
> > colors ...
> 
> did you forget svn up? i also had these colors before i fixed vf_scale.c

wait, do you use a big endian architecture? if so palette support doesnt work
as ffmpeg uses native endian and mplayer non native endian so theres a
missmatch between the swscaler and mplayer on big endian

anyway, i dont want to fix all the mess i just want to remove imgconvert/rescale
the sws palette code works the interface to mplayer is buggy, mplayer itself is
buggy most demuxers and decoders handling palettes are buggy the code to pass
palettes around is buggy, it can only work with single threaded apps ...

theres a lot of bugs not surprissingly as the feature is pretty much used by
noone, but these are not related to imgconvert vs. sws

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Many that live deserve death. And some that die deserve life. Can you give
it to them? Then do not be too eager to deal out death in judgement. For
even the very wise cannot see all ends. -- Gandalf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-cvslog/attachments/20070217/e6b0af8d/attachment.pgp>


More information about the MPlayer-cvslog mailing list