WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: looking for a gui audio player  (Read 17698 times)

Offline AmatCoder

  • Full Member
  • ***
  • Posts: 179
    • AmatCoder Projects
Re: looking for a gui audio player
« Reply #30 on: April 05, 2013, 05:28:39 PM »
Does it work with
Code: [Select]
$ gnome-mplayer --fullscreen "/path/to/video.avi"?



Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: looking for a gui audio player
« Reply #31 on: April 06, 2013, 11:23:14 AM »
AmatCoder , Have you tried this option because on mine it shows time slider at bottom but video window remains small & even on maximising it the video is not scaled to occupy whole screen just original resolution surrounded by black bands .

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: looking for a gui audio player
« Reply #32 on: April 06, 2013, 11:31:27 AM »
even on maximising it the video is not scaled to occupy whole screen just original resolution surrounded by black bands .

Reply #29 applies to that.

You didn't mention which video output driver you are using.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: looking for a gui audio player
« Reply #33 on: April 06, 2013, 11:36:08 AM »
On adding the following in gnome mplayer configuration > mplayer
-fs -zoom
I get video resized suitably in  small video window on top right corner & time slider at the middle base of desktop .
Enlarging video window causes it to spread over whole desktop as desired.
The problem remains that even after setting 'remember window location & size' . On subsequent startups , I get same small video window though i had maximised it on previous run .

Also note that '--fullscreen' option has been used with gnome-mplayer everytime.
It has been observed that video window position is being remembered but not its size .
I think fullscreen just causes the time slider to appear at bottom center  of desktop.

BTW , x11 video driver is being used.
« Last Edit: April 06, 2013, 11:43:08 AM by manit123 »

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: looking for a gui audio player
« Reply #34 on: April 06, 2013, 11:44:04 AM »
BTW , x11 video driver is being used.

Well, that explains it, x11 could only do software scaling and that at a very high CPU cost and therefore not recommended.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: looking for a gui audio player
« Reply #35 on: April 06, 2013, 11:50:13 AM »
Code: [Select]
mplayer -vo x11 -fs -zoom
is doing full screen on my setup, while maintaining aspect ratio, i.e. adding horizontal black bars, while

Code: [Select]
mplayer -vo x11 -x 1024 -y 768 -zoom
would do real full screen.

In first case, full screen can be toggled with 'F', which will not do anything in second case.
« Last Edit: April 06, 2013, 12:04:25 PM by tinypoodle »
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: looking for a gui audio player
« Reply #36 on: April 06, 2013, 02:25:37 PM »
I have not tried this but for gnome-mplayer you should be able to put extra arguments in:
Edit -> Preferences -> Mplayer -> Extra Options to MPlayer

Offline AmatCoder

  • Full Member
  • ***
  • Posts: 179
    • AmatCoder Projects
Re: looking for a gui audio player
« Reply #37 on: April 06, 2013, 05:38:30 PM »
AmatCoder , Have you tried this option because on mine it shows time slider at bottom but video window remains small & even on maximising it the video is not scaled to occupy whole screen just original resolution surrounded by black bands .

Yes, it is working fine here...  Which is your window manager? such problems are expected if you are using flwm_topside.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: looking for a gui audio player
« Reply #38 on: April 06, 2013, 08:49:36 PM »
such problems are expected if you are using flwm_topside.


Best to keep things apart - window sizing could be window manager dependent, while video scaling is most probably not.

"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: looking for a gui audio player
« Reply #39 on: April 08, 2013, 04:29:18 AM »
to tinypoodle , I have used mplayer which works well .
 I am trying to have gnome-player play video files full screen maintaining aspect ratio (black bands will come if desktop is 4:3 while video is 16:9)

To amatcoder ,
I am using flwm_topside but I can switch to fluxbox . Will that help ?
Also now black bands is not a problem just that video window does not come up full size (by default) whatever setting I do in gnome-player.
Also my sound is OSS , still it plays audio files with maximum volume though I have default set to 2.

Offline AmatCoder

  • Full Member
  • ***
  • Posts: 179
    • AmatCoder Projects
Re: looking for a gui audio player
« Reply #40 on: April 10, 2013, 05:01:45 PM »
I am using flwm_topside but I can switch to fluxbox . Will that help ?

Yes, any modern window manager should work fine. Note that you may need -zoom option in Preferences -> Mplayer -> Extra Options to MPlayer if you use Xvesa or x11 driver.

Also my sound is OSS , still it plays audio files with maximum volume though I have default set to 2.

Yes, I tried it and it is a bug... >:( I will report it.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: looking for a gui audio player
« Reply #41 on: April 10, 2013, 05:31:00 PM »
Also my sound is OSS , still it plays audio files with maximum volume though I have default set to 2.

With OSS it is easy to adjust volume per app (with ossmix or ossxmix).
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: looking for a gui audio player
« Reply #42 on: April 10, 2013, 05:42:30 PM »
Note that you may need -zoom option in Preferences -> Mplayer -> Extra Options to MPlayer if you use Xvesa or x11 driver.

"-zoom" is required for software scaling (not recommended!), e.g. with x11 driver.
Hardware scaling under Xvesa does not require "-zoom".
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: looking for a gui audio player
« Reply #43 on: April 12, 2013, 12:59:04 PM »
tinypoodle , did you mean
Code: [Select]
  ossmix mplayer +2
Raise mplayer volume by 2. This would only work  if  mplayer  is
              using the virtual mixer.
 
taken from http://manpages.ubuntu.com/manpages/natty/man1/ossmix.1.html
by
Quote
With OSS it is easy to adjust volume per app (with ossmix or ossxmix).

Still , I do not understand . I mean currently 'gnome-player %f' gets executed on double clicking . What changes I have to do ?

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: looking for a gui audio player
« Reply #44 on: April 13, 2013, 10:10:56 AM »
tinypoodle , did you mean
Code: [Select]
  ossmix mplayer +2
Raise mplayer volume by 2. This would only work  if  mplayer  is
              using the virtual mixer.
 
taken from http://manpages.ubuntu.com/manpages/natty/man1/ossmix.1.html

Yes exactly what I meant.

Quote
Still , I do not understand . I mean currently 'gnome-player %f' gets executed on double clicking . What changes I have to do ?

Well, neither do I understand what you really want to achieve and why; guessing by filling in the blanks you might want to control volume of mplayer independently of global volume control settings, in which case under OSS using ossmix is a valid approach, if you prefer you can use ossxmix, where each app should be represented by distinct sliders.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)