• Welcome to OS2World OLD-STATIC-BACKUP Forum.
 

News:

This is an old OS2World backup forum for reference only. IT IS READ ONLY!!!

If you need help with OS/2 - eComStation visit http://www.os2world.com/forum

Main Menu

mplayer sound options

Started by zizban, 2010.02.09, 03:25:27

Previous topic - Next topic

zizban

I might a dunce, but what is the mplayer sound output supposed to be? I got the video part mplayer video.avi -vo sdl

RobertM

Quote from: zizban on 2010.02.09, 03:25:27
I might a dunce, but what is the mplayer sound output supposed to be? I got the video part mplayer video.avi -vo sdl

It depends on what you are trying to do. To simply suppress sound, it would be -nosound, otherwise it gets a little more complex...

Check out these pages:
http://www.mplayerhq.hu/DOCS/HTML/en/advaudio.html

http://www.mplayerhq.hu/DOCS/HTML/en/index.html

http://www.mplayerhq.hu/DOCS/HTML/en/commandline.html
(keep in mind any commandline options can actually simply be input as object icon parameters under OS/2)


|
|
Kirk's 5 Year Mission Continues at:
Star Trek New Voyages
|
|


zizban

no, I just want to hear sound.

RobertM

Quote from: zizban on 2010.02.09, 04:19:08
no, I just want to hear sound.

I dont use any options...


|
|
Kirk's 5 Year Mission Continues at:
Star Trek New Voyages
|
|


zizban


jep

I can't hear an with the new release of MPlayer and my AOpen AW320 soundcard (eCS 2.0 rc7 Silver + UNIAud). It doesn't emit anything, while Warpvision, the old version of Mplayer as well as the system sounds play fine.

If I press the + key it just show the ◢[............] in the window, but no ◢[■■■■.....] appear.

//Jan-Erik

Pete

Hi

Lack of sound in the current mplayer is something to do with " kai" being introduced to the software.

A brief look at the mplayer readme would show you:-


4.2 Setting Audio Driver
------------------------

  Add the foloowing options.
 
    -ao kai
   
  Or, if you specify nothing, UNIAUD -> DART is auto-selected.
But if you want to force a specific mode, add the following option.

    -ao kai:mode
   
  Where, mode can be 'uniaud', 'dart'. If you want DART mode, do the
following.

    -ao kai:dart
 
  If you want to open dart as an exclusive mode, do the following.
 
    -ao kai:noshare
   
  If you want to set audio buffer size, do the following.
 
    -ao kai:bufsize=size
   
  Where, size is in samples. Its default value is 2048.


I changed my %HOME%\.mplayer\config file from

ao=dart
to
ao=kai:dart

to resolve the lack of audio here after installing the current mplayer.


Regards

Pete

zizban

I did that and the sound didn't work until I went to Programs-->Multimedia--->Volume. I saw my laptop's speakers were off. Once I turned them on, everything worked.

jep

I did just that... ao=kai:dart in the config file.
even tried to remove the config all together to let it write it again... nope, totally mute.

Nothing appear on the other machine with built in sound card, not even the ◢[............]

System volume enabled here as well as sound scheme for startup, dragging etc.

//Jan-Erik

Pete

Hi jep

If you are using smplayer you need to set the audio option as User defined, kai:dart

I gather it may also be possible to get audio from mplayer using kai:uniaud - doesn't work here though.

Regards

Pete



Pete

Hi

Maybe I should start a new discussion called mplayer video options...

I've been checking what video output options work here. The answer is simple: Only dive works.

Using kva:snap produces no video and kva:wo seems to cause the app to misbehave - no audio at all, a green screen and requires "killing" using top as it cannot be closed in any other manner.

The readme suggests both snap and warpoverlay should work...

Anyone else got either snap or warpoverlay working with the latest mplayer? - and how?

Regards

Pete



osw

#11
Quote from: Pete on 2010.02.15, 22:36:55

Maybe I should start a new discussion called mplayer video options...


Hi!
Well, "Mplayer for dummies..." sounds more accurate here.

Here is content of my "amazingly working as expected" mplayer dir:

Directory of D:\PROGRAMS\mplayer

10-02-15 22:00          <DIR>      0 ----  .
10-02-12  8:31          <DIR>      0 ----  ..
04-07-17 11:39        367.112      0 ----  arial.ttf
10-01-11  9:13         34.236      0 a---  AUTHORS
10-01-11  9:13        132.403      0 a---  Changelog
08-08-07 15:25          <DIR>      0 a---  codecs
10-01-11  9:13          7.081      0 a---  Copyright
08-10-01 16:32        192.251    124 a---  dvdcss.dll
09-05-31 16:04         18.332      0 a---  LICENSE
10-01-14 13:33     13.973.497     61 a---  mencoder.exe
10-01-14 13:32     14.051.286     61 a---  mplayer.exe
09-02-08  5:19         74.162      0 a---  npmp.dll
10-01-19 11:31     14.051.286     61 a---  pmmplayer.exe
09-02-08  5:52          8.054      0 a---  README
10-01-14 14:10         12.866      0 a---  readme.eng
10-01-14 14:10         12.524      0 a---  readme.kor
10-01-16 15:09        106.017     54 a---  snapwrap.dll
10-01-19 11:23          <DIR>      0 a---  subs
10-02-15 22:00          1.075      0 a---  tt
      19 file(s)  43.042.182 bytes used

Here is D:\HOME\DEFAULT\.MPLAYER>config :

