Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Getting Mplayer to Scale to True Full Screen?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Nick W
l33t
l33t


Joined: 07 Dec 2003
Posts: 684

PostPosted: Tue Jan 17, 2006 5:05 pm    Post subject: Getting Mplayer to Scale to True Full Screen? Reply with quote

Hi,

I have a 1600x1200 screen, and would ideally like to be able to watch movies with the image scaled up to fill the entire screen (currently it's a widescreen band in the center). Is this possible?

I've been looking around, and reading the man page but can't find anything of understandable use....

thx!
Back to top
View user's profile Send private message
gotaserena
Apprentice
Apprentice


Joined: 23 Feb 2005
Posts: 153
Location: fourth worst city in the world

PostPosted: Tue Jan 17, 2006 5:48 pm    Post subject: Reply with quote

try mplayer -vo x11 -vf scale=1600:1200,dsize input_file.mp4
Back to top
View user's profile Send private message
Nick W
l33t
l33t


Joined: 07 Dec 2003
Posts: 684

PostPosted: Tue Jan 17, 2006 6:20 pm    Post subject: Reply with quote

Thanks,

That actually gave me exactly the same size, so i tried 2000:1600 and that seemed to fill the screen, though i think it overflowed a bit. It was choppy as hell though, not very watchable...
Back to top
View user's profile Send private message
gotaserena
Apprentice
Apprentice


Joined: 23 Feb 2005
Posts: 153
Location: fourth worst city in the world

PostPosted: Wed Jan 18, 2006 1:55 pm    Post subject: Reply with quote

I guess I understand you now. Your movie has black bands above and below the picture? (you can easily check this by playing it with mplayer withou any additional parameters.) If yes, then you need to crop that out before scaling up.

The command would be something like
mplayer -fs -vf crop=640:204,scale=640:480,dsize input_file.avi
But do try fiddling with the values, especially the height of the cropped frame (204 in the above example) to crop the black bands exactly.
Back to top
View user's profile Send private message
jamesdick628
Apprentice
Apprentice


Joined: 14 Oct 2004
Posts: 158
Location: Worcester, MA

PostPosted: Wed Jan 18, 2006 2:30 pm    Post subject: Reply with quote

Also, pressing the keys 'e' and 'w' while the movie is playing change how much of the black band is shown (and thus cuts off the sides as if it weren't widescreen). This is what I usually do.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum