debian wmv Video used to play but Doesn't now.
"Martin McCormick" <[email protected]>
| Newsgroups | gmane.comp.video.mplayer.user |
|---|---|
| Message-ID | <E1g08qa-0001Vh-0a@wb5agz> |
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: $mplayer -quiet ~/videos/kosovo.wmv MPlayer 1.3.0 (Debian), built with gcc-6.2.1 (C) 2000-2016 MPlayer Team Playing /home/martin/videos/kosovo.wmv. libavformat version 57.56.101 (external) Mismatching header version 57.56.100 ASF file format detected. [asfheader] Audio stream found, -aid 1 [asfheader] Video stream found, -vid 2 VIDEO: [WMV2] 320x240 24bpp 1000.000 fps 185.0 kbps (22.6 kbyte/s) ========================================================================== Forced video codec: null Opening video decoder: [null] Null video decoder Movie-Aspect is undefined - no prescaling applied. VO: [null] 320x240 => 320x240 BGR 24-bit Selected video codec: [null] vfm: null (NULL codec (no decoding!)) ========================================================================== Load subtitles in /home/martin/videos/ ========================================================================== 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... Exiting... (End of file) The ~/.mplayer/config file is set as follows: # Write your default config options here! lirc=NO joystick=NO vc=null vo=null #ao=oss ao=alsa If I take out ao=alsa and replace that with ao=oss, we get pretty much the same results except that the mute playback appears to either never end and lasts far longer than the video normally runs. When run without the -quiet flag, it prints the progress indicator and that indicator stops counting when one presses the Space bar and resumes counting on the next press but that's all. The -quiet session using ao=oss produces the following: $ mplayer -quiet ~/videos/kosovo.wmv MPlayer 1.3.0 (Debian), built with gcc-6.2.1 (C) 2000-2016 MPlayer Team Playing /home/martin/videos/kosovo.wmv. libavformat version 57.56.101 (external) Mismatching header version 57.56.100 ASF file format detected. [asfheader] Audio stream found, -aid 1 [asfheader] Video stream found, -vid 2 VIDEO: [WMV2] 320x240 24bpp 1000.000 fps 185.0 kbps (22.6 kbyte/s) ========================================================================== Forced video codec: null Opening video decoder: [null] Null video decoder Movie-Aspect is undefined - no prescaling applied. VO: [null] 320x240 => 320x240 BGR 24-bit Selected video codec: [null] vfm: null (NULL codec (no decoding!)) ========================================================================== Load subtitles in /home/martin/videos/ ========================================================================== 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... Exiting... (Quit) The exit occurred after typing q. ao=oss seems to cause it to attempt to play nothing forever but the alsa driver causes the attempt to play to last about as long as a proper play of that video should run. 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. Martin McCormick WB5AGZ _______________________________________________ MPlayer-users mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users