ao=kai:dart
vo=kva:snap
pp=6
double=yes
font=arial.ttf
subfont-text-scale=4
subcp=cp1250
#vf=screenshot=pp=de,hqdn3d=lavcdeint=denoise3d:4:3:6
#aspect=4:3
#aspect=16:9
subfont-encoding=unicode
#sub-no-text-pp=1
#noidx=1
# Settings for stream/file caching
#cache=8192
cache-min=30
#vf=expand=0:-80:0:0
# Setting for Browser User Agent response
user-agent=NSPlayer/4.1.0.3856
colorkey=0x000001

(note: some options are hashed as occasionally used)

My hardware:
video - radeon 9600 pro driven by snap
audio - sblive 5.1 driven by sandeers 0.8.2 beta driver (smp ready, bundled with ecs2xx)

And here is piece from snap readme:

(...)

Supported Graphics Chips for Overlays
-------------------------------------

The following is a list of graphics chipsets that have support for
hardware video overlays.  Video overlays allow video players to use
the graphics card for processing of video data, which decreases CPU
utilization and improves the quality of video when stretched.  Use
of this feature requires a video player with explicit support for it.

. ATI Rage IIC, Rage Pro, Rage LT Pro, Rage XL, Rage Mobility, Rage 128
. ATI Rage 128 Pro, Rage 128 Ultra, Rage Mobility 128, Rage Mobility 128-D4x
. ATI Radeon 7000, Radeon 7200, Radeon 7500, Radeon 8500, Radeon 8500DV
. ATI Mobility Radeon, Mobility Radeon 7000 IGP, Mobility Radeon 7500
. ATI Mobility Radeon 9000, Mobility Radeon 9000 IGP, Radeon 9000 Series
. ATI Radeon 9100 Pro IGP, Radeon 9100, Mobility Radeon 9200
. ATI Radeon 9200 Series, Radeon 9500, Radeon 9500 Pro, Radeon 9550
. ATI Mobility Radeon 9550, Mobility Radeon 9600, Radeon 9600 Series
. ATI Radeon 9600 XT, Radeon 9700 Pro, Mobility Radeon 9800, Radeon 9800
. ATI Radeon 9800 Pro, Radeon 9800 XT, Mobility Radeon X300, Radeon X550
. ATI Mobility Radeon X600, Radeon X300 Series, Radeon X600 Series
. ATI Mobility Radeon X800, Radeon IGP 320M / 340M, Radeon XPress 200
. ATI Mobility Radeon XPress 200, FireMV 2200, Radeon X700 Series
. ATI Radeon X800 Series, Radeon X850 Series
. Intel i845G, i865G, i915G/GV, i915GM/GMS, i945G, i945GM
. S3 SuperSavage/IXC
(...)
(another good reason to not use anything other than radeon with snap)

And really, no other magic here.
If you still find anything perplexing here - I give up.

cheers

btw. Dive output is shitty.

Pete

Hi osw

Well, Sorry, but your "mplayer for dummies" doesn't help... Thanks for the thoughts though.

There are a couple of minor differences in our directory listings for mplayer. I do not have the following files or directory:-

10-01-19 11:31     14.051.286     61 a---    pmmplayer.exe - is that on hobbes?
10-01-14 14:10         12.524      0 a---     readme.kor - not needed as I don't read Korean
10-02-15 22:00          1.075      0 a---  tt   no idea what this is
10-01-19 11:23          <DIR>      0 a---  subs   or this

Other than the above we have the same files.


The real difference is in your config file where you are using:-

vo=kva:snap

That simply fails to deliver any video here. At this point I should add that previous mplayer builds worked fine with the vo=kva:snap setting.


Graphics card in use here is an ATI X800; using SNAP as supplied with eCS2.0RC7

Regarding your view of dive: It certainly is not the best option but it is currently the *only* option.


I've sent an email to KO Myung-Hun asking about the video output problems experienced here and will post if I get either snap or warpoverlay working.


Regards

Pete

osw

Quote from: Pete on 2010.02.16, 02:01:49

10-01-19 11:31     14.051.286     61 a---    pmmplayer.exe - is that on hobbes?
10-01-14 14:10         12.524      0 a---     readme.kor - not needed as I don't read Korean
10-02-15 22:00          1.075      0 a---  tt   no idea what this is
10-01-19 11:23          <DIR>      0 a---  subs   or this

Hi Pete!

As for pmmplayer - it's ordinary mplayer with exe header changed so it does not produce debug window.
Here is receipt for:

(...)
  First of all, you need MARKEXE.EXE of ToolKit 4.5. If you have it, do the
following.

    copy mplayer.exe pmmplayer.exe
    markexe windowapi pmmplayer.exe

  Or, you can use 'emxbind.exe' instead of 'markexe.exe' as the following.

    emxbind -e -p pmmplayer.exe
(...)

Quite useful when mplayer is default system video player - to keep it silent with no extra debug window.

Other files and dirs in mplayer dir are meaningless here. Your install is the same as mine.
Given the fact you have very right hardware for mplayer with snapoverlay - I've found it very perplexing ;) - why no success?
As for warpoverlay - I've no idea if it does serve X800. Last time I've used it - support was somewhat limited in comparison to  snapoverlay. Anyway, bad to hear you are still out of luck. And I give up....

cheers

Pete

Hi

Having posted that the snap option does not work I just tried the straight vo=kva setting and mplayer used snap;  vo=kva:snap also works.

This has confused me because I've had a couple of weeks of that setting not working - and I have not changed anything on the system in that time.

Regards

Pete