[MPlayer-users] debian wmv Video used to play but Doesn't now.

Nick Koretsky nick_koretsky at ukr.net
Wed Sep 12 21:32:26 EEST 2018


On Wed, 12 Sep 2018 12:22:35 -0500
"Martin McCormick" <martin.m at suddenlink.net> wrote:

> 	I have a file that I first acquired in 2006 called
> kosovo.wmv.  At that time, mplayer would play the sound with no
> trouble but it seems that no matter what I set in
> ~/.mplayer/config, there is no audio.  An example of the messages
> from mplayer follows:
> 
> ==========================================================================
> Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
> libavcodec version 57.64.101 (external)
> AUDIO: 32000 Hz, 2 ch, floatle, 40.0 kbit/1.95% (ratio: 5000->256000)
> Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
> ==========================================================================
> [AO_ALSA] Unable to set samplerate-2: Invalid argument
> Failed to initialize audio driver 'alsa'
> Could not open/initialize audio device -> no sound.
> Audio: no sound
> Starting playback...
> ==========================================================================
> Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
> libavcodec version 57.64.101 (external)
> AUDIO: 32000 Hz, 2 ch, floatle, 40.0 kbit/1.95% (ratio: 5000->256000)
> Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
> ==========================================================================
> [AO OSS] audio_setup: driver doesn't support SNDCTL_DSP_GETOSPACE :-(
> AO: [oss] 32000Hz 2ch s16le (2 bytes per sample)
> Starting playback...
> 
> 
> 	Any constructive suggestions are welcome.  The file in
> question is listed on youtube.  It is a good test file to see if
> one can play the sound from an older .wmv file and, so far, one
> can't although it used to play with no issues.
> 

You hardware doesnt support 32Khz. You need to either tell mplayer
to resample audio (-srate whatever you hardware support), or use
autoresampling driver like pulse.

-- 
  Nick Koretsky (nick.koretsky at gmail.com)
  


More information about the MPlayer-users mailing list