Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#31139 - [pulseaudio] Can't use PulseAudio as input for ffmpeg
Attached to Project:
Arch Linux
Opened by David Lynam (coconutlulz) - Wednesday, 15 August 2012, 14:08 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Saturday, 17 November 2012, 18:56 GMT
Opened by David Lynam (coconutlulz) - Wednesday, 15 August 2012, 14:08 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Saturday, 17 November 2012, 18:56 GMT
|
DetailsDescription:
Using PulseAudio (with a null sink and loopback) as the audio input for ffmpeg causes severe distortion in the output after 20-40 seconds of encoding. Additional info: Linux 3.4.8-1-ARCH #1 SMP PREEMPT pulseaudio 2.1-1 alsa-lib 1.0.25-1 alsa-utils 1.0.25-3 ffmpeg 1:0.11.1-1 and N-43565-gaec9390 pavucontrol 1.0-1 Forum thread here: https://bbs.archlinux.org/viewtopic.php?id=147060 Experienced by at least one other user of PA: http://www.linuxquestions.org/questions/linux-software-2/pulse-audio-module-loopback-distortion-942066/ * config and/or log files etc. Attached. Steps to reproduce: Set up a null sink and loopback monitor of sound card output to the sink. Run ffmpeg and use pavucontrol to direct the monitor of the null sink to ffmpeg. Open the output file or view the stream (if streaming); around 30 seconds into the video, sound will suddenly contain loud glitches, distortions and increases/decreases in speed and pitch. Workaround: Modifying /etc/pulse/default.pa to re-enable interrupt-based scheduling (load-module module-udev-detect tsched=0) seems to alleviate the distortion problem but also increases CPU consumption and makes sound unusuable in Wine. Variables which have been tinkered with to no avail: (PA) real-time priority (PA) high priority (PA/ffmpeg) sampling rate (pavucontrol) muting different inputs, outputs, removing microphone/USB headset (ffmpeg) building from git (ffmpeg) changing audio encoding, trying every thread value from 0-6 (6-core CPU) |
This task depends upon
Closed by Gerardo Exequiel Pozzi (djgera)
Saturday, 17 November 2012, 18:56 GMT
Reason for closing: Upstream
Additional comments about closing: Please report to upstrem. Re-open if needed with a link to report.
Saturday, 17 November 2012, 18:56 GMT
Reason for closing: Upstream
Additional comments about closing: Please report to upstrem. Re-open if needed with a link to report.
Comment by Jan Alexander Steffens (heftig) -
Friday, 17 August 2012, 08:39 GMT
Please bring this upstream to http://bugs.freedesktop.org
Comment by Greg (dolby) -
Saturday, 17 November 2012, 03:50 GMT
Upstream report?
everything.log_alsa-sink