[arch-general] mplayer2 deprecation
hi all Since mplayer2 has been deprecated and moved to the aur, i've been trying to find another console video player that will play videos in full screen. I've tried mplayer and mpv, neither of which seem tow work. Browsing the arch wiki, I see I need kms enabled, so have set radeon.modeset=1 in my grub config file, and added radeon to the modules section of mkinitcpio.conf. After this, videos play, but only after adding fbdev2 to mplayer's config file, and only in a small box on screen, it won't stretch. Can anyone help me find a video player that will work? I have vlc for x, but I don't launch x that often. For now, I've used downgrade to install mplayer2 and it's old version of libquvi. I'll attach my .mplayer/config file for reference. Please note that when I'm using mplayer2, I don't select a video driver, mplayer picks the one that works, so I'm not at all sure which one ut's using. My system has an ati radeon hd4200 graphics card with the xf86-vide-ati package for x. I have no special configuration in x, I simply installed x, xfce, and x vlc, and the videos played. I hope this helps. Thanks Kendell clark
On Wed, Oct 30, 2013 at 11:38 PM, kendell clark <coffeekingms@gmail.com> wrote:
hi all Since mplayer2 has been deprecated and moved to the aur, i've been trying to find another console video player that will play videos in full screen. I've tried mplayer and mpv, neither of which seem tow work. Browsing the arch wiki, I see I need kms enabled, so have set radeon.modeset=1 in my grub config file, and added radeon to the modules section of mkinitcpio.conf. After this, videos play, but only after adding fbdev2 to mplayer's config file, and only in a small box on screen, it won't stretch. Can anyone help me find a video player that will work? I have vlc for x, but I don't launch x that often. For now, I've used downgrade to install mplayer2 and it's old version of libquvi.
I'll attach my .mplayer/config file for reference. Please note that when I'm using mplayer2, I don't select a video driver, mplayer picks the one that works, so I'm not at all sure which one ut's using. My system has an ati radeon hd4200 graphics card with the xf86-vide-ati package for x. I have no special configuration in x, I simply installed x, xfce, and x vlc, and the videos played. I hope this helps. Thanks Kendell clark
Check the output of mplayer2 to see which driver is it using. You can specify the driver (e.g. fbdev2) in the command line too. IMHO playing videos in the console is a strange idea as X drivers don't work there ... Why are you doing this? You should be able to build mplayer2 yourself and keep using it.
On 31 October 2013 06:38, kendell clark <coffeekingms@gmail.com> wrote:
Since mplayer2 has been deprecated and moved to the aur, i've been trying to find another console video player that will play videos in full screen.
Fullscreen in console requires a trick, AFAIK. In fact, the 'fs' option has no major function; 'zoom' does the work, though I may be wrong. Append the following options: -vo fbdev2 == Standard fbdev may not work. -zoom -xy WIDTH == Here WIDTH is your maximum horizontal screen resolution. -quiet == To suppress the info bar at bottom while maximized. -fs == To suppress background output while maximized. Here's what I use for my 1366x768 screen: alias climplayerfs='mplayer -quiet -softvol -fs -zoom -xy 1366 -vo fbdev2 -ao alsa -af volnorm' -- GPG/PGP ID: C0711BF1
On Thu, Oct 31, 2013 at 05:03:53PM +0800, Rashif Ray Rahman wrote:
On 31 October 2013 06:38, kendell clark <coffeekingms@gmail.com> wrote:
Since mplayer2 has been deprecated and moved to the aur, i've been trying to find another console video player that will play videos in full screen.
Fullscreen in console requires a trick, AFAIK. In fact, the 'fs' option has no major function; 'zoom' does the work, though I may be wrong. Append the following options:
-vo fbdev2 == Standard fbdev may not work. -zoom -xy WIDTH == Here WIDTH is your maximum horizontal screen resolution. -quiet == To suppress the info bar at bottom while maximized. -fs == To suppress background output while maximized.
Here's what I use for my 1366x768 screen:
alias climplayerfs='mplayer -quiet -softvol -fs -zoom -xy 1366 -vo fbdev2 -ao alsa -af volnorm'
-- GPG/PGP ID: C0711BF1
hi Thanks for the help. That worked better than my attempts did, although now when I start mplayer with the alias I get the following: [fbdev2] Screensize is smaller than video size (1600x900 < 1600x1200) FATAL: Cannot initialize video driver. I used to run into these issues all the time. Am I missing anything, or is it just not possible to watch videos in console with mplayer? Thanks Kendell clark
On Thu, Oct 31, 2013 at 10:55 AM, <coffeekingms@gmail.com> wrote:
On Thu, Oct 31, 2013 at 05:03:53PM +0800, Rashif Ray Rahman wrote:
On 31 October 2013 06:38, kendell clark <coffeekingms@gmail.com> wrote:
Since mplayer2 has been deprecated and moved to the aur, i've been trying to find another console video player that will play videos in full screen.
Fullscreen in console requires a trick, AFAIK. In fact, the 'fs' option has no major function; 'zoom' does the work, though I may be wrong. Append the following options:
-vo fbdev2 == Standard fbdev may not work. -zoom -xy WIDTH == Here WIDTH is your maximum horizontal screen resolution. -quiet == To suppress the info bar at bottom while maximized. -fs == To suppress background output while maximized.
Here's what I use for my 1366x768 screen:
alias climplayerfs='mplayer -quiet -softvol -fs -zoom -xy 1366 -vo fbdev2 -ao alsa -af volnorm'
-- GPG/PGP ID: C0711BF1
hi Thanks for the help. That worked better than my attempts did, although now when I start mplayer with the alias I get the following: [fbdev2] Screensize is smaller than video size (1600x900 < 1600x1200) FATAL: Cannot initialize video driver. I used to run into these issues all the time. Am I missing anything, or is it just not possible to watch videos in console with mplayer? Thanks Kendell clark
Have you treid adjusting the '-xy 1366' part of the alias?
On 31 October 2013 17:55, <coffeekingms@gmail.com> wrote:
hi Thanks for the help. That worked better than my attempts did, although now when I start mplayer with the alias I get the following: [fbdev2] Screensize is smaller than video size (1600x900 < 1600x1200) FATAL: Cannot initialize video driver. I used to run into these issues all the time. Am I missing anything, or is it just not possible to watch videos in console with mplayer?
Yes, this will happen if the scaling done by mplayer pushes either of the resolutions to go beyond the real screen estate. In my experience, this has never happened. As you can read from the manual: "value>8 Set width to value and calculate height to keep correct aspect ratio." I get the same errors as you if I issue -xy 1367. For some reason, the height is scaled beyond your screen area. Try with a lower value, that will leave just a bit of black around the video. Please also try a Big Buck Bunny video. [1] When all else fails, issue -x and -y separately (which breaks aspect ratio, stretching where needed). [1] http://www.bigbuckbunny.org/index.php/download/ -- GPG/PGP ID: C0711BF1
On Fri, Nov 01, 2013 at 02:33:08AM +0800, Rashif Ray Rahman wrote:
On 31 October 2013 17:55, <coffeekingms@gmail.com> wrote:
hi Thanks for the help. That worked better than my attempts did, although now when I start mplayer with the alias I get the following: [fbdev2] Screensize is smaller than video size (1600x900 < 1600x1200) FATAL: Cannot initialize video driver. I used to run into these issues all the time. Am I missing anything, or is it just not possible to watch videos in console with mplayer?
Yes, this will happen if the scaling done by mplayer pushes either of the resolutions to go beyond the real screen estate. In my experience, this has never happened. As you can read from the manual:
"value>8 Set width to value and calculate height to keep correct aspect ratio."
I get the same errors as you if I issue -xy 1367. For some reason, the height is scaled beyond your screen area. Try with a lower value, that will leave just a bit of black around the video. Please also try a Big Buck Bunny video. [1]
When all else fails, issue -x and -y separately (which breaks aspect ratio, stretching where needed).
[1] http://www.bigbuckbunny.org/index.php/download/
-- GPG/PGP ID: C0711BF1
hi Thanks again for the help. Splitting the -x and -y values worked. The video is just a bit blurry, but I can't see too well, so that could either be my vision or an artifact of the stretching. In any case, it's more than good enough. i can finally watch videos in the console. Thanks Kendell clark
On Thu, Oct 31, 2013 at 8:48 PM, <coffeekingms@gmail.com> wrote:
On Fri, Nov 01, 2013 at 02:33:08AM +0800, Rashif Ray Rahman wrote:
On 31 October 2013 17:55, <coffeekingms@gmail.com> wrote:
hi Thanks for the help. That worked better than my attempts did, although now when I start mplayer with the alias I get the following: [fbdev2] Screensize is smaller than video size (1600x900 < 1600x1200) FATAL: Cannot initialize video driver. I used to run into these issues all the time. Am I missing anything, or is it just not possible to watch videos in console with mplayer?
Yes, this will happen if the scaling done by mplayer pushes either of the resolutions to go beyond the real screen estate. In my experience, this has never happened. As you can read from the manual:
"value>8 Set width to value and calculate height to keep correct aspect ratio."
I get the same errors as you if I issue -xy 1367. For some reason, the height is scaled beyond your screen area. Try with a lower value, that will leave just a bit of black around the video. Please also try a Big Buck Bunny video. [1]
When all else fails, issue -x and -y separately (which breaks aspect ratio, stretching where needed).
[1] http://www.bigbuckbunny.org/index.php/download/
-- GPG/PGP ID: C0711BF1
hi Thanks again for the help. Splitting the -x and -y values worked. The video is just a bit blurry, but I can't see too well, so that could either be my vision or an artifact of the stretching. In any case, it's more than good enough. i can finally watch videos in the console. Thanks Kendell clark
Can you please tell me * why not use mplayer2 as you did before? * why not use any player in X?
On Thu, Oct 31, 2013 at 11:32:57PM +0100, Karol Blazewicz wrote:
On Thu, Oct 31, 2013 at 8:48 PM, <coffeekingms@gmail.com> wrote:
On Fri, Nov 01, 2013 at 02:33:08AM +0800, Rashif Ray Rahman wrote:
On 31 October 2013 17:55, <coffeekingms@gmail.com> wrote:
hi Thanks for the help. That worked better than my attempts did, although now when I start mplayer with the alias I get the following: [fbdev2] Screensize is smaller than video size (1600x900 < 1600x1200) FATAL: Cannot initialize video driver. I used to run into these issues all the time. Am I missing anything, or is it just not possible to watch videos in console with mplayer?
Yes, this will happen if the scaling done by mplayer pushes either of the resolutions to go beyond the real screen estate. In my experience, this has never happened. As you can read from the manual:
"value>8 Set width to value and calculate height to keep correct aspect ratio."
I get the same errors as you if I issue -xy 1367. For some reason, the height is scaled beyond your screen area. Try with a lower value, that will leave just a bit of black around the video. Please also try a Big Buck Bunny video. [1]
When all else fails, issue -x and -y separately (which breaks aspect ratio, stretching where needed).
[1] http://www.bigbuckbunny.org/index.php/download/
-- GPG/PGP ID: C0711BF1
hi Thanks again for the help. Splitting the -x and -y values worked. The video is just a bit blurry, but I can't see too well, so that could either be my vision or an artifact of the stretching. In any case, it's more than good enough. i can finally watch videos in the console. Thanks Kendell clark
Can you please tell me * why not use mplayer2 as you did before? * why not use any player in X? hi I have no problem using mplayer2. However, is it still maintained by the mplayer2 devs? if so I can go back, but if not, I want something that's kept up-to-date. As for x, I have no problem with x, but I'm blind, so primarily use text mode. I can use x just fine, but console mode is much, much faster, and uses less memory, but I can use vlc to play videos in x. Thanks Kendell clark
On 31.10.13 at 4:55, coffeekingms@gmail.com wrote:
On Thu, Oct 31, 2013 at 05:03:53PM +0800, Rashif Ray Rahman wrote:
On 31 October 2013 06:38, kendell clark <coffeekingms@gmail.com> wrote:
Since mplayer2 has been deprecated and moved to the aur, i've been trying to find another console video player that will play videos in full screen.
Fullscreen in console requires a trick, AFAIK. In fact, the 'fs' option has no major function; 'zoom' does the work, though I may be wrong. Append the following options:
-vo fbdev2 == Standard fbdev may not work. -zoom -xy WIDTH == Here WIDTH is your maximum horizontal screen resolution. -quiet == To suppress the info bar at bottom while maximized. -fs == To suppress background output while maximized.
Here's what I use for my 1366x768 screen:
alias climplayerfs='mplayer -quiet -softvol -fs -zoom -xy 1366 -vo fbdev2 -ao alsa -af volnorm'
-- GPG/PGP ID: C0711BF1
hi Thanks for the help. That worked better than my attempts did, although now when I start mplayer with the alias I get the following: [fbdev2] Screensize is smaller than video size (1600x900 < 1600x1200) FATAL: Cannot initialize video driver. I used to run into these issues all the time. Am I missing anything, or is it just not possible to watch videos in console with mplayer? Thanks Kendell clark
I have this little script which tries to preserve the aspect ratio, maybe it will work better for you: https://github.com/lahwaacz/archlinux-dotfiles/blob/master/Scripts/mplayer-c...
participants (5)
-
coffeekingms@gmail.com
-
Jakub Klinkovský
-
Karol Blazewicz
-
kendell clark
-
Rashif Ray Rahman