Hallo

>>> I use yuvscaler to black out the borders of my video. Here's the syntax
>>> I use:
>>> yuvscaler -v 0 -I ACTIVE_700x560+8+8 | y4mshift -n 2 | mpeg2enc -v 0 -K
>>> tmpgenc -r 32 -4 1 -2 1 -D 10 -E 10 -g 15 -G 15 -q 6 -b 9400 -f 8 -o $1 
>>>
>>> I've noticed the "inactive" border isn't black. It's grey. OK, it's not
>>> quite noticeable unless the active part of the video is black.
>>>
>>> Is that normal?
>> What version of the mjpegtools do you use ?
> 
> I use :
> yuvscaler 1.9.0 (15-02-2004)
> mpeg2enc version 1.9.0 (3.0.0-beta1)
> 
>> What color does the area have ?
>
> It's not black. It's almost black, but it's a bit lighter.
I have taken a stream recorded by the mjpegtools, encdoed with mpeg2enc,
and set the active area with yuvscaler. When I decode the stream with
mplayer to jpeg files. The area I have set to black is R,G,B=0,0,0.

>> What color does the "black video" you mention have ?
> Total black. RGB 000. It's an YUV4MPEG stream made by Cinelerra.

So when you set a active are like 100x100+100+100, you have two
different colors  ?
What color do you get when you convert mpeg to jpeg/tiff ?

Do you get a different color when you don't use y4mscaler ?
Could you post 2 jpeg's of that test (on black encoded, and the other
with y4mscaler).

>> I have just taken a look in the cvs version of yuvscaler, and there the
>> color is set correct to Y=16 and U=V=128.
> 
> OK. In fact, I noticed the problem when I increased the brightness of my
> video with mplayer.
> Here's what I usually see :
> http://www.europephoto.com/info/output_normal_brightness.png
> 
> And here's the SAME image with brightness increased:
> http://www.europephoto.com/info/output_high_brightness.png
> You can see the border, which isn't the same color than the other part
> of the video (which is real black normally)
That lookes strange. What output driver did you use and what program to
capture the output ?


auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: [EMAIL PROTECTED]
www: http://www.lysator.liu.se/~gz/bernhard


_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to