[Mplayer-dvb] audio and video out of sync :-(

Clemens Ender ender at sbox.tugraz.at
Mon Oct 29 08:43:55 CET 2001


> > Oh. You kinda confused me now. Audio playback is currently *always* via
> > soundcard, no matter what codec is used, right ?
> > For what you said above I had the impression that audio in
MPEG1/2-stream
> > was sent to the DVB-card for output.
>
> No. audio is always decoded by mplayer and played by soundcard.
> It comes from mplayer's design - audio and video are separated at demuxer
> level. It's the main reason why is no audio-via-dvb support commited yet.
I
> have to do big design changes in both demuxer and timing (a-v sync) layer.
>
> The quick'n'dirty way is implementing ao_dvb which passes audio to the
stream
> opened by vo_mpegpes, but i won't keep this code - too messy.
>
> The main problem is that mplayer was designed for software playback. It
has
> its own timers, and everything is synced to the soundcard. I have to give
> this up to get hardware decoders work well.

Oh thnx for the explaination. Seems I'm starting to learn more and more
about mplayer.
For me it's one REAL killerapp in linux. ;-)

l8r,
  Clemens





More information about the MPlayer-dvb mailing list