Re: Mplayer can't read a 48kHz/24bit wave. No problem with aplay.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]<

 



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.
> 
> Any clue?

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.

Regards,
R.

-- 
MPlayer http://mplayerhq.hu | RPMFusion http://rpmfusion.org
There should be a science of discontent. People need hard times and
oppression to develop psychic muscles.
	-- from "Collected Sayings of Muad'Dib" by the Princess Irulan
_______________________________________________
MPlayer-users mailing list
MPlayer-users@xxxxxxxxxxxx
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users

[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux