No AC3 audio in 0.8.5 or 0.8.6 svn

*nix specific usage questions
velk
New Cone
New Cone
Posts: 3
Joined: 13 Aug 2006 11:04

No AC3 audio in 0.8.5 or 0.8.6 svn

Postby velk » 13 Aug 2006 11:10

Hi,

I am using Ubuntu dapper, and the 0.8.4 package for vlc works fine with AC3 audio, but suffers from horrible video corruption when playing x264 or quicktime mov files ( mainly apple trailers ), so I downloaded the 0.8.5 source and tried compiling that.

That worked fine, and resolves the video corruption error, but after that AC3 audio did not work at all. ( I purged the vlc package prior to doing make install on the newly compiled one and removed the .vlc directory btw ).

The error I get is :
[00000287] a52 decoder: A/52 channels:6 samplerate:48000 bitrate:448000
[00000278] main audio output error: couldn't find a filter for the first part of
the conversion
[00000278] main audio output error: couldn't set an input pipeline

I tried compiling and install the 0.8.6 svn from today, and it had the same problem, which leads to me to believe that I am perhaps missing an option or library that I need to specify at compile time, but I am having no luck in determining which one it is. For audio I am using a nforce2 via ALSA, and the alsa config is setup correctly for passthrough, used to work on 0.8.4, still works for both xine and mplayer.

Anyone got any suggestions ?

xtophe
Big Cone-huna
Big Cone-huna
Posts: 1209
Joined: 24 Nov 2003 10:12
Location: Bristol, England

Postby xtophe » 13 Aug 2006 19:24

You need liba52

You can also try the packages on http://nightlies.videolan.org
Xtophe

velk
New Cone
New Cone
Posts: 3
Joined: 13 Aug 2006 11:04

Postby velk » 15 Aug 2006 01:38

Hi, thanks for that, I tried the binaries ( final ) from the link you provided, and the AC3 audio works fine with them, however the video corruption issue pops up again. ( I know that's a bit vague, but for an example, in the 1080p batman begins trailer, the warner logo is fine at the very start, but when it explodes into bats, the entire screen becomes heavily pixellated and gets worse from there ).

I checked out liba52, and I have the binary and development package from ubuntu installed - liba52-0.7.4 and liba52-0.7.4-dev - do I possibly need a more current version ?

The configure output from the sources looks ok in that respect

checking a52dec/a52.h usability... yes
checking a52dec/a52.h presence... yes
checking for a52dec/a52.h... yes
checking for a52_free in -la52... yes

velk
New Cone
New Cone
Posts: 3
Joined: 13 Aug 2006 11:04

Postby velk » 15 Aug 2006 14:40

Some further info - the messages window when playing a video with AC3 audio :

a52: A/52 channels:2 samplerate:48000 bitrate:192000
main debug: no aout present, spawning one
main debug: looking for audio output module: 4 candidates
main debug: thread 2952915888 (aout) created at priority 0 (alsa.c:662)
main debug: using audio output module "alsa"
main debug: output 'spdi' 48000 Hz Dolby frame=1536 samples/6144 bytes
main debug: mixer 'a52 ' 48000 Hz Dolby frame=1536 samples/6144 bytes
main debug: filter(s) 'a52 '->'spdi' 48000 Hz->48000 Hz Dolby->Dolby
main debug: looking for audio filter module: 24 candidates
main debug: using audio filter module "a52tospdif"
main debug: found a filter for the whole conversion
main debug: looking for audio mixer module: 3 candidates
main debug: using audio mixer module "spdif_mixer"
main debug: input 'a52 ' 48000 Hz Dolby frame=1536 samples/768 bytes
main debug: audio output is too slow (-50623), trashing 32000us
main debug: audio output is too slow (-82595), trashing 32000us

------
And the settings from vlcrc :

spdif=1
aout=alsa
alsadev=hw:0,2

( card 0: nForce2 [NVidia nForce2], device 2: Intel ICH - IEC958 [NVidia nForce2 - IEC958]
Subdevices: 1/1
Subdevice #0: subdevice #0 )


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 41 guests