[MPlayer-users] Mplayer can't read a 48kHz/24bit wave. No problem with aplay.
Paride Legovini
legovini at spiro.fisica.unipd.it
Mon Mar 16 16:55:58 CET 2009
On Tue, Feb 24, 2009 at 11:27:04AM +0100, Martijn van Beurden wrote:
> Dominik 'Rathann' Mierzejewski schreef:
> > On Monday, 23 February 2009 at 19:12, Paride Legovini wrote:
> >
> >> I have a 24kHz/24bit wave file:
> >>
> >> $ file antani.wav
> >> antani.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 24
> >> bit, stereo 48000 Hz
> >>
> >> My sound card supports this format, and so I can play it with 'aplay'
> >>
> > [...]
> >
> >> But I have problems in playing the 24bit/44.1kHz file with mplayer:
> >>
> >> $ mplayer -ao alsa:device=hw=1.0 antani.wav
> >>
> >> ==========================================================================
> >> Opening audio decoder: [pcm] Uncompressed PCM audio decoder
> >> AUDIO: 48000 Hz, 2 ch, s24le, 2304.0 kbit/100.00% (ratio: 288000->288000)
> >> Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
> >> ==========================================================================
> >> [AO_ALSA] Format s24le is not supported by hardware, trying default.
> >> [AO_ALSA] Unable to set format: Invalid argument
> >> Failed to initialize audio driver 'alsa:device=hw=1.0'
> >> Could not open/initialize audio device -> no sound.
> >
> > We need full uncut output of mplayer -v -ao alsa:device=hw=1.0 antani.wav
> > Does it work if you don't specify the audio device manually?
> > You could also try -format s24le.
>
> I have the same problem here, and adding -format s24le wont help. I
> think it's because there's a difference between s24le and s24_3le (?)
> and I don't know a -format option for s24_3le.
Hello Martijn, did you finally find a solution to this?
I'm still stuck there, but I didn't investigate a very further.
Let me know!
pl
More information about the MPlayer-users
mailing list