Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-09-2008, 11:59 AM   #1
Registered: Mar 2005
Posts: 288

Rep: Reputation: 33
Mplayer video filter question (-vf expand)

Hello forum,

I am using MythTV on my wide screen TV using Nvidia's TV out and all works great except for a little overscan when watching movies using Mplayer. Since I am using HD1040i for the TV standard, I have little control over the overscan in Nvidia's control panel.

I came across a parameter while googling called -vf expand that can shrink the picture on all four sides using it as follows:

-vf expand=-30:0:22:0 (This will shrink the picture on all four sides, but how?)

The man pages for Mplayer says this in part:

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.

Expanded width,height (default: original width,height).
Negative values for w and h are treated as offsets to the original size.

position of original image on the expanded image (default: center)

I would like to tweak it to make the picture fit more exact but I don't understand how it works. For instance, the command I am using has a zero for the H (height) coordinate and it seems like it should have a negitave value like the W (width) coordinate does since I am shrinking the picture. And I am at a total lose about what the X and the Y coordinates do.

Can anyone show me how to use this command properly and explain how it works better than the man pages do?



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Playing video in MPlayer embedded video player and Mozilla fc6_user Linux - Desktop 22 04-02-2007 12:59 PM
mplayer plays sound but NOT video of a .ogg video file minike Linux - Software 5 03-14-2007 08:51 AM
Drivers for gma950 video? (Integrated i945) + slow video in mplayer ivanatora Linux - Hardware 1 01-14-2007 01:19 PM
mplayer: Couldn't find matching filter/ao format! laurentwahl Linux - Software 2 07-12-2005 04:05 PM
Blue filter on Mplayer aeruzcar Linux - Software 2 07-16-2004 08:26 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:07 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration