Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: How to play FULLSCREEN videos in console?

  1. #1
    Join Date
    Dec 2010
    Beans
    58
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Question How to play FULLSCREEN videos in console?

    It took me so much time that I finally made it to play videos in the console.
    The command is "sudo mplayer -vo fbdev test.avi"
    But I could not make it full-screened, even I put the parameter "-fs" after it.
    The only difference that "-fs" took is only that it put the display screen from the the left-up corner to the center, but it's still not full-screened.
    Someone please help me out.

  2. #2
    Join Date
    Dec 2006
    Beans
    7,349

    Re: How to play FULLSCREEN videos in console?

    Perhaps something like the following:

    Code:
    mplayer -vo fbdev -screenw 800 -screenh 600 -geometry 50%:50% test.avi
    adjusting width and height to your preferences, this should play the video in the centre of the screen perhaps use -fs for fullscreen as well, I have not tested this. This works with the svn MPlayer, not sure about older versions...

    Andrew
    Last edited by andrew.46; December 18th, 2010 at 01:18 PM.
    You think that's air you're breathing now?

  3. #3
    Join Date
    Dec 2010
    Beans
    58
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: How to play FULLSCREEN videos in console?

    Sorry guy, I've tryed what you said but nothing changed.
    The video is still in the center and the size is still small.
    Why is this so hard in console but seems very easy in the GUI since we can simply double click the window and accomplish it?

  4. #4
    Join Date
    Dec 2006
    Beans
    7,349

    Re: How to play FULLSCREEN videos in console?

    Perhaps something like the following:

    Code:
    mplayer -vo fbdev -screenw 800 -screenh 600 -geometry 50%:50% -zoom -fs test.avi
    Andrew
    You think that's air you're breathing now?

  5. #5
    Join Date
    Dec 2010
    Beans
    58
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: How to play FULLSCREEN videos in console?

    Quote Originally Posted by andrew.46 View Post
    Perhaps something like the following:

    Code:
    mplayer -vo fbdev -screenw 800 -screenh 600 -geometry 50%:50% -zoom -fs test.avi
    Andrew
    - -Still not work...
    Does this work on your computer?
    Nothing changed here.

  6. #6
    Join Date
    Dec 2006
    Beans
    7,349

    Re: How to play FULLSCREEN videos in console?

    Hi Miter,

    Quote Originally Posted by Miter_J View Post
    Does this work on your computer?
    A very pertinent question . I am between Ubuntu installations at the moment but on my Slackware setup I have a 640 x 480 framebuffer set in Lilo, and I can achieve full screen display with the following slight variation of the syntax I have suggested to you:

    Code:
    mplayer -vo fbdev -screenw 640 -screenh 480 -zoom -fs -xy 640 test.avi
    Easier results can be achieved with -vo svga which might be worth trying as well... I shall experiment with higher resolutions on the framebuffer settings on my system just for curiosity

    Andrew

    Edit: Well I set the framebuffer to 800x600x32k (in Lilo this is done simply with vga=788 ) and the following syntax then produced full screen with correct aspect ratio:

    Code:
    mplayer -vo fbdev -screenw 800 -screenh 600 -zoom -fs -xy 800 test.avi
    It is a little cumbersome but works well enough, I note that fbdev2 gives a better result though...
    Last edited by andrew.46; December 19th, 2010 at 09:37 AM.
    You think that's air you're breathing now?

  7. #7
    Join Date
    Dec 2010
    Beans
    58
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: How to play FULLSCREEN videos in console?

    Wow!~ That's so nice of you!
    -xy 1280(the width of your resolution, mine is 1280. More than 1280 will bring out an error.) will make it full screen.
    Thank you so much~

  8. #8
    Join Date
    Dec 2010
    Beans
    58
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: How to play FULLSCREEN videos in console?

    PS, the -screenh and the -screenw are not necessary though.
    Code:
    mplayer -vo fbdev -xy 1280 -fs -zoom test.avi
    will perfectly achieve my goal

  9. #9
    Join Date
    Jul 2009
    Location
    Dayton Ohio USA
    Beans
    1,069
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: How to play FULLSCREEN videos in console?

    Have you tried
    Code:
    mplayer -aspect 16:9 -fs test.avi
    I change the aspect to get full/full screen
    Possible ratios to use for smaller screens, 1:1, 4:3, 3:2, and finally 16:9,
    Last edited by MooPi; December 19th, 2010 at 04:53 PM.
    It's okay, I'm a limo driver

  10. #10
    Join Date
    Dec 2010
    Beans
    58
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: How to play FULLSCREEN videos in console?

    I just tried. It doesn't work.
    Now the only way to get full screen for me is what I said above.
    Are you in console?
    In terminal, your command is ok.

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •