Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 433479

Summary: media-video/vlc and Pulseaudio
Product: Gentoo Linux Reporter: Erik <fallosistema>
Component: Current packagesAssignee: Arun Raghavan (RETIRED) <ford_prefect>
Status: RESOLVED FIXED    
Severity: normal CC: aballier, media-video, sound
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Erik 2012-08-31 01:45:22 UTC
When i try to play any video with DTS sound and pulseaudio is selected as default audio output sound is distorted.
If i delete ~/.pulse sound is fine but when i reboot fails again.
If alsa output is selected ,sound is fine but if press pause key and i try to play again sound is gone.

i installed git versions of vlc but bug is still there also i emerged pulseaudio v2 but is worse because alsa-plugins failts to.
Comment 1 Erik 2012-09-07 00:31:57 UTC
I guess is an Alsa limitation with pulseaudio , DTS sound is 24 bits , and alsa dont support it, with the new release of alsa it seems solved :

The ALSA 1.0.26 release features various API improvements to the Advanced Linux Sound Architecture library, improvements to the ALSA utilities, various improvements to the ALSA tools, and two minor improvements (including 24-bit format audio support for PulseAudio) to the ALSA plug-ins

I will wait portage alsa update for test it ;)
Comment 2 Erik 2012-09-07 22:48:55 UTC
I update alsa-libs and alsa-plugins to 1.0.26 and same problem :(
Comment 3 Erik 2012-09-09 13:49:50 UTC
(In reply to comment #2)
> I update alsa-libs and alsa-plugins to 1.0.26 and same problem :(

Finally solved, alsa-plugins and alsalib 1.0.26 is needed for 24 bits (DTS) and pulseaudio ,after emerge this requirements open vlc like this:

vlc --codec avcodec

DTS is now fine ;)
Comment 4 Erik 2012-09-10 23:18:33 UTC
Another way for don't type the complete tag is emerge the ebuild with -dts use flag ,then vlc will use libavcodec as default.