Registered Member
|
I use Psi as my jabber client. It uses aplay as a default sound player on Linux. Now it does not work. I think, the reason is Phonon system.
Link to the Psi forum So, I am to use some small and fast sound player for Psi. Mplayer works good, but slow. The sound delays from the action about 0.5 - 2 seconds - that is uncomfortable. My idea is to use some command-line player which works through the phonon. And... I am looking for it
pavel, proud to be a member of KDE forums since 2008-Dec.
|
Registered Member
|
see sox
Amine27, proud to be a member of KDE forums since 2008-Oct.
|
Registered Member
|
I tried play program fron sox. But it does not work for me now:
If you see the link to Psi forum, you would see that my initial problem with aplay was very similar
pavel, proud to be a member of KDE forums since 2008-Dec.
|
Registered Member
|
Did you try:
There is also terminal commands for PulseAudio, oss4 and maybe gstreamer.
Last edited by SeaJey on Fri Feb 27, 2009 12:48 pm, edited 1 time in total.
kubuntu 10.04 AMD64 - KDE 4.4
AMD - radeonHD - M-Audio revolution 5.1 |
KDE Developer
|
That is almost certainly not related to Phonon. The sound setup of the distribution seems to have problems allowig more than one application access to the ALSA sound system. It is probably not using dmix or not routing sound through PulseAudio if it is using that. Cheers, _
anda_skoa, proud to be a member of KDE forums since 2008-Oct.
|
Banned
|
Back to first message.
KDE4 is using a sound player command to preview .ogg ou .wav files in Dolphin for example. What is this KDE4 sound player command ? (not looking for extra program like play or aplay). Thanks. |
Administrator
|
KDE 4 does not use a command to play audio files. It uses the Phonon framework and does it in process. As said by anda_skoa, it is most certainly related to problems with your ALSA configuration, or use of Pulseaudio.
It appears that DMix has an invalid configuration based on the error message.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Banned
|
Sorry but I did not say sound is not working.
I am just asking for a command. artsplay was available in KDE3 (/usr/bin/artsplay in libarts1c2a). I am looking for the equivalent in KDE4. Or said differently, what script could execute the phonon process ? |
KDE Developer
|
There is no such things as a Phonon process. Phonon is an API, not a multimedia framework or a sound daemon (aRts was both combined). You can use any command line tool, e.g. aplay from ALSA, or whatever command line tool GStreamer or Xine have. Cheers, _
anda_skoa, proud to be a member of KDE forums since 2008-Oct.
|
Administrator
|
Which backend do you have selected in System Settings > Multimedia?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Banned
|
The backend I use is phonon-backend-xine
|
Administrator
|
You may wish to try the "xine" executable in this case. Although it may be Xine's user interface, I am unsure since I do not have it installed.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Banned
|
xine launchs xine-ui.
The kde4 command is at lower level. |
Administrator
|
As stated previously, KDE uses the backend, which in turn interfaces with the underlying library for the chosen backend directly.
No playing command exists at this time, until a Qt based command line player, which uses the Phonon framework to play the file specified is written. You may wish to check the Qt examples, kde-apps.org, and kde-look.org where such applications may exist.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
A simple player is kphononplayer but an anoing window appears but, in Qt examples there is a simple example with code of a Phonon Media Player.
If you have programming skills must be easy create a command line phonon player. You can found the example here: http://doc.trolltech.com/main-snapshot/ ... layer.html Other option is locate kphononplayer code and remove the window code and compile your own version.
Ignacio Serantes, proud to be a member of KDE forums since 2008-Nov.
|
Registered users: Bing [Bot], claydoh, gfielding, Google [Bot], markhm, rblackwell, sethaaaa, Sogou [Bot], Yahoo [Bot]