This still works for me on trusty:

>> avconv -loglevel debug -f pulse -i default -y test.wav\
avconv version 9.13-6:9.13-0ubuntu0.14.04.1, Copyright (c) 2000-2014 the Libav 
developers
  built on May  9 2014 13:34:03 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
  configuration: --arch=amd64 --enable-pthreads --enable-runtime-cpudetect 
--extra-version='6:9.13-0ubuntu0.14.04.1' --libdir=/usr/lib/x86_64-linux-gnu 
--prefix=/usr --enable-bzlib --enable-libdc1394 --enable-libfreetype 
--enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame 
--enable-librtmp --enable-libopenjpeg --enable-libopus --enable-libpulse 
--enable-libschroedinger --enable-libspeex --enable-libtheora --enable-vaapi 
--enable-vdpau --enable-libvorbis --enable-libvpx --enable-zlib --enable-gpl 
--enable-swscale --enable-libcdio --enable-x11grab --enable-libx264 
--enable-libxvid --shlibdir=/usr/lib/x86_64-linux-gnu --enable-shared 
--disable-static
  libavutil     52.  3. 0 / 52.  3. 0
  libavcodec    54. 35. 0 / 54. 35. 0
  libavformat   54. 20. 4 / 54. 20. 4
  libavdevice   53.  2. 0 / 53.  2. 0
  libavfilter    3.  3. 0 /  3.  3. 0
  libavresample  1.  0. 1 /  1.  0. 1
  libswscale     2.  1. 1 /  2.  1. 1
Splitting the commandline.
Reading option '-loglevel' ... matched as option 'loglevel' (set libav* logging 
level) with argument 'debug'.
Reading option '-f' ... matched as option 'f' (force format) with argument 
'pulse'.
Reading option '-i' ... matched as input file with argument 'default'.
Reading option '-y' ... matched as option 'y' (overwrite output files) with 
argument '1'.
Reading option 'test.wav' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set libav* logging level) with argument debug.
Applying option y (overwrite output files) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input file default.
Applying option f (force format) with argument pulse.
Successfully parsed a group of options.
Opening an input file: default.
[pulse @ 0x264d020] All info found
[pulse @ 0x264d020] Estimating duration from bitrate, this may be inaccurate
Guessed Channel Layout for  Input Stream #0.0 : stereo
Input #0, pulse, from 'default':
  Duration: N/A, start: 0.635570, bitrate: N/A
    Stream #0.0, 1, 1/1000000: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 
kb/s
Successfully openened the file.
Parsing a group of options: output file test.wav.
Successfully parsed a group of options.
Opening an output file: test.wav.
Successfully openened the file.
[abuffer source @ 0x264dd20] Setting value '1/48000' for key 'time_base'
[abuffer source @ 0x264dd20] Setting value '48000' for key 'sample_rate'
[abuffer source @ 0x264dd20] Setting value 's16' for key 'sample_fmt'
[abuffer source @ 0x264dd20] Setting value '0x3' for key 'channel_layout'
[abuffer @ 0x2657e80] tb:1/48000 samplefmt:s16 samplerate: 48000 ch layout:0x3
[aformat filter @ 0x264e0c0] Setting value 's16' for key 'sample_fmts'
[abuffersink @ 0x264e4a0] auto-inserting filter 'auto-inserted fifo 0' between 
the filter 'audio format for output stream 0:0' and the filter 'output stream 
0:0'
Output #0, wav, to 'test.wav':
  Metadata:
    ISFT            : Lavf54.20.4
    Stream #0.0, 0, 1/48000: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (pcm_s16le -> pcm_s16le)
Press ctrl-c to stop encoding
size=     420kB time=2.24 bitrate=1536.4kbits/s      
video:0kB audio:420kB global headers:0kB muxing overhead 0.018136%
Received signal 2: terminating.
zsh: exit 255   avconv -loglevel debug -f pulse -i default -y test.wav

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

Title:
  avconv do not support "-f pulse"

Status in the libav multimedia framework:
  Fix Released
Status in “libav” package in Ubuntu:
  Fix Released

Bug description:
  
  $ avconv -f pulse -i default test.wav
  avconv version 0.8.4-4:0.8.4-0ubuntu0.12.04.1, Copyright (c) 2000-2012 the 
Libav developers
    built on Nov  6 2012 16:51:33 with gcc 4.6.3
  Unknown input format: 'pulse'
  $

  
  Pulseaudio is the default sound system in most used distro Ubuntu

  So - Pulseaudio should be supported.
  Pulseaudio lets me record from "monitor" source 
  => PA support is necessary to grab desktop with sound without manual switch 
of source in pulseaudio control panel.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: libav-tools 4:0.8.4-0ubuntu0.12.04.1
  ProcVersionSignature: Ubuntu 3.2.0-34.53-generic 3.2.33
  Uname: Linux 3.2.0-34-generic x86_64
  ApportVersion: 2.0.1-0ubuntu15
  Architecture: amd64
  Date: Tue Dec  4 19:01:53 2012
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120401)
  MarkForUpload: True
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=cs_CZ.UTF-8
   SHELL=/bin/bash
  SourcePackage: libav
  UpgradeStatus: No upgrade log present (probably fresh install)

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to