> 
> The problem is, my DVD player cuts off 10 or so pixels from
> each side, and 15 or so from the top and bottom.  When I try
> to play the VCD it renders some of the subtitles off the
> screen -- not to mention some of the video.

Are you certain it's the DVD player?  It sounds like you are
witnessing a designed in parameter of NTSC television sets called
"overscan".  They display the center of the image, with a portion of
the transmitted image off the viewable edges of the screen itself. 
It sounds like you are witnessing overscan, although maybe a larger
amount of overscan than is typical for most TV's.

> I imagine everyone's NTSC equipment does this to a certain
> extent, but the subtitles are the real problem.
> 
> The actual question:
>     Is there some trick I can use to fool my DVD player into
>     clipping less of my video; while still preserving the
>     desired aspect ratio?  
>     
> I was shooting for thin black bars the whole way around, but
> it turns out yuvscaler won't do that.

Where/what is introducing the subtitles into the video?  Are you
using some tool to "write" the subtitles on each video frame before
it gets coded by the mpeg encoder?  Or are the subtitles generated by
the DVD player from the DVD standard subtitle stream that can be
included in a DVD coded mpeg/vob file?

Because if it's the second, the garden standard subtitle stream of
the DVD standard, there's nothing you can do to the video ahead of
time to prevent clipping the subtitles if they are clipped on your
TV.  The subtitles are not present on the images in the mpeg file,
it's your DVD player chipset that overlays the subtitles at mpeg
decode/ntsc signal generation time, and either your DVD player is out
of spec (possible) or your TV set is overscanning excessively (more
likely).  In this case, no matter what you do in scaling the video
up/down, the subtitles are always going to appear in the same place
on the video output from the DVD player.

That said, you can use y4mscaler (search the list archives for the
url) to take your source image and matte it into a destination image
with black (or the color of your choice) borders all around.  And it
will maintain aspect ratios unless you go out of your way to override
it's selections for scaling.

Also, if you are playing VCD's on a DVD player, you might be noticing
what I notice on my Hollywood+ DVD card with half size DVD images
(352x480).  The H+'s subtitle overlay hardware (at least that part
which mplayer turns on) seems to always think it's working with a
full frame DVD image (704/720x480) and when playing a 352x480 file (a
legal DVD frame resolution) the subtitle overlay is twice as wide as
the viewable image, trimming off half of the info mplayer wants to
display.  It's not a big deal to me because the only info trimmed is
the upper edge of "adjust bars" [think brightness/contrast/etc.] but
it is an effect I've noticed.  Your DVD player may just be doing the
same.



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to