You are not logged in.

#1 2008-01-28 02:06:32

AlmaMater
Member
Registered: 2007-02-28
Posts: 92

*Solved*Problems with sound in Mplayer, DTS question

Hi all, im having a hard time trying to figure out whats the problem im experience that i cannot use alsa nor oss in mplayer nor anything except SDLlib audio output, if i try whit alsa i get a "Could not open/iniciate audio device error". Werd thing is that if i try to get to alsamixer

[almamater@boX ~]$ alsamixer
No mixer elems found

Some info:

[almamater@boX ~]$ lspci | grep -i audio
00:07.0 Audio device: nVidia Corporation MCP67 High Definition Audio (rev a1)
[almamater@boX ~]$ lsmod | grep snd
snd_hda_intel         295840  1
snd_seq_oss            29568  0
snd_seq_midi_event      6656  1 snd_seq_oss
snd_seq                47056  4 snd_seq_oss,snd_seq_midi_event
snd_pcm_oss            37152  0
snd_mixer_oss          14592  1 snd_pcm_oss
snd_usb_audio          76512  0
snd_pcm                69124  3 snd_hda_intel,snd_pcm_oss,snd_usb_audio
snd_timer              19332  2 snd_seq,snd_pcm
snd_page_alloc          8200  2 snd_hda_intel,snd_pcm
snd_usb_lib            15232  1 snd_usb_audio
snd_rawmidi            19232  1 snd_usb_lib
snd_seq_device          7052  3 snd_seq_oss,snd_seq,snd_rawmidi
snd_hwdep               7428  2 snd_hda_intel,snd_usb_audio
snd                    45476  13 snd_hda_intel,snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_usb_audio,snd_pcm,snd_timer,snd_rawmidi,snd_seq_device,snd_hwdep
soundcore               6496  1 snd
usbcore               123016  6 usbhid,snd_usb_audio,snd_usb_lib,ehci_hcd,ohci_hcd
#
# /etc/modprobe.conf (for v2.6 kernels)
#

# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF version 1.0.15 ---
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
# --- END: Generated by ALSACONF, do not edit. ---

I do have installed alsa-utils, alsa-lib alsa-oss,and i have alsa in the DAEMONS array. i can use alsa and oss whit wine for example, i can listen to music in amarok, all working great, but whit mplayer i cannot do anything. The strangest thing, was that it was working all good yesterday, i was able to access alsamixer and everything, and today found this error (wich i did had before and i dont know how i got it working)

an example of mplayer watching a movie

almamater@boX Movies]$ gmplayer test.mkv
MPlayer 1.0rc2-4.2.2 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 5600+ (Family: 15, Model: 67, Stepping: 3)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
115 audio & 237 video codecs
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing /home/almamater/Files/Movies/test.mkv.
[mkv] Track ID 1: video (V_MPEG4/ISO/AVC), -vid 0
[mkv] Track ID 2: audio (A_AC3), -aid 0, -alang und
[mkv] Will play video track 1.
Matroska file format detected.
VIDEO:  [avc1]  1280x528  24bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)
SUB: Detected subtitle file format: subviewer
SUB: Read 960 subtitles.
SUB: Adjusted 31 subtitle(s).
SUB: Added subtitle file (1): /home/almamater/Files/Movies/test.SRT
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 640.0 kbit/41.67% (ratio: 80000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
[AO_ALSA] alsa-lib: pcm_hw.c:1099:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: No such file or directory
[AO_ALSA] alsa-lib: pcm_dmix.c:866:(snd_pcm_dmix_open) unable to open slave
[AO_ALSA] Playback open error: No such file or directory
Could not open/initialize audio device -> no sound.
Audio: no sound
Starting playback...
VDec: vo config request - 1280 x 528 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 2.42:1 - prescaling to correct movie aspect.
VO: [xv] 1280x528 => 1280x528 Planar YV12
[almamater@boX snd]$ ls
controlC0  hwC1D0    pcmC1D0c  pcmC1D2c  timer
controlC1  pcmC0D0c  pcmC1D0p  seq
[almamater@boX snd]$

The DTS questions is that when i watch for example 5.1 or 7.1 channel movies, i only have 2 speakers,  and i want that those channels to mix into the 2 speakers, how ca i do it?? : s

Thanks for ANY help

cheers

Last edited by AlmaMater (2008-01-28 03:03:41)

Offline

#2 2008-01-28 02:31:34

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: *Solved*Problems with sound in Mplayer, DTS question

Get rid of those modprobe.conf lines and see if that improves anything.


1000

Offline

#3 2008-01-28 03:01:23

AlmaMater
Member
Registered: 2007-02-28
Posts: 92

Re: *Solved*Problems with sound in Mplayer, DTS question

byte wrote:

Get rid of those modprobe.conf lines and see if that improves anything.

Thanks! that worked smile

care to explain why those lines were giving me problems, for futures problems??
cheers dude : )


All now have left its my question about, how can i make a DTS sound movie or 5.1, to mix into my 2 speakers, so i can hear everything ok, because in some movies, i can hear all the effects great, but the voices too low and etc

thanks again

Last edited by AlmaMater (2008-01-28 03:04:15)

Offline

Board footer

Powered by FluxBB