[MPlayer-dev-eng] mplayer-1.0rc2: fspp is broken
Jindrich Makovicka
makovick at gmail.com
Sat May 3 19:17:32 CEST 2008
On Wed, 30 Apr 2008 10:14:15 +0200
Denys Vlasenko <vda.linux at googlemail.com> wrote:
> Hello,
>
> mplayer-1.0rc1 was working ok for me. rc2 seems
> to have problems with fspp.
>
> mplayer -vf fspp=5:1:6 movie.avi - produces loud
> hissing sound instead of normal audio (video seems
> to be ok).
I have a similar issue, and I am beginning to suspect that there is
something rotten in ALSA's silence stuffing logic, and the
sound distortion problems are triggered by delays in the decoding
introduced by cpu-intensive filters, rather than by the memory errors.
If you are using -ao alsa, could you
1) try the same with oss
2) try out the following patch?
--- libao2/ao_alsa.c (revision 26650)
+++ libao2/ao_alsa.c (working copy)
@@ -690,6 +690,7 @@
snd_strerror(err));
return 0;
}
+#if 0
#if SND_LIB_VERSION >= 0x000901
/* play silence when there is an underrun */
if ((err = snd_pcm_sw_params_set_silence_size(alsa_handler,
alsa_swparams, boundary)) < 0) { @@ -698,6 +699,7 @@
return 0;
}
#endif
+#endif
if ((err = snd_pcm_sw_params(alsa_handler, alsa_swparams)) < 0) {
mp_msg(MSGT_AO,MSGL_ERR,MSGTR_AO_ALSA_UnableToGetSwParameters,
snd_strerror(err));
Regards,
--
Jindrich Makovicka
More information about the MPlayer-dev-eng
mailing list