a52 plugin: mplayer get A/V-async

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

 



Hello list,

there's another problem I encountered with the a52 plugin *sigh*... I
have it setup so it does routing and then A52 encoding. Everything works
beautifully using xmms. Some movies play just fine with mplayer. Others
don't. I have no idea why.

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:

At first:
A:   2.0 V:   0.6 A-V:  1.420 ct:  0.022  12/ 10 ??% ??% ??,?% 5 0

Later on:
A:  10.6 V:   1.7 A-V:  8.939 ct:  0.065  40/ 37  5%  1%  5.9% 32 0

You can see that while the audio stream is at 10.6 seconds, the video
stream is still stuck at 1.7 seconds - 8.94 seconds delay.

After a while, it does the following:

Broken frame at 0x295AF0
A: 113.1 V:  15.9 A-V: 97.228 ct:  0.165 380/377  1%  1%  5.9% 350 0
Zu viele Videopakete im Puffer: (3742 in 8388936 Bytes).
Vielleicht spielst du eine(n) nicht-interleaved Stream/Datei, oder der
Codec funktioniert nicht. Versuche bei AVI-Dateien, den nicht-interleaved
Modus mit der Option -ni zu erzwingen.
[AO_ALSA] Schreibfehler: Broken pipe
[AO_ALSA] Versuche Reset der Soundkarte.
A: 113.1 V:  15.9 A-V: 97.230 ct:  0.169 381/378  1%  1%  5.9% 350 0

Or translated (by me, mplayer doesn't seem to do i18n)

Broken frame at 0x295AF0
A: 113.1 V:  15.9 A-V: 97.228 ct:  0.165 380/377  1%  1%  5.9% 350 0
Too many pakets in videobuffer: (3742 in 8388936 Bytes).
Maybe you're playing a non-interleaved stream/file, or the codec isn't
working. Try to force non-interleaved mode with AVI-files with the -ni
command line option.
[AO_ALSA] Write error: Broken pipe
[AO_ALSA] Trying to reset sound card.
A: 113.1 V:  15.9 A-V: 97.230 ct:  0.169 381/378  1%  1%  5.9% 350 0

When I pass the -ao alsa:noblock option to mplayer, the error looks
differnt: A/V doesn't get out of sync, but I get *tons* of this error
message:

[AO_ALSA] Write error: Resource temporarily unavailable 1.0% 51 0
[AO_ALSA] Trying to reset sound card.
[AO_ALSA] Error preparing pcm: Device or resource busy

And the audio breaks up permanently (sounding horrible).

When I play directly (not using the A52 plugin, it works - but then I
only get audio through my front speakers, which is not what I want).

Is this an ALSA or mplayer problem? I hope someone knows...

Thanks in advance,
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