LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-01-2012, 12:41 PM   #1
kev717
Member
 
Registered: May 2008
Distribution: Arch, Sabayon, Fedora, Ubuntu
Posts: 67

Rep: Reputation: 16
FFMPEG 0.8.9 audio recording causes clicking sounds


Whenever I'm recording a screencast using FFMPEG on Fedora 16 with pulseaudio I keep getting an annoying clicking n the background. The clicking does not exist in other audio recording programs, just ffmpeg. Is there any way I can eliminate this clicking?
FFMPEG command:
Code:
fmpeg -f x11grab -r 25 -s 1280x720 -i :0.0+100,320 -sameq -f alsa -i pulse -threads 2 -vcodec libx264 -vb 1000k -acodec libvorbis -ac 2 -ar 44800 -ab 128k test.mkv
The clicking sounds a bit like static, but as I said, I've eliminated the possibility of static.
 
Old 04-03-2012, 12:45 AM   #2
Slackyman
Member
 
Registered: Mar 2011
Location: Rome - Italy
Distribution: Slackware 13.1
Posts: 347

Rep: Reputation: 44
Have you tried to use another codec for your mkv audio?
 
Old 04-03-2012, 09:35 PM   #3
jefro
Guru
 
Registered: Mar 2008
Posts: 11,013

Rep: Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356
I'd guess the system is having a hard time with the work. Run top when you do this maybe.
 
Old 04-04-2012, 05:03 AM   #4
kev717
Member
 
Registered: May 2008
Distribution: Arch, Sabayon, Fedora, Ubuntu
Posts: 67

Original Poster
Rep: Reputation: 16
Other codecs give the same issue.

The system isn't working too hard with the encoding. CPU usage for ffmpeg is detected as 150% using top and "system monitor" detects that each CPU core is not going above 60% when I am running it. I have ffmpeg set to use 2 threads, but this also happens if I give it 4 threads (and uses the same CPU percentage).
 
Old 04-04-2012, 10:27 AM   #5
Slackyman
Member
 
Registered: Mar 2011
Location: Rome - Italy
Distribution: Slackware 13.1
Posts: 347

Rep: Reputation: 44
First of all make sure that is an encoder problem and not a decoder issue: try to open the created file on another machine and check if the sound is still "clicking".
As second step try to use another format (not mkv) as mpeg or mp4 keeping the codecs so that you can say if the issue is related to the container and not to the codecs.
 
  


Reply

Tags
capture sound, ffmpeg, pulseaudio


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ffmpeg recording desktop audio properly CQ1ST Linux - Desktop 4 09-21-2011 05:09 AM
recording desktop with ffmpeg tchino Linux - Newbie 6 04-29-2011 03:41 PM
suse 9.0/9.1 hardisk clicking sounds mshahwan Linux - Hardware 4 08-21-2004 02:30 AM
Recorded audio sounds horrible, but the untouched line-in sounds ok? justin218 Linux - Newbie 1 10-14-2003 05:11 PM


All times are GMT -5. The time now is 01:21 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration