vlc fails to capture video and audio simultaneously

Bug #689122 reported by Andreas Gölzer
This bug affects 2 people
Affects Status Importance Assigned to Milestone
VLC media player
Fix Released
Rémi Denis-Courmont
vlc (Ubuntu)

Bug Description

Binary package hint: vlc

Trying to capture video from a webcam, I found that

vlc alsa://

will play sound, and

vlc v4l2://

will play video. Getting both together however does not seem to work. Various tutorials suggest

vlc v4l2:// --input-slave alsa://

however, that gives only video. Similarly,

vlc alsa:// --input-slave v4l2://

only plays audio. Specifying the alsa device, alsa://hw:0,0 does not change the behavior, neither does recording to disk instead of immediately playing.

Googling led me to a forum post, http://forum.videolan.org/viewtopic.php?f=13&t=62027 describing the same problem, however, the oss fallback is oblolete with maverick, if I'm not mistaken.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: vlc 1.1.4-1ubuntu1.1
ProcVersionSignature: Ubuntu 2.6.35-23.41-generic
Uname: Linux 2.6.35-23-generic x86_64
Architecture: amd64
Date: Sun Dec 12 02:09:07 2010
InstallationMedia: Kubuntu 10.10 "Maverick Meerkat" - Release Candidate amd64 (20100928.3)
 PATH=(custom, user)
SourcePackage: vlc

Related branches

Revision history for this message
Andreas Gölzer (k-2005) wrote :
Revision history for this message
Andreas Gölzer (k-2005) wrote :

This seems to be a weird problem with pulseaudio.

Using alsa://pulse or using padsp for oss emulation solves it. Once I get the time difference between video and audio worked out, I'll update the wiki,


Changed in vlc (Ubuntu):
status: New → Confirmed
Revision history for this message
Theatre-X (theatrex) wrote :

I experience this problem mostly when watching DVDs.

Revision history for this message
Rémi Denis-Courmont (rdenis) wrote :
Changed in vlc:
milestone: none → 2.0.2
tags: added: patch-accepted-upstream
Changed in vlc:
importance: Unknown → Undecided
status: Unknown → New
assignee: nobody → Rémi Denis-Courmont (rdenis)
status: New → Fix Released
Revision history for this message
Rémi Denis-Courmont (rdenis) wrote :

NOTE: Capturing from alsa://pulse will probably NEVER be fixed. Please use the native PulseAudio input for capture. Use ALSA only for direct hardware access.

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

This bug was fixed in the package vlc - 2.0.2-1

vlc (2.0.2-1) unstable; urgency=medium

  [ Edward Wang ]
  * New upstream release (Closes: #679625, #664279, LP: #689122, #936488,
    #942126, #971106, #972615, #973051, #987231, #995003, #998538).
    - Fix Ogg Heap buffer overflow. Thanks to Hugo Beauzée-Luyssen
  * Add the crystalhd plugin to the vlc distribution.
  * libcaca_plugin.so now depends on X11 in this release, so it must
    be installed under vlc (versus vlc-nox).

  [ Reinhard Tartler ]
  * Urgency set to medium because a security issue is fixed in this release

  [ Benjamin Drung ]
  * Add new plugins to vlc-nox:
    - crystalhd (Linux amd64 and i386 only)
    - directfb
    - fbosd (Linux only)
    - omxil (Linux only)
  * Add build dependencies for new plugins.
  * Add new symbols to libvlccore5.
  * Switch to debhelper 8.

 -- Benjamin Drung <email address hidden> Sat, 30 Jun 2012 18:39:41 +0200

Changed in vlc (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

visibility: public → private
visibility: private → public
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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