VideoHelp Forum
+ Reply to Thread
Results 1 to 19 of 19
Thread
  1. Member
    Join Date
    Oct 2010
    Location
    Brazil
    Search PM
    Hey everyone!


    How do I play a video in full screen and keep the original resolution without stretching it? I mean, to fill black in the background.


    mplayer -fs video.avi (will stretch the video)
    I tried panscan and zoom but didn't work.


    VLC also will do.



    Could not find anything here: http://www.mplayerhq.hu/DOCS/man/en/mplayer.1.html#VIDEO%20FILTERS


    Thanks!
    Quote Quote  
  2. VLC:
    https://forum.videohelp.com/threads/350495-Hauppauge-HD-PVR-SD-Cropping-Info?p=2197438&...=1#post2197438

    Pretty much every player can zoom. In MPCHC select Video Frame -> Touch Window From Inside. In SMPlayer you can zoom with the E key. PotPlayer uses 9 on the keypad.
    Quote Quote  
  3. DECEASED
    Join Date
    Jun 2009
    Location
    Heaven
    Search Comp PM
    Originally Posted by leandro View Post
    How do I play a video in full screen and keep the original resolution without stretching it? I mean, to fill black in the background.
    By means of trial and error, I've found the following command-lines work without glitches for me:

    mplayer -vo gl -fs -vf expand=width:height "video.mp4"

    mplayer -vo gl2 -fs -vf expand=width:height "video.mp4"
    so if your monitor's resolution is, let's say, 1280x800, then width=1280 and height=800

    HTH
    Last edited by El Heggunte; 4th Nov 2012 at 19:13.
    Quote Quote  
  4. Member
    Join Date
    Oct 2010
    Location
    Brazil
    Search PM
    still doesn't work. it plays the movie in full screen but stretches it.
    Quote Quote  
  5. Member
    Join Date
    Oct 2010
    Location
    Brazil
    Search PM
    with this, it plays in 3x4, but still not the original resolution:

    Code:
    mplayer -vf expand=:::::1 "video.mp4"
    Last edited by leandro; 4th Nov 2012 at 14:16.
    Quote Quote  
  6. Member
    Join Date
    Mar 2011
    Location
    Nova Scotia, Canada
    Search Comp PM
    I don't quite get it here ... is this a learning exercise?

    There are very good mplayer front ends out there. Smplayer for windows and linux, which is what I use. Umplayer for windows, linux and mac. Never tried that one. Smplayer is my default. And it has no problems whatsoever with aspect ratios.
    Quote Quote  
  7. I don't know what you mean by "keep original video resolution". For example, do you want a 640x480 video to play at 640x480 in the middle of a 1920x1080 screen with black borders all around it?
    Last edited by jagabo; 4th Nov 2012 at 18:04.
    Quote Quote  
  8. Member
    Join Date
    Oct 2010
    Location
    Brazil
    Search PM
    I do use smplayer too.
    There are these videos in low resolution when played in full screen (1920x1080) will stretch too much.
    i just want to play them in the original resolution with a black screen in the background.
    Quote Quote  
  9. So you want your video to play like this when full screen?

    Click image for larger version

Name:	orig.jpg
Views:	10721
Size:	37.0 KB
ID:	14566
    Quote Quote  
  10. DECEASED
    Join Date
    Jun 2009
    Location
    Heaven
    Search Comp PM
    Looks like Mplayer (or the build you're using, at least) has problems with certain drivers or video cards.
    Quote Quote  
  11. Member
    Join Date
    Oct 2010
    Location
    Brazil
    Search PM
    Originally Posted by jagabo View Post
    So you want your video to play like this when full screen?

    Image
    [Attachment 14566 - Click to enlarge]
    exactly! that's what i'm trying to get.
    How did you do it?
    Quote Quote  
  12. I used MPCHC. VLC can do that too, turn off the Always Fit Window option. I don't know about mplayer. But in smplayer you can hit w multiple times to reduce the picture size.
    Quote Quote  
  13. Banned
    Join Date
    Oct 2004
    Location
    New York, US
    Search Comp PM
    The newest versions of Win Media Player have no respect for aspect ratios. Add inferior playback to begin with, and the suggestion to use something better seems more than reasonable.
    Last edited by sanlyn; 23rd Mar 2014 at 13:43.
    Quote Quote  
  14. The OP isn't using Windows Media Player. He's using mplayer, a linux command line player. Though it's not clear if he's running Linux or Windows.
    Last edited by jagabo; 5th Nov 2012 at 18:47.
    Quote Quote  
  15. Banned
    Join Date
    Oct 2004
    Location
    New York, US
    Search Comp PM
    In case the O.P. considers WMP. . . .Most linux users I know are running linux and Windows both. But the O.P. didn't say which...
    Last edited by sanlyn; 23rd Mar 2014 at 13:43.
    Quote Quote  
  16. Member
    Join Date
    Oct 2010
    Location
    Brazil
    Search PM
    using windows 7 x64

    not using wmp
    Quote Quote  
  17. Banned
    Join Date
    Oct 2004
    Location
    New York, US
    Search Comp PM
    Originally Posted by leandro View Post
    using windows 7 x64

    not using wmp
    Good decision.
    Last edited by sanlyn; 23rd Mar 2014 at 13:43.
    Quote Quote  
  18. Originally Posted by jagabo View Post
    I used MPCHC. VLC can do that too, turn off the Always Fit Window option. I don't know about mplayer. But in smplayer you can hit w multiple times to reduce the picture size.
    But in this way you never know if the video is exacly at 100 or 150/200%

    In MPCHC you can easily do, but in smplayer window and video size are not separated
    Quote Quote  
  19. Originally Posted by movmasty View Post
    Originally Posted by jagabo View Post
    in smplayer you can hit w multiple times to reduce the picture size.
    But in this way you never know if the video is exacly at 100 or 150/200%
    It tells you the size in the status bar at the bottom.

    Originally Posted by movmasty View Post
    in smplayer window and video size are not separated
    Then what's this?

    Click image for larger version

Name:	smp.jpg
Views:	421
Size:	35.4 KB
ID:	29264

    It works in full screen too:

    Click image for larger version

Name:	fs.jpg
Views:	381
Size:	79.5 KB
ID:	29265

    Notice the "zoom 0.5" in both images.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!