It works OK now on the offending system, for both 4:4:4 and 4:2:0.
(I downloaded only the y4mstablizer.c from cvs, other stuff same as before)

Thanks!

Marko Cebokli


On Saturday 24 January 2009 19:12, Steven M. Schultz wrote:
> On Sat, 24 Jan 2009, Marko Cebokli wrote:
> > I managed to compile the y4mscaler.c that was attached to a previous
> > message of another thread (10 min ago).
>
>       Good!  Maybe in the future there will be either a 0.91 version of
>       y4mscaler or the program will be integrated into mjpegtools.
>
> > But when I try y4mstabilizer with it and 4:4:4 (using the exact y4mscaler
> > options from the y4mstabilizer help) , I get exactly the same problem,
> > brief flash of first frame and then a green frame that floats away....
>
>       Oh, ok - I misunderstood the problem.  I thought the entire frame
>       turned green.  Anyhow, that 'green' is 0/0/0 in YUV so something is
>       zero filling a buffer.
>
>       Since there are only 3 uses of bcopy it was not too much effort to
>       change them to use memmove.  I used memmove instead of memcpy because
>       the manpages state that memmove correctly handles overlapping copies
>       while memcpy does not.  BSD versions of bcopy also handle overlapping
>       buffers correctly but perhaps other systems do not.
>
>       Since the problem doesn't happen on my system I can't test the change.
>
>       Try the CVS version of mjegtools and see if the problem goes away. If
>       it does then the released packages can be updated.
>
>       Cheers,
>       Steven Schultz
>
>
> ---------------------------------------------------------------------------
>--- This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> Mjpeg-users mailing list
> Mjpeg-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mjpeg-users

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to