On Thu, 3 Feb 2005, E.Chalaron wrote: > As soon as I get rid of -I active, the thing is going very well .... :-( ?? > Am I using bad values ??? Yes, I think you may be using bad values but let's take a closer look...
I thought the images you had were 1388x1024 or something like that rather than 1280x960? > INFO: [y4mscaler] <<< sample aspect ratio: 1:1 > INFO: [y4mscaler] ...using scaling ratios which are simple. ... > ++ WARN: [y4mscaler] Target active region x1 (5) is not multiple of 2... > ++ WARN: [y4mscaler] ...shifted right by 1. > INFO: [y4mscaler] < 1280x960, SAR 1:1, progressive > INFO: [y4mscaler] < chroma subsampling: 420_MPEG2 > INFO: [y4mscaler] < chroma ss ratios: x 1:2 y 1:2 > INFO: [y4mscaler] < active region: > INFO: [y4mscaler] < 0.765387x2.637279 at 80.404124,43.104995 > INFO: [y4mscaler] < matte region: > INFO: [y4mscaler] < 1280x960 at 0,0 (bg Y'CbCr: 16,128,128) > INFO: [y4mscaler] === SCALING parameters: ================ > INFO: [y4mscaler] | Scaler: Matto's Generic Scaler > INFO: [y4mscaler] | kernels: sinc:5, sinc:5 > INFO: [y4mscaler] === TARGET parameters: ================= > INFO: [y4mscaler] > stream: > INFO: [y4mscaler] > 720x576, SAR 59:54, progressive > INFO: [y4mscaler] < chroma subsampling: 420_JPEG > INFO: [y4mscaler] < chroma ss ratios: x 1:2 y 1:2 > INFO: [y4mscaler] > active region: > INFO: [y4mscaler] > -6x576 at 6,0 (bg Y'CbCr: 16,128,128) Maybe that's the problem - it calculated a "-6" offset. That seems strange. Maybe a bug? The input is 1280x960 according to the line: INFO: [y4mscaler] < 1280x960, SAR 1:1, progressive -I active=1138x850+78+40tl > INFO: [y4mscaler] > X ratio: 15181/24298 > INFO: [y4mscaler] > Y ratio: 895679/1312092 Those are "simple" aren't they? I wonder what "-O infer=exact" would produce ;) > INFO: [y4mtoppm] input stream parameters: The rest of the output looks reasonable. What happens if you do not use the 'tl' and let y4mscaler default to centering the active area? If that works then maybe there's a bug in the "top left" (tl) handling. I haven't used anything except 'cc' which is the default. Cheers, Steven Schultz ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Mjpeg-users mailing list Mjpeg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mjpeg-users