Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.misc > #12075
| From | Rich <rich@example.invalid> |
|---|---|
| Newsgroups | comp.os.linux.misc |
| Subject | Re: how to force VLC or MPlayer to add letterbox padding |
| Date | 2014-09-09 10:27 +0000 |
| Organization | My Linux Box |
| Message-ID | <lumkn1$l1o$3@dont-email.me> (permalink) |
| References | <slrnm0sv44.4bi.spamtrap42@one.localnet> |
Robert Riches <spamtrap42@jacob21819.net> wrote:
> Is there a way to force VLC and/or MPlayer to add black padding at
> the top and bottom of the (non-full-screen) displaying window? In the
> case of interest, I have a 640x360 network stream that I want to
> display in a 640x480 window by adding padding (rather than
> stretching). The fine manual, the usage message, and Googling have
> thus far not yielded the answer.
man mplayer:
expand[=w:h:x:y:o:a:r]
Expands (not scales) movie resolution to the given value
and places the unscaled original at coordinates x, y. Can be
used for placing subtitles/OSD in the resulting black bands.
<w>,<h>
Expanded width,height (default: original
width,height). Negative values for w and h are
treated as offsets to the original size.
EXAMPLE:
expand=0:-50:0:0
Adds a 50 pixel border to the bottom of
the picture.
<x>,<y>
position of original image on the expanded image
(default: center)
<o>
OSD/subtitle rendering
0: disable (default)
1: enable
<a>
Expands to fit an aspect instead of a resolution
(default: 0).
EXAMPLE:
expand=800:::::4/3
Expands to 800x600, unless the source is
higher resolution, in which case it
expands to fill a 4/3 aspect.
<r>
Rounds up to make both width and height divisible by
<r> (default: 1).
Back to comp.os.linux.misc | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
how to force VLC or MPlayer to add letterbox padding Robert Riches <spamtrap42@jacob21819.net> - 2014-09-09 04:05 +0000
Re: how to force VLC or MPlayer to add letterbox padding Robert Komar <robk@robpc4.home.org> - 2014-09-08 23:37 -0700
Re: how to force VLC or MPlayer to add letterbox padding Robert Riches <spamtrap42@jacob21819.net> - 2014-09-10 02:47 +0000
Re: how to force VLC or MPlayer to add letterbox padding Rich <rich@example.invalid> - 2014-09-09 10:27 +0000
Re: how to force VLC or MPlayer to add letterbox padding Robert Riches <spamtrap42@jacob21819.net> - 2014-09-10 02:47 +0000
csiph-web