Jacob Meuser schrieb:
On Sun, Oct 11, 2009 at 07:58:46PM +0200, Markus Hennecke wrote:
Jacob Meuser wrote:
for that matter, who uses the SDL flavor? how and why? afaik, newer
mplayer should be just as capable and fast at video rendering, and
there should be no need to use SDL for audio.
I do. It works reasonable fast on a non accelerated X (radeon without xv
support)
is '-vo sdl' really any more efficient than '-vo x11'? please try
with the newly updated mplayer. the libswscale conversions should
be as good as, if not better than, what's in SDL. actually, even the
mplayer-1.0rc2 packages have libswscale enabled, iirc, though that
version was fairly "young". if there's no Xv support, SDL is using
"plain" X11, just like -vo x11. SDL does have efficient converters/
scalers, which mplayer used to not have, but does these days.
Like Marc already pointed out I am using SDL so that the resolution is
switched to a smaller one while playing videos full screen. I'll check
if I can achive the same effect with the x11 driver. While using 4.5 on
that machine I was able to play videos via the gl driver, unfortunately
DRI stopped working with 4.6, so I switched back to the SDL driver which
I used with 4.4.
to play videos and SDL audio comes in handy while watching
DVDs. The sndio driver won't play some formats AFAIR.
mplayer decodes whatever format is on the DVD to PCM before sending it
to the audio backends. mplayer also downmixes everything to at most
2 channels by default. you have to tell it not to downmix. so the
backends always get 16-bit stereo signed linear, 48 or 96 kH sample
rate when playing DVDs. there are only so many valid DVD audio
formats. I really don't see how the SDL backend could work for
a DVD and the sndio backend couldn't.
I really don't recall when I had that problem, I'll check some DVDs of
mine to find the ones that caused the problem. Could be stupid user
error, but AFAIR switching the audio driver to SDL fixed it.
otoh, introducing SDL's event loop for video playback could have
been messing something up, that got fixed when using SDL audio.
maybe, I dunno.
It fixed some of my out of sync problems between audio and video. Don't
know if this is still a problem with the x11 driver.
I think I will update that machine to current again and recheck everything.
Kind regards,
Markus