LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: 34
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:

expand[=w:h:x:y: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.

<x>,<y>
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?

Thanks,
Roy
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:52 AM.

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