Hallo Bernhard,

On Tue, Jun 20, 2006 at 06:54:17PM +0200, Bernhard Praschinger wrote:
> 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 ?

According to that picture :
http://www.europephoto.com/info/output_normal_brightness.png
Inside part (not blacked out by yuvscaler) R-G-B 1-1-1
Outside part (not blacked out by yuvscaler) R-G-B 16-16-16

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

Well, the screenshots I posted are really screenshots of the mpeg
generated by mpeg2enc. If I don't use yuvscaler, I obtain the "normal"
picture which contains a lot of noise since the input is an Hi8 tape.
The screenshot I posted are the start part of the video.

> That lookes strange. What output driver did you use and what program to
> capture the output ?

Here's the way I generated the screenshots :
- I rendered an mpeg from an YUV4MPEG4 stream made with Cinelerra. The
  stream is encoded with mpeg2enc using that syntax :
yuvcorrect -v 0 -T INTERLACED_BOTTOM_FIRST | 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 then import back the video in Cinelerra. I then can render a
  screenshot

The bug does not come from Cinelerra, since I can see the colour
difference when playing the mpeg with mplayer or xine, and increasing
the brightness.

Thanks Bernhard!
Nicolas, Paris.


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

Reply via email to