Re: a52 plugin: mplayer get A/V-async

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Adam Nielsen schrieb:
>> >> When a movie doesn't play, it shows weird behaviour: the video is
>> >> playing *extremely* slowly, the audio plays just fine for about the
>> >> first 100 seconds. Then mplayer gets so out of sync that it commits
>> >> suicide in a way. Here is some output:
> >
> > IIRC mplayer uses the audio as a timing source, so if there are any
> > issues with the audio it throws out the timing of the whole movie.
> >
> > I would suggest trying the A/V sync options to see if you can improve
> > the behaviour at all (-framedrop, -hardframedrop, -mc)

Okay, I first expermiented with those: behaviour didn't change. Then I
tried "-autosync 30" which improved things a bit - movie was still
playing extremely slowly, but it at least *displayed* that A/V were in
sync. Well, no huge improvement...

Then I tried to insert a filter which always converts the sample rate to
48000 Hz (as this seems to work with one movie perfectly) - voila! Did
the trick!

I inserted (right after the default filter):

pcm.Filter_RateConvert {
    type rate
    slave {
		pcm "Filter_Duplex"
		rate 48000
	}
}

> > Personally I've found ALSA's plugins very difficult to get working
> > reliably across a number of different programs, so the behaviour you
> > describe doesn't surprise me at all.  I still can't play mono audio
> > through some programs.

This sounds a bit annoying - ALSA is supposed to be robust software (it
seems like it's been there forever) - is this part still work in progress?

Thanks all for your help and pointers!

Greetings,
Johannes



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux