LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-21-2009, 06:17 PM   #1
Josh000
Member
 
Registered: Aug 2009
Distribution: Slackware 13 64bit
Posts: 534

Rep: Reputation: 35
Mplayer from slackbuild


I just grabbed the latest mplayer source snapshot and slackbuild, and modified only the version information.

It compile fine with the theme, but I notice the swscaler is not working. i.e. when I press for for fullscreen, the size of the video does not change, there is just a massive black border.

I am sure I can change this with command line switches, however I would prefer to have the default be to scale properly, using my hardware if possible. Which configure switches if any would e relevant here?

I also have two other questions.

1. The default blue theme looks terrible in fluxbox running at 1680x1050 resolution. Can anyone recommend some themes that look good from personal experience?

2. Does anyone know if it exists or is possible to add in such functionality to mplayer that you can press pdgn or some other key to play the next file in the directory?

Cheers
 
Old 12-21-2009, 07:07 PM   #2
raconteur
Member
 
Registered: Dec 2007
Location: Slightly left of center
Distribution: slackware
Posts: 276
Blog Entries: 2

Rep: Reputation: 44
There should be a file named config in your ~/.mplayer directory.

Try vo=xv to set the video output to xv (XVideo).
Then also try the zoom option to scale the video.

Note the scalers won't (afaik) scale video in both horizontal and vertical dimensions simultaneously.
The longest dimension will be used and the aspect ratio will be preserved, resulting in at least two black bands on either the sides or top/bottom of the display.

According to the docs, "MPlayer allows you bind any key/button to any MPlayer command".
Please see the mplayer documentation here for more info on configuration settings.
 
Old 12-21-2009, 07:41 PM   #3
Josh000
Member
 
Registered: Aug 2009
Distribution: Slackware 13 64bit
Posts: 534

Original Poster
Rep: Reputation: 35
Hi raconteur,

When I have compiled mplayer on windows, it scales automatically wihtout needing to have a config file.

I am wondering if I can likewise make scaling the default when compiling for Linux, rather than having to configure it.

I am aware that I can bind any function to any key in mplayer, but I wonder if mplayer actually supports the functionality that I describe, as I could not find this out.
 
Old 12-22-2009, 04:37 PM   #4
Josh000
Member
 
Registered: Aug 2009
Distribution: Slackware 13 64bit
Posts: 534

Original Poster
Rep: Reputation: 35
OK, I can't get any of the video output methods to output to fullscreen proplerly, however playing files with xine is not a problem.

However, I cannot figure out which video output xine is using, as the video tab in setup is blank.

I would really prefer to be able to use mplayer if possible.
 
Old 12-30-2009, 06:28 AM   #5
Josh000
Member
 
Registered: Aug 2009
Distribution: Slackware 13 64bit
Posts: 534

Original Poster
Rep: Reputation: 35
Still struggling with this, does anyone have any insight?
 
Old 12-30-2009, 06:47 AM   #6
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.2
Posts: 1,538

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
I've actually had this problem in dosbox before. I never did find a fix
 
Old 12-30-2009, 08:27 PM   #7
forum1793
Member
 
Registered: May 2008
Posts: 312

Rep: Reputation: 34
Josh,

In xine->settings - gui tab, change experience level to expert or master. Then you should be able to see what is on audio and video tab.

Both xine and mplayer create their own config files/directories and they can be edited or changed by the gui, although maybe mplayer has a config for gui settings and a separate one for cli, I can't remember.

I think I also have issue about mplayer not ever scaling larger to take up more of screen. I like mplayer keys to move back a few seconds which xine doesn't seem to do but xine scales better so I usually use it. Mythtv does or did use mplayer for playback and I think it scaled so it should be doable with simple setting.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
MPlayer.Slackbuild cant compile. Scuzz Slackware 26 09-26-2009 04:54 PM
svn MPlayer slackbuild script: r29363 changes = no more docs andrew.46 Slackware 2 06-20-2009 08:52 AM
OO 3.01 slackbuild ? brodo Slackware 4 02-01-2009 05:06 PM
Question on SlackBuild for Mplayer and libdvdnav Lufbery Slackware 6 01-12-2008 08:25 AM
Slackbuild MPlayer trouble installing DaveXensen Linux - Desktop 1 02-13-2007 03:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:07 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration