On Wed, 3 Dec 2003, Jonathan Bartlett wrote:

> I think I've figured it out, but if someone could verify my results, that
> would be great.  I think I need to design at 1365x768.  Using the
> information from the VCD stills page and other pages I found, I built a
> little aspect ratio converter that, given the number of pixels high and
> wide the destination platform is, and the display aspect ratio, it will
> calculate what width/height you should design at.
> 
> If anyone wants to offer comments, that would be great, as dealing with
> the various aspect ratios has me tipping on the edge of insanity.

        Aside from the number of pixels needing to be at least even (and a 
        multiple of 16 - neither of criteria 1365 meets ;)) you're going to
        have a bunch of pixels hanging off the edge of the screen I think
        since 1365's a lot larger than 1024

        Are you sure the screen isn't one of the WXGA variety which has
        a 16:9 physical size of 1280x768?   I've seen monitors that have that
        size.

        With 4:3 physical dimensions the only way I know of to display a
        16:9 movie is to letter box it.   Generate the movie frames at
        1024x576 and then composite that on a 1024x768 black frame (y4mscaler -
        http://www.mir.com/DMG/Software/y4mscaler.html - can do the matte 
        operation for you - shouldn't be too hard to come up with the command 
        to do that).    That will have a 16:9 image centered in a 1024x768 
        frame with 96 pixel black bars at top and bottom.

        Encode as generic MPEG2 using -f 3 (NOT DVD's -f 8).   It will probably
        be necessary to specify "-V 224" and the bitrate ('-b') and a couple
        other parameters (that's because the generic profiles do not have
        the builtin defaults that DVD/VCD formats have).

        Cheers,
        Steven Schultz



-------------------------------------------------------
This SF.net email is sponsored by OSDN's Audience Survey.
Help shape OSDN's sites and tell us what you think. Take this
five minute survey and you could win a $250 Gift Certificate.
http://www.wrgsurveys.com/2003/osdntech03.php?site=8
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to