As said earlier, the lesser part of the problem is a regression in VLC
2.0.4. It is fixed in VLC-2.0 commits
0554a01551ae49613062c2d96701d277000e4109 and
9701837bb454c682ba5697e665d79d6e51ae305d.

The more quantitative part of the problem is a delay of about 2 seconds
in PulseAudio startup when the "alternate sample rate" feature is
enabled. I am not familiar with PulseAudio internals, so I do not know
the root cause. It might also be a weird ALSA driver bug, for all I
know. Anyhow, the problem can be worked around by forcing 'alternate-
sample-rate' to the same value as 'default-sample-rate' in
/etc/pulse/daemon.conf, e.g.:

default-sample-rate = 44100
alternate-sample-rate = 44100

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/1069232

Title:
  Sound lags when opening video files

Status in PulseAudio sound server:
  New
Status in VLC media player:
  Invalid
Status in “pulseaudio” package in Ubuntu:
  Confirmed
Status in “vlc” package in Ubuntu:
  Invalid

Bug description:
  When I open any video file from Nautilus or from VLC I see that video
  starts but there is no sound. It takes a few seconds and the sound
  appears, but since the beginning of the audio track. So video and
  sound are out of sync.

  The workaround is to rewind the video at the beginning by using the
  slider.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: vlc-nox 2.0.4-0ubuntu1
  ProcVersionSignature: Ubuntu 3.5.0-18.29-generic 3.5.7
  Uname: Linux 3.5.0-18-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.6.1-0ubuntu4
  Architecture: amd64
  Date: Sun Oct 21 01:33:08 2012
  ExecutablePath: /usr/bin/vlc
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Beta amd64 (20121006)
  MarkForUpload: True
  ProcEnviron:
   LANGUAGE=ru_UA:ru
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=ru_UA.UTF-8
   SHELL=/bin/bash
  SourcePackage: vlc
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/pulseaudio/+bug/1069232/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to