video file stop playing at correct speed because of sound samplerate, since pulseaudio

Bug #211052 reported by Benjamin Thyreau
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pulseaudio (Ubuntu)
Expired
Low
Unassigned

Bug Description

Hi,
Trying to play a basic video file out of my digital camera was very lagging, dropping most frames. Both Totem and mplayer showed that behaviour, and while vlc played smoothly, it had no sound.
It appeared that origin of this high lagging was that the video had a 8khz-sampled, which the computer couldn't play correctly anymore, probably since pulseaudio.
Playing the video in mplayer with "-af resample=44100" did in fact make the video playing correctly again.
This is a very annoying problem. Tested on up-to-date Hardy. My audio card seems to be
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)

The bug can easily be tested with the "-af resample=" parameter of mplayer, on any file.

Maybe pulseaudio can be configured to accept other samplerates that 44100 without freezing the video, i'll investigate further

Related branches

Revision history for this message
Benjamin Thyreau (benji2) wrote :

Note that changing (in /etc/pulse/deamon.conf ) "resample-method" to trivial didn't fix the problem which is 100% reproducible. This is a serious regression from Gutsy. Tested on a DELL D430 Laptop.

Revision history for this message
Daniel T Chen (crimsun) wrote :

Is this symptom still reproducible in 8.10 or 9.04?

Changed in pulseaudio:
status: New → Incomplete
Revision history for this message
Pedro Villavicencio (pedro) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to New. Thanks again!.

Changed in pulseaudio:
status: Incomplete → Invalid
Revision history for this message
Benjamin Thyreau (benji2) wrote :

This bus still occurs on Hardy (8.04), the most sold Ubuntu Desktop OS.
because of that bug, I can't use any camera videos on this computer.

Changed in pulseaudio:
status: Invalid → New
Daniel T Chen (crimsun)
Changed in pulseaudio:
importance: Undecided → Low
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pulseaudio - 0.9.14-0ubuntu11

---------------
pulseaudio (0.9.14-0ubuntu11) jaunty; urgency=low

  [ Daniel T Chen ]
  * Reenable 0030_set_tsched0.patch, which re-disables glitch-free;
    too many users are reporting regressions and audio aberrations.
  * Adjust 0003_change_resample_and_buffering.patch to use linear
    resampler to work better with lack of PREEMPT in jaunty's
    -generic kernel config (LP: #207135, #322250, #332761, #335955,
    LP: #336965).
  * Last upload, specifically 0091_workaround_alsa_horkage, fixes:
    LP: #235990, #237443, #279847, #317997, #323185, #330814,
    LP: #334874.
  * sudo -H change in ubuntu6 fixed LP: #312505.
  * Closing old bugs fixed in 0.9.11+: LP: #187963, #193520, #211052.
  * Refresh 0006_regen-autotools.patch.
  * Add 0043_load_sample_dir_lazy.patch to cache
    /usr/share/sounds/ubuntu/stereo/* in default.pa.
  * debian/:
    - control: Build against libcap2-dev (LP: #339448);
    - copyright: Update copyright from Debian's 0.9.14-2;
    - rules: Add DEB_OPT_FLAG = -O3 as per recommendation from
      pulseaudio-discuss/2007-December/001017.html.
  * Refresh fixes from git HEAD:
    - 0038_handle_errno_properly.patch,
    - 0091_workaround_alsa_horkage.patch,
    - 0092_fix_null_pointer_access.patch.

  [ Luke Yelavich ]
  * Add a special case to prevent Pulseaudio from being started when the
    blindness accessibility profile has been enabled from the Ubuntu live CD,
    and for an accessibility install. Unfortunately Pulseaudio and speech do
    not currently work very well with each other, and its too late in
    the cycle to solve this problem any other way.

 -- Luke Yelavich <email address hidden> Tue, 10 Mar 2009 09:00:40 +1100

Changed in pulseaudio:
status: Fix Committed → Fix Released
Revision history for this message
Benjamin Thyreau (benji2) wrote :

I just tested on Jaunty Beta Live CD, and this bug still occurs, exactly the same as in the stable Hardy LTS

I guess it was set as "Fixed" by mistakes. Switching back.

I'm still unable to correctly play any video-camera recorded file.

As mentionned above, it's very easy to check for this bug using the "-af resample=8000" flag of mplayer (as available in multiverse) to simulate camera-type video file with any video.

Changed in pulseaudio:
status: Fix Released → New
Revision history for this message
Daniel T Chen (crimsun) wrote : Re: [Bug 211052] Re: video file stop playing at correct speed because of sound samplerate, since pulseaudio

Please ensure that you have the new linux-image-2.6.28-11-generic installed.
It is available post-Beta.

On Mar 28, 2009 10:30 AM, "Benjamin Thyreau" <email address hidden> wrote:

I just tested on Jaunty Beta Live CD, and this bug still occurs, exactly
the same as in the stable Hardy LTS

I guess it was set as "Fixed" by mistakes. Switching back.

I'm still unable to correctly play any video-camera recorded file.

As mentionned above, it's very easy to check for this bug using the "-af
resample=8000" flag of mplayer (as available in multiverse) to simulate
camera-type video file with any video.

** Changed in: pulseaudio (Ubuntu)
      Status: Fix Released => New

-- video file stop playing at correct speed because of sound samplerate,
since pulseaudio https://...

Changed in pulseaudio (Ubuntu):
status: New → Incomplete
Revision history for this message
Daniel T Chen (crimsun) wrote :

Is this bug still reproducible in a current daily-live of Lucid?

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for pulseaudio (Ubuntu) because there has been no activity for 60 days.]

Changed in pulseaudio (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.